diff options
author | Fawzi Mohamed <fawzi.mohamed@digia.com> | 2013-01-15 18:54:46 +0100 |
---|---|---|
committer | Fawzi Mohamed <fawzi.mohamed@digia.com> | 2013-01-16 15:46:10 +0100 |
commit | 7ae32b13319d6dd419d717d557320eb4fa6ef7ca (patch) | |
tree | 47c0c15e6e6d57e172fe7674986552122bfa5b7b /tests/auto/qml/qmldesigner/coretests/coretests.pro | |
parent | 2f26e24b86e637826cc6e5a2eab3717b46d886dd (diff) |
qmldesigner: fixing tests
Change-Id: I2d98ea04860dfab083234904aa83f96cf6790472
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Diffstat (limited to 'tests/auto/qml/qmldesigner/coretests/coretests.pro')
-rw-r--r-- | tests/auto/qml/qmldesigner/coretests/coretests.pro | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/tests/auto/qml/qmldesigner/coretests/coretests.pro b/tests/auto/qml/qmldesigner/coretests/coretests.pro index 3bdf912656a..8924538412f 100644 --- a/tests/auto/qml/qmldesigner/coretests/coretests.pro +++ b/tests/auto/qml/qmldesigner/coretests/coretests.pro @@ -12,12 +12,20 @@ LIBS += -L$$IDE_LIBRARY_PATH unix: QMAKE_LFLAGS += \'-Wl,-rpath,$${IDE_LIBRARY_PATH}\' \'-Wl,-rpath,$${IDE_PLUGIN_PATH}/QtProject\' QT += script \ - network \ - webkit + network + +greaterThan(QT_MAJOR_VERSION, 4) { + QT += printsupport + !isEmpty(QT.webkitwidgets.name): QT += webkitwidgets webkit + else: DEFINES += QT_NO_WEBKIT +} else { + contains(QT_CONFIG, webkit): QT += webkit +} + # DEFINES+=QTCREATOR_UTILS_STATIC_LIB QML_BUILD_STATIC_LIB DEFINES+=QTCREATORDIR=\\\"$$IDE_BUILD_TREE\\\" -DEFINES+=QT_CREATOR QTCREATOR_TEST +DEFINES+=QT_CREATOR QTCREATOR_TEST QMLDESIGNER_TEST INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/designercore/include INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/designercore |