From f80499ecd83f68f2dd5a06702aeeeec29c4a8116 Mon Sep 17 00:00:00 2001 From: petrushka Date: Wed, 10 Apr 2013 11:58:13 +0400 Subject: [PATCH] Fix: don't include Qt5 webkit widget headers --- ext/jasmine-webkit-specrunner/common.pri | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ext/jasmine-webkit-specrunner/common.pri b/ext/jasmine-webkit-specrunner/common.pri index b80fe37..4c4e6f7 100644 --- a/ext/jasmine-webkit-specrunner/common.pri +++ b/ext/jasmine-webkit-specrunner/common.pri @@ -1,7 +1,12 @@ TEMPLATE = app CONFIG -= app_bundle QMAKE_INFO_PLIST = Info.plist -QT += network webkit +QT += network +greaterThan(QT_MAJOR_VERSION, 4) { + QT += webkitwidgets +} else { + QT += webkit +} SOURCES = Page.cpp Runner.cpp HEADERS = Page.h Runner.h