aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface.pro')
-rw-r--r--subsurface.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/subsurface.pro b/subsurface.pro
index d230b3885..067a24ee2 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -1,6 +1,11 @@
include(subsurface-configure.pri)
-QT = core gui network webkit svg
+QT = core gui network svg
+lessThan(QT_MAJOR_VERSION, 5) {
+ QT += webkit
+} else {
+ QT += webkitwidgets
+}
INCLUDEPATH += qt-ui $$PWD
mac: TARGET = Subsurface