[PATCH 01/13] Use the right Qt-module when building with Qt5

Anton Lundin glance at acc.umu.se
Wed Jan 15 00:30:32 UTC 2014


Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 subsurface.pro | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/subsurface.pro b/subsurface.pro
index d230b38..067a24e 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
-- 
1.8.3.2



More information about the subsurface mailing list