summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-01-15 09:30:32 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-15 15:49:42 +0700
commit29a714acc33e5fffbb8dc8079947e8eb2d600e16 (patch)
treeb2dc0ba089976812574923aa05130559ca740482 /subsurface.pro
parent93c73ccc6815e1980a5300c75803d98aedb55b70 (diff)
downloadsubsurface-29a714acc33e5fffbb8dc8079947e8eb2d600e16.tar.gz
Use the right Qt-module when building with Qt5
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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