From 29a714acc33e5fffbb8dc8079947e8eb2d600e16 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 15 Jan 2014 09:30:32 +0100 Subject: [PATCH] Use the right Qt-module when building with Qt5 Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- subsurface.pro | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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