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