Fix building with Qt 4.7 on Linux

remotes/origin/falkon
David Rosca 12 years ago
parent 2c0582b9a1
commit 55b9f2c515
  1. 13
      src/lib/plugins/qtwebkit/qtwebkit-plugins.pri

@ -1,10 +1,15 @@
# Unix
!mac:unix {
buildNotifications = true
contains(DEFINES, USE_QTWEBKIT_2_2) {
buildNotifications = true
contains(DEFINES, USE_QTWEBKIT_2_3):system(pkg-config --exists hunspell) {
buildSpellcheck = true
LIBS += $$system(pkg-config --libs hunspell)
contains(DEFINES, USE_QTWEBKIT_2_3):system(pkg-config --exists hunspell) {
buildSpellcheck = true
LIBS += $$system(pkg-config --libs hunspell)
}
}
else {
buildPlugin = false
}
}

Loading…
Cancel
Save