Signed-off-by: Anton Lundin <[email protected]>
---
 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

_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to