diff --git a/qtcreator.pri b/qtcreator.pri index af4a50f2b0c2c92935ca0dcbc186e3a52caecd0e..63b48569f0bb7a0a6a70f6d6c418ced1bc035067 100644 --- a/qtcreator.pri +++ b/qtcreator.pri @@ -72,8 +72,6 @@ defineTest(minQtVersion) { isEqual(QT_MAJOR_VERSION, 5) { -QTESTLIB = testlib - # For use in custom compilers which just copy files defineReplace(stripSrcDir) { return($$relative_path($$absolute_path($$1, $$OUT_PWD), $$_PRO_FILE_PWD_)) @@ -81,8 +79,6 @@ defineReplace(stripSrcDir) { } else { # qt5 -QTESTLIB = qtestlib - # For use in custom compilers which just copy files win32:i_flag = i defineReplace(stripSrcDir) { diff --git a/tests/auto/icheckbuild/icheckbuild.pro b/tests/auto/icheckbuild/icheckbuild.pro index ad4aabf2954b28b149369080423e0ce1cb2a8b71..e7ea6b4b960a84561e6ca0a3d4c02923800bc0a2 100644 --- a/tests/auto/icheckbuild/icheckbuild.pro +++ b/tests/auto/icheckbuild/icheckbuild.pro @@ -4,7 +4,7 @@ include(../../../qtcreator.pri) include($$IDE_SOURCE_TREE/src/libs/cplusplus/cplusplus.pri) include($$IDE_SOURCE_TREE/src/plugins/cpptools/cpptools.pri) -QT += $$QTESTLIB +QT += testlib DEFINES += ICHECK_BUILD ICHECK_APP_BUILD diff --git a/tests/auto/qml/qmldesigner/bauhaustests/bauhaustests.pro b/tests/auto/qml/qmldesigner/bauhaustests/bauhaustests.pro index 6a74a83c60976a45012a364e554cb268271e4756..b7184762b83b2c795796bc93e9c73515ee2fcc8e 100644 --- a/tests/auto/qml/qmldesigner/bauhaustests/bauhaustests.pro +++ b/tests/auto/qml/qmldesigner/bauhaustests/bauhaustests.pro @@ -1,6 +1,6 @@ include(../../../../../qtcreator.pri) #include(../../../../../src/plugins/qmldesigner/config.pri) -QT += $$QTESTLIB +QT += testlib CONFIG += testcase ##DEFINES += DONT_MESS_WITH_QDEBUG diff --git a/tests/auto/qml/qmldesigner/propertyeditortests/propertyeditortests.pro b/tests/auto/qml/qmldesigner/propertyeditortests/propertyeditortests.pro index f6fcad741b9f4a9a89bf7b48723f00120bfa8ac9..323ae839135b492ac8f5674ab64ad55e775d064e 100644 --- a/tests/auto/qml/qmldesigner/propertyeditortests/propertyeditortests.pro +++ b/tests/auto/qml/qmldesigner/propertyeditortests/propertyeditortests.pro @@ -1,6 +1,6 @@ include(../../../../../qtcreator.pri) TEMPLATE = app -QT += script declarative webkit $$QTESTLIB +QT += script declarative webkit testlib CONFIG += testcase CONFIG += console CONFIG -= app_bundle diff --git a/tests/auto/qml/qmleditor/qmllookup/qmllookup.pro b/tests/auto/qml/qmleditor/qmllookup/qmllookup.pro index 30e580f8eee4735b452247d82b3704282c6093c9..c80b437af3f81d7aa3809ae47506111ebf9a453f 100644 --- a/tests/auto/qml/qmleditor/qmllookup/qmllookup.pro +++ b/tests/auto/qml/qmleditor/qmllookup/qmllookup.pro @@ -1,6 +1,6 @@ include(../../../../../qtcreator.pri) TEMPLATE = app -QT += $$QTESTLIB +QT += testlib CONFIG += qt warn_on console depend_includepath testcase include(../../../../../src/libs/qmljs/qmljs-lib.pri) DEFINES += QML_BUILD_STATIC_LIB diff --git a/tests/auto/qttest.pri b/tests/auto/qttest.pri index 6e261b6ba01847c2b5919711dda61165cd742dc1..cc4ce6888cdda3aa412f97c1d31bd1bd79622c2a 100644 --- a/tests/auto/qttest.pri +++ b/tests/auto/qttest.pri @@ -2,7 +2,7 @@ include(../../qtcreator.pri) include(qttestrpath.pri) isEmpty(TEMPLATE):TEMPLATE=app -QT += $$QTESTLIB +QT += testlib CONFIG += qt warn_on console depend_includepath testcase CONFIG -= app_bundle