link against webenginewidgets module (if available)

This commit is contained in:
Martchus 2015-08-10 00:00:40 +02:00
parent bb2123a31f
commit 35d9e1c9e4
1 changed files with 10 additions and 2 deletions

View File

@ -13,8 +13,16 @@ VERSION = 1.1.5
TEMPLATE = app
QT += core gui script webkitwidgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += core gui script
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets
}
!forcewebkit:qtHaveModule(webenginewidgets) {
QT += webenginewidgets
DEFINES += TAGEDITOR_USE_WEBENGINE
} else {
QT += webkitwidgets
}
SOURCES += application/main.cpp \
application/knownfieldmodel.cpp \