summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-09-22 10:16:58 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-09-23 16:59:06 +0200
commit403213240c7b2dc09378e1cb8c147131e368f90c (patch)
treeff86910332629fe5e2fab59a30fb863a5febb366 /tests
parente0c62a48b8a826a46a143e57e94b2a0ea73c7cae (diff)
CMake: Regenerate projects to use new qt_internal_ API
Modify special case locations to use the new API as well. Clean up some stale .prev files that are not needed anymore. Clean up some project files that are not used anymore. Task-number: QTBUG-86815 Change-Id: I9947da921f98686023c6bb053dfcc101851276b5 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/concurrent/qtconcurrentfilter/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/concurrent/qtconcurrentfilter/CMakeLists.txt2
-rw-r--r--tests/auto/concurrent/qtconcurrentiteratekernel/CMakeLists.txt2
-rw-r--r--tests/auto/concurrent/qtconcurrentmap/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/concurrent/qtconcurrentmap/CMakeLists.txt2
-rw-r--r--tests/auto/concurrent/qtconcurrentmedian/CMakeLists.txt2
-rw-r--r--tests/auto/concurrent/qtconcurrentrun/CMakeLists.txt2
-rw-r--r--tests/auto/concurrent/qtconcurrenttask/CMakeLists.txt2
-rw-r--r--tests/auto/concurrent/qtconcurrentthreadengine/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/animation/qabstractanimation/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/animation/qanimationgroup/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/animation/qparallelanimationgroup/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/animation/qpauseanimation/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/animation/qpropertyanimation/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/animation/qsequentialanimationgroup/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/animation/qvariantanimation/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/q_func_info/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qflags/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qfloat16/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qgetputenv/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qglobal/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qglobalstatic/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qhooks/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qkeycombination/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qlogging/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/global/qnumeric/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/global/qrandomgenerator/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qtendian/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/global/qwinregistry/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/largefile/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qabstractfileengine/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/io/qbuffer/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qdataurl/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qdebug/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qdir/CMakeLists.txt8
-rw-r--r--tests/auto/corelib/io/qdir/testdir/dir/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qdiriterator/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/io/qfile/.prev_CMakeLists.txt16
-rw-r--r--tests/auto/corelib/io/qfile/CMakeLists.txt16
-rw-r--r--tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qfileinfo/CMakeLists.txt8
-rw-r--r--tests/auto/corelib/io/qfileselector/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/io/qfilesystementry/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qfilesystemmetadata/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qfilesystemwatcher/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qiodevice/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/io/qipaddress/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qlockfile/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/io/qlockfile/qlockfiletesthelper/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qlockfile/qlockfiletesthelper/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qloggingcategory/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qloggingregistry/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/io/qnodebug/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess-noapplication/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/fileWriterProcess/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/test/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testDetached/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testExitCodes/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testExitCodes/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testForwarding/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testForwardingHelper/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testForwardingHelper/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testGuiProcess/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessCrash/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessCrash/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessDeadWhileReading/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessDeadWhileReading/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessEOF/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessEOF/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessEcho/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessEcho/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessEcho2/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessEcho2/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessEcho3/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessEcho3/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessEchoGui/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessEchoGui/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessEnvironment/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessEnvironment/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessHang/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessHang/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessNormal/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessOutput/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessSpacesArgs/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessSpacesArgs/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/io/qprocess/testSetNamedPipeHandleState/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testSetWorkingDirectory/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocess/testSoftExit/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/io/qprocess/testSpaceInName/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qprocessenvironment/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qsavefile/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qsettings/CMakeLists.txt8
-rw-r--r--tests/auto/corelib/io/qstandardpaths/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/io/qstorageinfo/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qtemporarydir/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/io/qurl/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/io/qurlinternal/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/io/qurlquery/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/itemmodels/qabstractitemmodel/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/itemmodels/qabstractproxymodel/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/itemmodels/qconcatenatetablesproxymodel/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/itemmodels/qidentityproxymodel/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/itemmodels/qitemmodel/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/itemmodels/qitemselectionmodel/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/itemmodels/qsortfilterproxymodel_recursive/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/itemmodels/qsortfilterproxymodel_regularexpression/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/itemmodels/qstringlistmodel/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/itemmodels/qtransposeproxymodel/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qcoreapplication/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qcoreapplication/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qdeadlinetimer/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qelapsedtimer/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qeventdispatcher/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qeventloop/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/kernel/qmath/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qmetacontainer/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qmetaenum/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qmetamethod/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qmetaobject/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qmetaobjectbuilder/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qmetaproperty/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qmetatype/.prev_CMakeLists.txt38
-rw-r--r--tests/auto/corelib/kernel/qmetatype/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/kernel/qmimedata/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qobject/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qobject/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qobject/signalbug/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qpointer/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/kernel/qproperty/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qsharedmemory/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/corelib/kernel/qsharedmemory/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/kernel/qsharedmemory/producerconsumer/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qsignalblocker/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qsignalmapper/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qsocketnotifier/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/kernel/qsystemsemaphore/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qsystemsemaphore/acquirerelease/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qtimer/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/kernel/qtranslator/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/kernel/qvariant/.prev_CMakeLists.txt44
-rw-r--r--tests/auto/corelib/kernel/qvariant/CMakeLists.txt8
-rw-r--r--tests/auto/corelib/kernel/qwineventnotifier/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/.prev_CMakeLists.txt10
-rw-r--r--tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/CMakeLists.txt8
-rw-r--r--tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/.prev_CMakeLists.txt10
-rw-r--r--tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/CMakeLists.txt8
-rw-r--r--tests/auto/corelib/mimetypes/qmimetype/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/plugin/qfactoryloader/plugin1/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/plugin/qfactoryloader/plugin2/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/plugin/qfactoryloader/test/.prev_CMakeLists.txt6
-rw-r--r--tests/auto/corelib/plugin/qfactoryloader/test/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/plugin/qlibrary/lib/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/corelib/plugin/qlibrary/lib/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/plugin/qlibrary/lib2/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/plugin/qlibrary/tst/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/corelib/plugin/qlibrary/tst/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/plugin/qplugin/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/plugin/qplugin/debugplugin/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/plugin/qplugin/invalidplugin/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/plugin/qplugin/releaseplugin/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/plugin/qpluginloader/almostplugin/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/corelib/plugin/qpluginloader/almostplugin/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/plugin/qpluginloader/lib/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/corelib/plugin/qpluginloader/lib/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/plugin/qpluginloader/staticplugin/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/corelib/plugin/qpluginloader/staticplugin/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/plugin/qpluginloader/theplugin/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/plugin/qpluginloader/tst/.prev_CMakeLists.txt43
-rw-r--r--tests/auto/corelib/plugin/qpluginloader/tst/CMakeLists.txt10
-rw-r--r--tests/auto/corelib/plugin/quuid/test/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/corelib/plugin/quuid/test/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/plugin/quuid/testProcessUniqueness/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/plugin/quuid/testProcessUniqueness/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/serialization/json/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/serialization/qcborstreamreader/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/serialization/qcborstreamwriter/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/serialization/qcborvalue/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/serialization/qcborvalue_json/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/serialization/qdatastream/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/corelib/serialization/qdatastream/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/serialization/qdatastream_core_pixmap/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/serialization/qtextstream/readAllStdinProcess/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/serialization/qtextstream/readLineStdinProcess/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/serialization/qtextstream/stdinProcess/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/serialization/qtextstream/test/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/serialization/qxmlstream/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qbytearray/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/text/qbytearrayapisymmetry/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qbytearraylist/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qbytearraymatcher/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qbytearrayview/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qbytedatabuffer/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qchar/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/text/qcollator/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qlatin1string/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qlocale/syslocaleapp/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qlocale/test/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/text/qregularexpression/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qstring/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/text/qstring_no_cast_from_bytearray/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qstringapisymmetry/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qstringbuilder/qstringbuilder1/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qstringbuilder/qstringbuilder2/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qstringbuilder/qstringbuilder3/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qstringbuilder/qstringbuilder4/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qstringconverter/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qstringiterator/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qstringlist/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qstringmatcher/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qstringtokenizer/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qstringview/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/text/qtextboundaryfinder/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/thread/qatomicint/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/char/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/char16_t/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/char32_t/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/int/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/long/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/qlonglong/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/qptrdiff/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/quintptr/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/qulonglong/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/schar/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/short/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/uchar/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/uint/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/ulong/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/ushort/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicinteger/wchar_t/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qatomicpointer/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qfuture/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qfuture/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qfuturesynchronizer/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qfuturewatcher/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qmutex/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/thread/qmutexlocker/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qpromise/.prev_CMakeLists.txt12
-rw-r--r--tests/auto/corelib/thread/qpromise/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qreadlocker/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qreadwritelock/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qresultstore/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qsemaphore/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qthread/.prev_CMakeLists.txt16
-rw-r--r--tests/auto/corelib/thread/qthread/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qthreadonce/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qthreadpool/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qthreadstorage/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qthreadstorage/crashonexit/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qthreadstorage/crashonexit/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qwaitcondition/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/thread/qwritelocker/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/time/qcalendar/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/time/qdate/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/time/qdatetime/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/time/qtime/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/time/qtimezone/CMakeLists.txt6
-rw-r--r--tests/auto/corelib/tools/collections/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/collections/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/containerapisymmetry/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qalgorithms/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qarraydata/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qbitarray/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qcache/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qcommandlineparser/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qcommandlineparser/testhelper/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qcontiguouscache/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qcryptographichash/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/tools/qeasingcurve/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qexplicitlyshareddatapointer/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qflatmap/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qfreelist/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/tools/qhash/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qhash/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qhashfunctions/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qline/CMakeLists.txt4
-rw-r--r--tests/auto/corelib/tools/qlist/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qmacautoreleasepool/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qmakearray/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qmap/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qmap/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qmargins/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qmessageauthenticationcode/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qoffsetstringarray/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qpair/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qpoint/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qpointf/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qqueue/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qrect/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qringbuffer/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qscopedpointer/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qscopedvaluerollback/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qscopeguard/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qset/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qset/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qsize/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qsizef/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qstl/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qtaggedpointer/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qtimeline/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qvarlengtharray/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/qversionnumber/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusabstractadaptor/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusabstractadaptor/qmyserver/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusabstractadaptor/qmyserver/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusabstractinterface/CMakeLists.txt4
-rw-r--r--tests/auto/dbus/qdbusabstractinterface/qdbusabstractinterface/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusabstractinterface/qpinger/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusabstractinterface/qpinger/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusconnection/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusconnection_delayed/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusconnection_no_app/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusconnection_no_bus/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusconnection_no_libdbus/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusconnection_spyhook/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbuscontext/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusinterface/CMakeLists.txt6
-rw-r--r--tests/auto/dbus/qdbusinterface/qmyserver/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusinterface/qmyserver/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbuslocalcalls/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusmarshall/qdbusmarshall/.prev_CMakeLists.txt6
-rw-r--r--tests/auto/dbus/qdbusmarshall/qdbusmarshall/CMakeLists.txt6
-rw-r--r--tests/auto/dbus/qdbusmarshall/qpong/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusmetaobject/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusmetatype/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbuspendingcall/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbuspendingreply/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusreply/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusservicewatcher/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbusthreading/CMakeLists.txt2
-rw-r--r--tests/auto/dbus/qdbustype/CMakeLists.txt6
-rw-r--r--tests/auto/dbus/qdbusxmlparser/CMakeLists.txt2
-rw-r--r--tests/auto/gui/image/qicoimageformat/CMakeLists.txt4
-rw-r--r--tests/auto/gui/image/qicon/CMakeLists.txt8
-rw-r--r--tests/auto/gui/image/qiconhighdpi/CMakeLists.txt4
-rw-r--r--tests/auto/gui/image/qimage/CMakeLists.txt8
-rw-r--r--tests/auto/gui/image/qimageiohandler/CMakeLists.txt2
-rw-r--r--tests/auto/gui/image/qimagereader/CMakeLists.txt6
-rw-r--r--tests/auto/gui/image/qimagewriter/CMakeLists.txt4
-rw-r--r--tests/auto/gui/image/qmovie/CMakeLists.txt10
-rw-r--r--tests/auto/gui/image/qpicture/CMakeLists.txt2
-rw-r--r--tests/auto/gui/image/qpixmap/CMakeLists.txt8
-rw-r--r--tests/auto/gui/image/qpixmapcache/CMakeLists.txt2
-rw-r--r--tests/auto/gui/itemmodels/qfilesystemmodel/CMakeLists.txt2
-rw-r--r--tests/auto/gui/itemmodels/qstandarditem/CMakeLists.txt2
-rw-r--r--tests/auto/gui/itemmodels/qstandarditemmodel/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/noqteventloop/CMakeLists.txt4
-rw-r--r--tests/auto/gui/kernel/qaction/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qactiongroup/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qaddpostroutine/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qbackingstore/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qclipboard/copier/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qclipboard/paster/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qclipboard/paster/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qclipboard/test/.prev_CMakeLists.txt5
-rw-r--r--tests/auto/gui/kernel/qclipboard/test/CMakeLists.txt4
-rw-r--r--tests/auto/gui/kernel/qcursor/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qdrag/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qevent/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qfileopenevent/qfileopeneventexternal/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qfileopenevent/test/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qguiapplication/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/gui/kernel/qguiapplication/CMakeLists.txt4
-rw-r--r--tests/auto/gui/kernel/qguieventdispatcher/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qguieventloop/.prev_CMakeLists.txt9
-rw-r--r--tests/auto/gui/kernel/qguieventloop/CMakeLists.txt6
-rw-r--r--tests/auto/gui/kernel/qguimetatype/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qguitimer/.prev_CMakeLists.txt13
-rw-r--r--tests/auto/gui/kernel/qguitimer/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qguivariant/no_application/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qguivariant/test/CMakeLists.txt4
-rw-r--r--tests/auto/gui/kernel/qhighdpiscaling/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qinputdevice/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qinputmethod/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qkeyevent/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qkeysequence/CMakeLists.txt4
-rw-r--r--tests/auto/gui/kernel/qmouseevent/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qmouseevent_modal/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qopenglwindow/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qpalette/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qpixelformat/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qrasterwindow/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qscreen/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qshortcut/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qsurfaceformat/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qtouchevent/CMakeLists.txt2
-rw-r--r--tests/auto/gui/kernel/qwindow/CMakeLists.txt4
-rw-r--r--tests/auto/gui/math3d/qmatrixnxn/CMakeLists.txt2
-rw-r--r--tests/auto/gui/math3d/qquaternion/CMakeLists.txt2
-rw-r--r--tests/auto/gui/math3d/qvectornd/CMakeLists.txt2
-rw-r--r--tests/auto/gui/painting/qbrush/CMakeLists.txt2
-rw-r--r--tests/auto/gui/painting/qcolor/CMakeLists.txt2
-rw-r--r--tests/auto/gui/painting/qcolorspace/CMakeLists.txt4
-rw-r--r--tests/auto/gui/painting/qpagelayout/CMakeLists.txt2
-rw-r--r--tests/auto/gui/painting/qpagesize/CMakeLists.txt2
-rw-r--r--tests/auto/gui/painting/qpaintengine/CMakeLists.txt2
-rw-r--r--tests/auto/gui/painting/qpainter/CMakeLists.txt6
-rw-r--r--tests/auto/gui/painting/qpainterpath/CMakeLists.txt2
-rw-r--r--tests/auto/gui/painting/qpainterpathstroker/CMakeLists.txt2
-rw-r--r--tests/auto/gui/painting/qpathclipper/CMakeLists.txt4
-rw-r--r--tests/auto/gui/painting/qpdfwriter/CMakeLists.txt2
-rw-r--r--tests/auto/gui/painting/qpen/CMakeLists.txt2
-rw-r--r--tests/auto/gui/painting/qpolygon/CMakeLists.txt4
-rw-r--r--tests/auto/gui/painting/qrangecollection/CMakeLists.txt2
-rw-r--r--tests/auto/gui/painting/qregion/CMakeLists.txt2
-rw-r--r--tests/auto/gui/painting/qtransform/CMakeLists.txt4
-rw-r--r--tests/auto/gui/qopengl/CMakeLists.txt4
-rw-r--r--tests/auto/gui/qopenglconfig/CMakeLists.txt2
-rw-r--r--tests/auto/gui/qvulkan/CMakeLists.txt2
-rw-r--r--tests/auto/gui/rhi/qrhi/CMakeLists.txt4
-rw-r--r--tests/auto/gui/rhi/qshader/CMakeLists.txt4
-rw-r--r--tests/auto/gui/text/qabstracttextdocumentlayout/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qcssparser/CMakeLists.txt4
-rw-r--r--tests/auto/gui/text/qfont/CMakeLists.txt6
-rw-r--r--tests/auto/gui/text/qfontcache/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qfontdatabase/CMakeLists.txt4
-rw-r--r--tests/auto/gui/text/qfontmetrics/CMakeLists.txt4
-rw-r--r--tests/auto/gui/text/qglyphrun/CMakeLists.txt4
-rw-r--r--tests/auto/gui/text/qinputcontrol/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qrawfont/CMakeLists.txt4
-rw-r--r--tests/auto/gui/text/qstatictext/CMakeLists.txt4
-rw-r--r--tests/auto/gui/text/qsyntaxhighlighter/CMakeLists.txt4
-rw-r--r--tests/auto/gui/text/qtextblock/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qtextcursor/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qtextdocument/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qtextdocumentfragment/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qtextdocumentlayout/CMakeLists.txt4
-rw-r--r--tests/auto/gui/text/qtextformat/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qtextlayout/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qtextlist/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qtextmarkdownimporter/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qtextmarkdownwriter/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qtextobject/CMakeLists.txt4
-rw-r--r--tests/auto/gui/text/qtextodfwriter/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qtextpiecetable/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qtextscriptengine/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qtextscriptengine/generate/CMakeLists.txt2
-rw-r--r--tests/auto/gui/text/qtexttable/CMakeLists.txt4
-rw-r--r--tests/auto/gui/text/qzip/CMakeLists.txt4
-rw-r--r--tests/auto/gui/util/qdesktopservices/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/gui/util/qdesktopservices/CMakeLists.txt2
-rw-r--r--tests/auto/gui/util/qdoublevalidator/CMakeLists.txt2
-rw-r--r--tests/auto/gui/util/qintvalidator/CMakeLists.txt2
-rw-r--r--tests/auto/gui/util/qregularexpressionvalidator/CMakeLists.txt2
-rw-r--r--tests/auto/gui/util/qshadergenerator/CMakeLists.txt2
-rw-r--r--tests/auto/gui/util/qshadergraph/CMakeLists.txt2
-rw-r--r--tests/auto/gui/util/qshadergraphloader/CMakeLists.txt2
-rw-r--r--tests/auto/gui/util/qshadernodes/CMakeLists.txt2
-rw-r--r--tests/auto/gui/util/qshadernodesloader/CMakeLists.txt2
-rw-r--r--tests/auto/gui/util/qtexturefilereader/CMakeLists.txt4
-rw-r--r--tests/auto/gui/util/qundogroup/CMakeLists.txt2
-rw-r--r--tests/auto/gui/util/qundostack/CMakeLists.txt2
-rw-r--r--tests/auto/network/access/hpack/CMakeLists.txt2
-rw-r--r--tests/auto/network/access/hsts/CMakeLists.txt2
-rw-r--r--tests/auto/network/access/http2/CMakeLists.txt2
-rw-r--r--tests/auto/network/access/qabstractnetworkcache/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/network/access/qabstractnetworkcache/CMakeLists.txt2
-rw-r--r--tests/auto/network/access/qdecompresshelper/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/network/access/qdecompresshelper/CMakeLists.txt2
-rw-r--r--tests/auto/network/access/qhttpnetworkconnection/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/network/access/qhttpnetworkconnection/CMakeLists.txt2
-rw-r--r--tests/auto/network/access/qhttpnetworkreply/CMakeLists.txt2
-rw-r--r--tests/auto/network/access/qnetworkaccessmanager/CMakeLists.txt2
-rw-r--r--tests/auto/network/access/qnetworkcachemetadata/CMakeLists.txt2
-rw-r--r--tests/auto/network/access/qnetworkcookie/CMakeLists.txt2
-rw-r--r--tests/auto/network/access/qnetworkcookiejar/CMakeLists.txt2
-rw-r--r--tests/auto/network/access/qnetworkdiskcache/CMakeLists.txt2
-rw-r--r--tests/auto/network/access/qnetworkreply/echo/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/network/access/qnetworkreply/echo/CMakeLists.txt2
-rw-r--r--tests/auto/network/access/qnetworkreply/test/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/network/access/qnetworkreply/test/CMakeLists.txt4
-rw-r--r--tests/auto/network/access/qnetworkrequest/CMakeLists.txt2
-rw-r--r--tests/auto/network/kernel/qauthenticator/CMakeLists.txt2
-rw-r--r--tests/auto/network/kernel/qdnslookup/CMakeLists.txt2
-rw-r--r--tests/auto/network/kernel/qdnslookup_appless/CMakeLists.txt2
-rw-r--r--tests/auto/network/kernel/qhostaddress/CMakeLists.txt4
-rw-r--r--tests/auto/network/kernel/qhostinfo/CMakeLists.txt4
-rw-r--r--tests/auto/network/kernel/qnetworkaddressentry/CMakeLists.txt2
-rw-r--r--tests/auto/network/kernel/qnetworkdatagram/CMakeLists.txt2
-rw-r--r--tests/auto/network/kernel/qnetworkinterface/CMakeLists.txt2
-rw-r--r--tests/auto/network/kernel/qnetworkproxy/CMakeLists.txt2
-rw-r--r--tests/auto/network/kernel/qnetworkproxyfactory/CMakeLists.txt2
-rw-r--r--tests/auto/network/socket/platformsocketengine/CMakeLists.txt4
-rw-r--r--tests/auto/network/socket/qabstractsocket/CMakeLists.txt2
-rw-r--r--tests/auto/network/socket/qhttpsocketengine/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/network/socket/qhttpsocketengine/CMakeLists.txt4
-rw-r--r--tests/auto/network/socket/qlocalsocket/socketprocess/CMakeLists.txt2
-rw-r--r--tests/auto/network/socket/qlocalsocket/test/CMakeLists.txt2
-rw-r--r--tests/auto/network/socket/qsctpsocket/CMakeLists.txt2
-rw-r--r--tests/auto/network/socket/qsocks5socketengine/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/network/socket/qsocks5socketengine/CMakeLists.txt4
-rw-r--r--tests/auto/network/socket/qtcpserver/crashingServer/CMakeLists.txt2
-rw-r--r--tests/auto/network/socket/qtcpserver/test/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/network/socket/qtcpserver/test/CMakeLists.txt4
-rw-r--r--tests/auto/network/socket/qtcpsocket/stressTest/CMakeLists.txt2
-rw-r--r--tests/auto/network/socket/qtcpsocket/test/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/network/socket/qtcpsocket/test/CMakeLists.txt4
-rw-r--r--tests/auto/network/socket/qudpsocket/clientserver/CMakeLists.txt2
-rw-r--r--tests/auto/network/socket/qudpsocket/test/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/network/socket/qudpsocket/test/CMakeLists.txt2
-rw-r--r--tests/auto/network/socket/qudpsocket/udpServer/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/network/socket/qudpsocket/udpServer/CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qasn1element/CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qdtls/CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qdtlscookie/CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qocsp/CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qpassworddigestor/CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qsslcertificate/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qsslcertificate/CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qsslcipher/CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qssldiffiehellmanparameters/CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qsslellipticcurve/CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qsslerror/CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qsslkey/CMakeLists.txt4
-rw-r--r--tests/auto/network/ssl/qsslsocket/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qsslsocket/CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qsslsocket_onDemandCertificates_member/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qsslsocket_onDemandCertificates_member/CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qsslsocket_onDemandCertificates_static/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/network/ssl/qsslsocket_onDemandCertificates_static/CMakeLists.txt2
-rw-r--r--tests/auto/other/android/CMakeLists.txt2
-rw-r--r--tests/auto/other/compiler/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/other/compiler/CMakeLists.txt2
-rw-r--r--tests/auto/other/gestures/CMakeLists.txt2
-rw-r--r--tests/auto/other/lancelot/CMakeLists.txt6
-rw-r--r--tests/auto/other/languagechange/CMakeLists.txt2
-rw-r--r--tests/auto/other/macgui/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/other/macgui/CMakeLists.txt4
-rw-r--r--tests/auto/other/macnativeevents/CMakeLists.txt2
-rw-r--r--tests/auto/other/macplist/app/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/other/macplist/app/CMakeLists.txt2
-rw-r--r--tests/auto/other/macplist/test/CMakeLists.txt2
-rw-r--r--tests/auto/other/networkselftest/CMakeLists.txt2
-rw-r--r--tests/auto/other/qaccessibility/.prev_CMakeLists.txt6
-rw-r--r--tests/auto/other/qaccessibility/CMakeLists.txt6
-rw-r--r--tests/auto/other/qaccessibilitylinux/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/other/qaccessibilitylinux/CMakeLists.txt2
-rw-r--r--tests/auto/other/qaccessibilitymac/CMakeLists.txt4
-rw-r--r--tests/auto/other/qcomplextext/CMakeLists.txt6
-rw-r--r--tests/auto/other/qfocusevent/CMakeLists.txt2
-rw-r--r--tests/auto/other/qnetworkaccessmanager_and_qprogressdialog/CMakeLists.txt2
-rw-r--r--tests/auto/other/qobjectrace/CMakeLists.txt2
-rw-r--r--tests/auto/other/qprocess_and_guieventloop/CMakeLists.txt2
-rw-r--r--tests/auto/other/qprocess_and_guieventloop/write-read-write/CMakeLists.txt2
-rw-r--r--tests/auto/other/qsharedpointer_and_qwidget/CMakeLists.txt2
-rw-r--r--tests/auto/other/qtokenautomaton/CMakeLists.txt16
-rw-r--r--tests/auto/other/toolsupport/CMakeLists.txt2
-rw-r--r--tests/auto/other/xkbkeyboard/CMakeLists.txt2
-rw-r--r--tests/auto/printsupport/dialogs/qabstractprintdialog/CMakeLists.txt2
-rw-r--r--tests/auto/printsupport/kernel/qprintdevice/CMakeLists.txt2
-rw-r--r--tests/auto/printsupport/kernel/qprinter/CMakeLists.txt2
-rw-r--r--tests/auto/printsupport/kernel/qprinterinfo/CMakeLists.txt2
-rw-r--r--tests/auto/sql/kernel/qsql/CMakeLists.txt2
-rw-r--r--tests/auto/sql/kernel/qsqldatabase/CMakeLists.txt2
-rw-r--r--tests/auto/sql/kernel/qsqldriver/CMakeLists.txt2
-rw-r--r--tests/auto/sql/kernel/qsqlerror/CMakeLists.txt2
-rw-r--r--tests/auto/sql/kernel/qsqlfield/CMakeLists.txt2
-rw-r--r--tests/auto/sql/kernel/qsqlquery/CMakeLists.txt2
-rw-r--r--tests/auto/sql/kernel/qsqlrecord/CMakeLists.txt2
-rw-r--r--tests/auto/sql/kernel/qsqlresult/CMakeLists.txt2
-rw-r--r--tests/auto/sql/kernel/qsqlthread/CMakeLists.txt2
-rw-r--r--tests/auto/sql/models/qsqlquerymodel/CMakeLists.txt2
-rw-r--r--tests/auto/sql/models/qsqlrelationaldelegate/CMakeLists.txt2
-rw-r--r--tests/auto/sql/models/qsqlrelationaltablemodel/CMakeLists.txt2
-rw-r--r--tests/auto/sql/models/qsqltablemodel/CMakeLists.txt2
-rw-r--r--tests/auto/testlib/qabstractitemmodeltester/CMakeLists.txt2
-rw-r--r--tests/auto/testlib/qsignalspy/CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/CMakeLists.txt8
-rw-r--r--tests/auto/testlib/selftests/assert/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/assert/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/badxml/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/badxml/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/benchlibcallgrind/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/benchlibcallgrind/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/benchlibcounting/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/benchlibcounting/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/benchlibeventcounter/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/benchlibeventcounter/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/benchliboptions/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/benchliboptions/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/benchlibtickcounter/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/benchlibtickcounter/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/benchlibwalltime/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/benchlibwalltime/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/blacklisted/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/blacklisted/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/cmptest/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/cmptest/CMakeLists.txt6
-rw-r--r--tests/auto/testlib/selftests/commandlinedata/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/commandlinedata/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/counting/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/counting/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/crashes/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/crashes/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/datatable/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/datatable/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/datetime/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/datetime/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/deleteLater/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/deleteLater/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/deleteLater_noApp/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/deleteLater_noApp/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/differentexec/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/differentexec/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/exceptionthrow/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/exceptionthrow/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/expectfail/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/expectfail/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/failcleanup/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/failcleanup/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/faildatatype/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/faildatatype/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/failfetchtype/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/failfetchtype/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/failinit/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/failinit/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/failinitdata/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/failinitdata/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/fetchbogus/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/fetchbogus/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/findtestdata/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/findtestdata/CMakeLists.txt6
-rw-r--r--tests/auto/testlib/selftests/float/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/float/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/globaldata/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/globaldata/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/keyboard/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/keyboard/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/longstring/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/longstring/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/maxwarnings/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/maxwarnings/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/mouse/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/mouse/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/multiexec/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/multiexec/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/pairdiagnostics/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/pairdiagnostics/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/pass/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/pass/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/printdatatags/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/printdatatags/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/printdatatagswithglobaltags/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/printdatatagswithglobaltags/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/qexecstringlist/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/qexecstringlist/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/signaldumper/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/signaldumper/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/silent/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/silent/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/singleskip/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/singleskip/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/skip/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/skip/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/skipcleanup/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/skipcleanup/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/skipinit/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/skipinit/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/skipinitdata/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/skipinitdata/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/sleep/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/sleep/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/strcmp/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/strcmp/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/subtest/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/subtest/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/testlib/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/testlib/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/tuplediagnostics/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/tuplediagnostics/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/verbose1/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/verbose1/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/verbose2/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/verbose2/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/verifyexceptionthrown/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/verifyexceptionthrown/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/warnings/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/warnings/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/watchdog/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/watchdog/CMakeLists.txt4
-rw-r--r--tests/auto/testlib/selftests/xunit/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/testlib/selftests/xunit/CMakeLists.txt4
-rw-r--r--tests/auto/tools/moc/CMakeLists.txt18
-rw-r--r--tests/auto/tools/qdbuscpp2xml/CMakeLists.txt4
-rw-r--r--tests/auto/tools/qdbusxml2cpp/CMakeLists.txt2
-rw-r--r--tests/auto/tools/qmake/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/tools/qmake/CMakeLists.txt2
-rw-r--r--tests/auto/tools/qmakelib/CMakeLists.txt4
-rw-r--r--tests/auto/tools/rcc/CMakeLists.txt10
-rw-r--r--tests/auto/tools/uic/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/dialogs/qcolordialog/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/dialogs/qdialog/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/dialogs/qerrormessage/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/dialogs/qfiledialog/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/dialogs/qfiledialog2/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/dialogs/qfontdialog/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/dialogs/qinputdialog/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/dialogs/qmessagebox/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/dialogs/qprogressdialog/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/dialogs/qsidebar/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/dialogs/qwizard/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/effects/qgraphicseffect/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/effects/qpixmapfilter/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsanchorlayout/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsanchorlayout1/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicseffectsource/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsgridlayout/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsitem/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsitemanimation/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicslayout/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicslayoutitem/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicslinearlayout/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsobject/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicspixmapitem/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicspolygonitem/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsproxywidget/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsscene/.prev_CMakeLists.txt8
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsscene/CMakeLists.txt8
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicssceneindex/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicstransform/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsview/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicswidget/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/itemviews/qabstractitemview/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/itemviews/qcolumnview/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/itemviews/qdatawidgetmapper/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/itemviews/qfileiconprovider/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/itemviews/qheaderview/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/itemviews/qitemdelegate/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/itemviews/qitemeditorfactory/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/itemviews/qitemview/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/itemviews/qlistview/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/itemviews/qlistwidget/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/itemviews/qtableview/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/itemviews/qtablewidget/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/itemviews/qtreeview/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/itemviews/qtreewidget/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/itemviews/qtreewidgetitemiterator/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qaction/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qactiongroup/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qapplication/desktopsettingsaware/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qapplication/desktopsettingsaware/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qapplication/modal/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qapplication/modal/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qapplication/test/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/widgets/kernel/qapplication/test/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/kernel/qboxlayout/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qformlayout/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qgesturerecognizer/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qgridlayout/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qlayout/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/kernel/qshortcut/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qsizepolicy/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qstackedlayout/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qtooltip/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qwidget/CMakeLists.txt10
-rw-r--r--tests/auto/widgets/kernel/qwidget_window/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qwidgetaction/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qwidgetmetatype/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qwidgetsvariant/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/kernel/qwindowcontainer/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/styles/qmacstyle/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/styles/qstyle/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/styles/qstyleoption/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/styles/qstylesheetstyle/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/util/qcompleter/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/util/qscroller/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/util/qsystemtrayicon/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qabstractbutton/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qabstractscrollarea/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qabstractslider/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qabstractspinbox/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qbuttongroup/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qcalendarwidget/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qcheckbox/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qcombobox/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qcommandlinkbutton/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qdatetimeedit/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qdial/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qdialogbuttonbox/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qdockwidget/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qdoublespinbox/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qfocusframe/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qfontcombobox/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qframe/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qframe/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qgroupbox/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qkeysequenceedit/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qlabel/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qlcdnumber/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qlineedit/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/widgets/qmainwindow/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qmdiarea/CMakeLists.txt6
-rw-r--r--tests/auto/widgets/widgets/qmdisubwindow/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qmenu/CMakeLists.txt6
-rw-r--r--tests/auto/widgets/widgets/qmenubar/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/widgets/qopenglwidget/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qopenglwidget/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qplaintextedit/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/widgets/qprogressbar/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qpushbutton/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qradiobutton/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qscrollarea/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qscrollbar/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qsizegrip/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qslider/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qspinbox/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qsplashscreen/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qsplitter/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qstackedwidget/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qstatusbar/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qtabbar/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qtabwidget/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/widgets/qtextbrowser/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/widgets/qtextedit/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/widgets/qtoolbar/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qtoolbox/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/widgets/qtoolbutton/CMakeLists.txt2
-rw-r--r--tests/auto/xml/dom/qdom/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qdir/10000/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qdir/tree/CMakeLists.txt4
-rw-r--r--tests/benchmarks/corelib/io/qdiriterator/CMakeLists.txt4
-rw-r--r--tests/benchmarks/corelib/io/qfile/CMakeLists.txt4
-rw-r--r--tests/benchmarks/corelib/io/qfileinfo/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qiodevice/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qprocess/test/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qprocess/testProcessLoopback/.prev_CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qprocess/testProcessLoopback/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qtemporaryfile/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qtextstream/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qurl/CMakeLists.txt4
-rw-r--r--tests/benchmarks/corelib/json/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/kernel/events/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/kernel/qcoreapplication/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/kernel/qmetaobject/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/kernel/qmetatype/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/kernel/qobject/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/kernel/qtimer_vs_qmetaobject/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/kernel/qvariant/CMakeLists.txt4
-rw-r--r--tests/benchmarks/corelib/mimetypes/qmimedatabase/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/plugin/quuid/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/text/qbytearray/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/text/qchar/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/text/qlocale/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/text/qstring/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/text/qstringbuilder/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/text/qstringlist/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/thread/qmutex/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/thread/qreadwritelock/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/thread/qthreadpool/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/thread/qthreadstorage/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/thread/qwaitcondition/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/time/qdate/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/time/qdatetime/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/time/qtimezone/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/tools/containers-associative/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/tools/containers-sequential/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/tools/qchar/CMakeLists.txt1
-rw-r--r--tests/benchmarks/corelib/tools/qcontiguouscache/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/tools/qcryptographichash/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/tools/qdatetime/CMakeLists.txt1
-rw-r--r--tests/benchmarks/corelib/tools/qhash/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/tools/qlist/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/tools/qlocale/CMakeLists.txt1
-rw-r--r--tests/benchmarks/corelib/tools/qmap/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/tools/qrect/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/tools/qringbuffer/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/tools/qset/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/tools/qstack/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/tools/qstring/CMakeLists.txt1
-rw-r--r--tests/benchmarks/corelib/tools/qtimezone/CMakeLists.txt1
-rw-r--r--tests/benchmarks/corelib/tools/qvector/CMakeLists.txt2
-rw-r--r--tests/benchmarks/dbus/qdbusperformance/server/CMakeLists.txt2
-rw-r--r--tests/benchmarks/dbus/qdbusperformance/test/CMakeLists.txt2
-rw-r--r--tests/benchmarks/dbus/qdbustype/CMakeLists.txt6
-rw-r--r--tests/benchmarks/gui/animation/qanimation/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/image/blendbench/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/image/qimageconversion/CMakeLists.txt6
-rw-r--r--tests/benchmarks/gui/image/qimagereader/CMakeLists.txt6
-rw-r--r--tests/benchmarks/gui/image/qimagescale/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/image/qpixmap/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/image/qpixmapcache/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/kernel/qguimetatype/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/kernel/qguivariant/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/math3d/qmatrix4x4/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/math3d/qquaternion/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/painting/drawtexture/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/painting/lancebench/CMakeLists.txt6
-rw-r--r--tests/benchmarks/gui/painting/qcolor/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/painting/qpainter/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/painting/qregion/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/painting/qtbench/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/painting/qtransform/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/text/qfontmetrics/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/text/qtext/CMakeLists.txt2
-rw-r--r--tests/benchmarks/gui/text/qtextdocument/CMakeLists.txt2
-rw-r--r--tests/benchmarks/network/access/qdecompresshelper/.prev_CMakeLists.txt2
-rw-r--r--tests/benchmarks/network/access/qdecompresshelper/CMakeLists.txt2
-rw-r--r--tests/benchmarks/network/access/qfile_vs_qnetworkaccessmanager/CMakeLists.txt2
-rw-r--r--tests/benchmarks/network/access/qnetworkdiskcache/CMakeLists.txt2
-rw-r--r--tests/benchmarks/network/access/qnetworkreply/CMakeLists.txt2
-rw-r--r--tests/benchmarks/network/access/qnetworkreply_from_cache/CMakeLists.txt2
-rw-r--r--tests/benchmarks/network/kernel/qhostinfo/CMakeLists.txt2
-rw-r--r--tests/benchmarks/network/socket/qtcpserver/CMakeLists.txt2
-rw-r--r--tests/benchmarks/network/socket/qudpsocket/CMakeLists.txt2
-rw-r--r--tests/benchmarks/network/ssl/qsslsocket/CMakeLists.txt2
-rw-r--r--tests/benchmarks/plugins/imageformats/jpeg/CMakeLists.txt2
-rw-r--r--tests/benchmarks/sql/kernel/qsqlquery/CMakeLists.txt2
-rw-r--r--tests/benchmarks/sql/kernel/qsqlrecord/CMakeLists.txt2
-rw-r--r--tests/benchmarks/testlib/tostring/CMakeLists.txt2
-rw-r--r--tests/benchmarks/widgets/graphicsview/functional/GraphicsViewBenchmark/CMakeLists.txt12
-rw-r--r--tests/benchmarks/widgets/graphicsview/qgraphicsanchorlayout/CMakeLists.txt2
-rw-r--r--tests/benchmarks/widgets/graphicsview/qgraphicsitem/CMakeLists.txt2
-rw-r--r--tests/benchmarks/widgets/graphicsview/qgraphicslayout/CMakeLists.txt2
-rw-r--r--tests/benchmarks/widgets/graphicsview/qgraphicslinearlayout/CMakeLists.txt2
-rw-r--r--tests/benchmarks/widgets/graphicsview/qgraphicsscene/CMakeLists.txt2
-rw-r--r--tests/benchmarks/widgets/graphicsview/qgraphicsview/CMakeLists.txt8
-rw-r--r--tests/benchmarks/widgets/graphicsview/qgraphicsview/benchapps/chipTest/CMakeLists.txt6
-rw-r--r--tests/benchmarks/widgets/graphicsview/qgraphicsview/benchapps/moveItems/CMakeLists.txt2
-rw-r--r--tests/benchmarks/widgets/graphicsview/qgraphicsview/benchapps/scrolltest/CMakeLists.txt2
-rw-r--r--tests/benchmarks/widgets/graphicsview/qgraphicswidget/CMakeLists.txt2
-rw-r--r--tests/benchmarks/widgets/itemviews/qheaderview/CMakeLists.txt2
-rw-r--r--tests/benchmarks/widgets/itemviews/qlistview/CMakeLists.txt2
-rw-r--r--tests/benchmarks/widgets/itemviews/qtableview/CMakeLists.txt2
-rw-r--r--tests/benchmarks/widgets/kernel/qapplication/CMakeLists.txt2
-rw-r--r--tests/benchmarks/widgets/kernel/qwidget/CMakeLists.txt2
-rw-r--r--tests/benchmarks/widgets/styles/qstylesheetstyle/CMakeLists.txt2
-rw-r--r--tests/benchmarks/widgets/widgets/qtextbrowser/CMakeLists.txt2
-rw-r--r--tests/libfuzzer/corelib/text/qregularexpression/optimize/CMakeLists.txt6
-rw-r--r--tests/libfuzzer/gui/painting/qcolorspace/fromiccprofile/CMakeLists.txt6
-rw-r--r--tests/libfuzzer/gui/text/qtextdocument/sethtml/CMakeLists.txt6
-rw-r--r--tests/libfuzzer/gui/text/qtextdocument/setmarkdown/CMakeLists.txt6
-rw-r--r--tests/libfuzzer/gui/text/qtextlayout/beginlayout/CMakeLists.txt6
-rw-r--r--tests/manual/cocoa/appicon/CMakeLists.txt2
-rw-r--r--tests/manual/cocoa/menurama/CMakeLists.txt2
-rw-r--r--tests/manual/cocoa/menus/CMakeLists.txt2
-rw-r--r--tests/manual/cocoa/nativewidgets/CMakeLists.txt2
-rw-r--r--tests/manual/cocoa/popups/CMakeLists.txt2
-rw-r--r--tests/manual/cocoa/qsystemtrayicon/CMakeLists.txt4
-rw-r--r--tests/manual/cocoa/qt_on_cocoa/CMakeLists.txt2
-rw-r--r--tests/manual/cocoa/wheelevent/CMakeLists.txt2
-rw-r--r--tests/manual/dialogs/CMakeLists.txt6
-rw-r--r--tests/manual/embeddedintoforeignwindow/CMakeLists.txt10
-rw-r--r--tests/manual/filetest/CMakeLists.txt2
-rw-r--r--tests/manual/foreignwindows/CMakeLists.txt10
-rw-r--r--tests/manual/gestures/graphicsview/CMakeLists.txt2
-rw-r--r--tests/manual/gestures/scrollarea/CMakeLists.txt2
-rw-r--r--tests/manual/highdpi/CMakeLists.txt4
-rw-r--r--tests/manual/inputmethodhints/CMakeLists.txt2
-rw-r--r--tests/manual/keypadnavigation/CMakeLists.txt2
-rw-r--r--tests/manual/lance/CMakeLists.txt8
-rw-r--r--tests/manual/markdown/CMakeLists.txt2
-rw-r--r--tests/manual/network_remote_stresstest/CMakeLists.txt4
-rw-r--r--tests/manual/network_stresstest/CMakeLists.txt4
-rw-r--r--tests/manual/qcursor/allcursors/CMakeLists.txt2
-rw-r--r--tests/manual/qcursor/childwidget/CMakeLists.txt2
-rw-r--r--tests/manual/qcursor/childwindow/CMakeLists.txt2
-rw-r--r--tests/manual/qcursor/childwindowcontainer/CMakeLists.txt2
-rw-r--r--tests/manual/qcursor/grab_override/CMakeLists.txt4
-rw-r--r--tests/manual/qcursor/qcursorhighdpi/CMakeLists.txt4
-rw-r--r--tests/manual/qdesktopservices/CMakeLists.txt2
-rw-r--r--tests/manual/qgraphicsitem/CMakeLists.txt2
-rw-r--r--tests/manual/qgraphicsitemgroup/CMakeLists.txt2
-rw-r--r--tests/manual/qgraphicslayout/flicker/CMakeLists.txt2
-rw-r--r--tests/manual/qhttpnetworkconnection/CMakeLists.txt2
-rw-r--r--tests/manual/qimagereader/CMakeLists.txt2
-rw-r--r--tests/manual/qlayout/CMakeLists.txt2
-rw-r--r--tests/manual/qlocale/CMakeLists.txt2
-rw-r--r--tests/manual/qmetatype/CMakeLists.txt2
-rw-r--r--tests/manual/qmimedatabase/CMakeLists.txt2
-rw-r--r--tests/manual/qnetconmonitor/.prev_CMakeLists.txt2
-rw-r--r--tests/manual/qnetconmonitor/CMakeLists.txt2
-rw-r--r--tests/manual/qnetworkaccessmanager/qget/CMakeLists.txt2
-rw-r--r--tests/manual/qnetworkreply/.prev_CMakeLists.txt2
-rw-r--r--tests/manual/qnetworkreply/CMakeLists.txt2
-rw-r--r--tests/manual/qopenglcontext/CMakeLists.txt2
-rw-r--r--tests/manual/qopengltextureblitter/.prev_CMakeLists.txt2
-rw-r--r--tests/manual/qopengltextureblitter/CMakeLists.txt2
-rw-r--r--tests/manual/qopenglwidget/openglwidget/CMakeLists.txt2
-rw-r--r--tests/manual/qopenglwindow/multiwindow/CMakeLists.txt2
-rw-r--r--tests/manual/qprintdevice_dump/CMakeLists.txt2
-rw-r--r--tests/manual/qscreen/CMakeLists.txt2
-rw-r--r--tests/manual/qssloptions/CMakeLists.txt2
-rw-r--r--tests/manual/qsslsocket/CMakeLists.txt2
-rw-r--r--tests/manual/qstorageinfo/CMakeLists.txt2
-rw-r--r--tests/manual/qsysinfo/CMakeLists.txt2
-rw-r--r--tests/manual/qt_poll/CMakeLists.txt2
-rw-r--r--tests/manual/qtabbar/CMakeLists.txt2
-rw-r--r--tests/manual/qtabletevent/device_information/CMakeLists.txt2
-rw-r--r--tests/manual/qtabletevent/event_compression/CMakeLists.txt2
-rw-r--r--tests/manual/qtabletevent/regular_widgets/CMakeLists.txt2
-rw-r--r--tests/manual/qtbug-52641/CMakeLists.txt2
-rw-r--r--tests/manual/qtbug-8933/CMakeLists.txt2
-rw-r--r--tests/manual/qtexteditlist/CMakeLists.txt2
-rw-r--r--tests/manual/qtexttableborders/CMakeLists.txt4
-rw-r--r--tests/manual/qtouchevent/CMakeLists.txt2
-rw-r--r--tests/manual/qvulkaninstance/CMakeLists.txt2
-rw-r--r--tests/manual/qwidget_zorder/CMakeLists.txt2
-rw-r--r--tests/manual/repaint/mainwindow/CMakeLists.txt2
-rw-r--r--tests/manual/repaint/scrollarea/CMakeLists.txt2
-rw-r--r--tests/manual/repaint/splitter/CMakeLists.txt2
-rw-r--r--tests/manual/repaint/tableview/CMakeLists.txt2
-rw-r--r--tests/manual/repaint/task141091/CMakeLists.txt2
-rw-r--r--tests/manual/repaint/toplevel/CMakeLists.txt2
-rw-r--r--tests/manual/repaint/widget/CMakeLists.txt2
-rw-r--r--tests/manual/rhi/compressedtexture_bc1/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/compressedtexture_bc1_subupload/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/computebuffer/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/computeimage/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/cubemap/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/cubemap_render/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/cubemap_scissor/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/float16texture_with_compute/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/floattexture/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/hellominimalcrossgfxtriangle/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/instancing/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/mrt/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/msaarenderbuffer/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/msaatexture/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/multiwindow/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/multiwindow_threaded/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/offscreen/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/qrhiprof/CMakeLists.txt2
-rw-r--r--tests/manual/rhi/shadowmap/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/texuploads/CMakeLists.txt4
-rw-r--r--tests/manual/rhi/triquadcube/CMakeLists.txt4
-rw-r--r--tests/manual/shortcuts/CMakeLists.txt2
-rw-r--r--tests/manual/socketengine/.prev_CMakeLists.txt2
-rw-r--r--tests/manual/socketengine/CMakeLists.txt2
-rw-r--r--tests/manual/textrendering/glyphshaping/CMakeLists.txt2
-rw-r--r--tests/manual/textrendering/nativetext/CMakeLists.txt4
-rw-r--r--tests/manual/textrendering/textperformance/CMakeLists.txt2
-rw-r--r--tests/manual/touch/CMakeLists.txt2
-rw-r--r--tests/manual/touchGraphicsItem/CMakeLists.txt2
-rw-r--r--tests/manual/transientwindow/CMakeLists.txt2
-rw-r--r--tests/manual/triangulator/CMakeLists.txt2
-rw-r--r--tests/manual/unc/CMakeLists.txt2
-rw-r--r--tests/manual/widgetgrab/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/itemviews/autoResizePrecision/tablehorz/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/itemviews/autoResizePrecision/tablevert/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/itemviews/autoResizePrecision/treeview/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/itemviews/delegate/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/itemviews/qconcatenatetablesproxymodel/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/itemviews/qheaderview/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/itemviews/qtreeview/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/itemviews/qtreewidget/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/itemviews/tableview-span-navigation/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/kernel/layoutreplace/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/kernel/qtooltip/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/kernel/setscreen/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/kernel/sizeonhide/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/qgraphicsview/rubberband/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/styles/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/widgets/bigmenucreator/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/widgets/defaultUpMenuBar/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/widgets/multiscreen-menus/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/widgets/qmainwindow/saveStateSize/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/widgets/qtabbar/CMakeLists.txt2
-rw-r--r--tests/manual/widgets/widgets/qtoolbutton/menuOnMultiScreens/CMakeLists.txt2
-rw-r--r--tests/manual/windowchildgeometry/CMakeLists.txt2
-rw-r--r--tests/manual/windowflags/CMakeLists.txt2
-rw-r--r--tests/manual/windowgeometry/CMakeLists.txt2
-rw-r--r--tests/manual/windowmodality/CMakeLists.txt2
-rw-r--r--tests/manual/windowtransparency/CMakeLists.txt2
-rw-r--r--tests/manual/xcb_gl_integration/CMakeLists.txt2
-rw-r--r--tests/manual/xembed-raster/CMakeLists.txt2
-rw-r--r--tests/manual/xembed-widgets/CMakeLists.txt2
1067 files changed, 1440 insertions, 1627 deletions
diff --git a/tests/auto/concurrent/qtconcurrentfilter/.prev_CMakeLists.txt b/tests/auto/concurrent/qtconcurrentfilter/.prev_CMakeLists.txt
index be8c936c48..f81bed27d6 100644
--- a/tests/auto/concurrent/qtconcurrentfilter/.prev_CMakeLists.txt
+++ b/tests/auto/concurrent/qtconcurrentfilter/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtconcurrentfilter Test:
#####################################################################
-add_qt_test(tst_qtconcurrentfilter
+qt_internal_add_test(tst_qtconcurrentfilter
SOURCES
tst_qtconcurrentfilter.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/concurrent/qtconcurrentfilter/CMakeLists.txt b/tests/auto/concurrent/qtconcurrentfilter/CMakeLists.txt
index 7868906178..f81bed27d6 100644
--- a/tests/auto/concurrent/qtconcurrentfilter/CMakeLists.txt
+++ b/tests/auto/concurrent/qtconcurrentfilter/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtconcurrentfilter Test:
#####################################################################
-qt_add_test(tst_qtconcurrentfilter
+qt_internal_add_test(tst_qtconcurrentfilter
SOURCES
tst_qtconcurrentfilter.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/concurrent/qtconcurrentiteratekernel/CMakeLists.txt b/tests/auto/concurrent/qtconcurrentiteratekernel/CMakeLists.txt
index e73d574fcb..2c74f6542e 100644
--- a/tests/auto/concurrent/qtconcurrentiteratekernel/CMakeLists.txt
+++ b/tests/auto/concurrent/qtconcurrentiteratekernel/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtconcurrentiteratekernel Test:
#####################################################################
-qt_add_test(tst_qtconcurrentiteratekernel
+qt_internal_add_test(tst_qtconcurrentiteratekernel
SOURCES
tst_qtconcurrentiteratekernel.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/concurrent/qtconcurrentmap/.prev_CMakeLists.txt b/tests/auto/concurrent/qtconcurrentmap/.prev_CMakeLists.txt
index be51bf09bd..20ccbdf374 100644
--- a/tests/auto/concurrent/qtconcurrentmap/.prev_CMakeLists.txt
+++ b/tests/auto/concurrent/qtconcurrentmap/.prev_CMakeLists.txt
@@ -4,11 +4,9 @@
## tst_qtconcurrentmap Test:
#####################################################################
-add_qt_test(tst_qtconcurrentmap
+qt_internal_add_test(tst_qtconcurrentmap
SOURCES
tst_qtconcurrentmap.cpp
- DEFINES
- -QT_NO_LINKED_LIST
PUBLIC_LIBRARIES
Qt::Concurrent
)
diff --git a/tests/auto/concurrent/qtconcurrentmap/CMakeLists.txt b/tests/auto/concurrent/qtconcurrentmap/CMakeLists.txt
index c14780e0de..20ccbdf374 100644
--- a/tests/auto/concurrent/qtconcurrentmap/CMakeLists.txt
+++ b/tests/auto/concurrent/qtconcurrentmap/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtconcurrentmap Test:
#####################################################################
-qt_add_test(tst_qtconcurrentmap
+qt_internal_add_test(tst_qtconcurrentmap
SOURCES
tst_qtconcurrentmap.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/concurrent/qtconcurrentmedian/CMakeLists.txt b/tests/auto/concurrent/qtconcurrentmedian/CMakeLists.txt
index 5d7e95049f..cbae4d1fb1 100644
--- a/tests/auto/concurrent/qtconcurrentmedian/CMakeLists.txt
+++ b/tests/auto/concurrent/qtconcurrentmedian/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtconcurrentmedian Test:
#####################################################################
-qt_add_test(tst_qtconcurrentmedian
+qt_internal_add_test(tst_qtconcurrentmedian
SOURCES
tst_qtconcurrentmedian.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/concurrent/qtconcurrentrun/CMakeLists.txt b/tests/auto/concurrent/qtconcurrentrun/CMakeLists.txt
index 07cb4d360f..9f3b60481d 100644
--- a/tests/auto/concurrent/qtconcurrentrun/CMakeLists.txt
+++ b/tests/auto/concurrent/qtconcurrentrun/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtconcurrentrun Test:
#####################################################################
-qt_add_test(tst_qtconcurrentrun
+qt_internal_add_test(tst_qtconcurrentrun
SOURCES
tst_qtconcurrentrun.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/concurrent/qtconcurrenttask/CMakeLists.txt b/tests/auto/concurrent/qtconcurrenttask/CMakeLists.txt
index 23a0d45e83..60f5cb47e3 100644
--- a/tests/auto/concurrent/qtconcurrenttask/CMakeLists.txt
+++ b/tests/auto/concurrent/qtconcurrenttask/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtconcurrenttask Test:
#####################################################################
-qt_add_test(tst_qtconcurrenttask
+qt_internal_add_test(tst_qtconcurrenttask
SOURCES
tst_qtconcurrenttask.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/concurrent/qtconcurrentthreadengine/CMakeLists.txt b/tests/auto/concurrent/qtconcurrentthreadengine/CMakeLists.txt
index 9c24dd1662..8a7f006674 100644
--- a/tests/auto/concurrent/qtconcurrentthreadengine/CMakeLists.txt
+++ b/tests/auto/concurrent/qtconcurrentthreadengine/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtconcurrentthreadengine Test:
#####################################################################
-qt_add_test(tst_qtconcurrentthreadengine
+qt_internal_add_test(tst_qtconcurrentthreadengine
SOURCES
tst_qtconcurrentthreadengine.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/animation/qabstractanimation/CMakeLists.txt b/tests/auto/corelib/animation/qabstractanimation/CMakeLists.txt
index 4e9759faae..7db3ef9462 100644
--- a/tests/auto/corelib/animation/qabstractanimation/CMakeLists.txt
+++ b/tests/auto/corelib/animation/qabstractanimation/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qabstractanimation Test:
#####################################################################
-qt_add_test(tst_qabstractanimation
+qt_internal_add_test(tst_qabstractanimation
SOURCES
tst_qabstractanimation.cpp
)
diff --git a/tests/auto/corelib/animation/qanimationgroup/CMakeLists.txt b/tests/auto/corelib/animation/qanimationgroup/CMakeLists.txt
index d25e437ea5..5dcdf49836 100644
--- a/tests/auto/corelib/animation/qanimationgroup/CMakeLists.txt
+++ b/tests/auto/corelib/animation/qanimationgroup/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qanimationgroup Test:
#####################################################################
-qt_add_test(tst_qanimationgroup
+qt_internal_add_test(tst_qanimationgroup
SOURCES
tst_qanimationgroup.cpp
)
diff --git a/tests/auto/corelib/animation/qparallelanimationgroup/CMakeLists.txt b/tests/auto/corelib/animation/qparallelanimationgroup/CMakeLists.txt
index 182bee1cbf..9a6c9f45db 100644
--- a/tests/auto/corelib/animation/qparallelanimationgroup/CMakeLists.txt
+++ b/tests/auto/corelib/animation/qparallelanimationgroup/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qparallelanimationgroup Test:
#####################################################################
-qt_add_test(tst_qparallelanimationgroup
+qt_internal_add_test(tst_qparallelanimationgroup
SOURCES
tst_qparallelanimationgroup.cpp
)
diff --git a/tests/auto/corelib/animation/qpauseanimation/CMakeLists.txt b/tests/auto/corelib/animation/qpauseanimation/CMakeLists.txt
index 7fd1132c33..bc846d33e7 100644
--- a/tests/auto/corelib/animation/qpauseanimation/CMakeLists.txt
+++ b/tests/auto/corelib/animation/qpauseanimation/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpauseanimation Test:
#####################################################################
-qt_add_test(tst_qpauseanimation
+qt_internal_add_test(tst_qpauseanimation
SOURCES
tst_qpauseanimation.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/animation/qpropertyanimation/CMakeLists.txt b/tests/auto/corelib/animation/qpropertyanimation/CMakeLists.txt
index be27578dae..5233616115 100644
--- a/tests/auto/corelib/animation/qpropertyanimation/CMakeLists.txt
+++ b/tests/auto/corelib/animation/qpropertyanimation/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpropertyanimation Test:
#####################################################################
-qt_add_test(tst_qpropertyanimation
+qt_internal_add_test(tst_qpropertyanimation
SOURCES
tst_qpropertyanimation.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/animation/qsequentialanimationgroup/CMakeLists.txt b/tests/auto/corelib/animation/qsequentialanimationgroup/CMakeLists.txt
index 5418f1e198..e56f9f6ff8 100644
--- a/tests/auto/corelib/animation/qsequentialanimationgroup/CMakeLists.txt
+++ b/tests/auto/corelib/animation/qsequentialanimationgroup/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qsequentialanimationgroup Test:
#####################################################################
-qt_add_test(tst_qsequentialanimationgroup
+qt_internal_add_test(tst_qsequentialanimationgroup
SOURCES
tst_qsequentialanimationgroup.cpp
)
diff --git a/tests/auto/corelib/animation/qvariantanimation/CMakeLists.txt b/tests/auto/corelib/animation/qvariantanimation/CMakeLists.txt
index caebb13342..aa85e1fb5c 100644
--- a/tests/auto/corelib/animation/qvariantanimation/CMakeLists.txt
+++ b/tests/auto/corelib/animation/qvariantanimation/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qvariantanimation Test:
#####################################################################
-qt_add_test(tst_qvariantanimation
+qt_internal_add_test(tst_qvariantanimation
SOURCES
tst_qvariantanimation.cpp
)
diff --git a/tests/auto/corelib/global/q_func_info/CMakeLists.txt b/tests/auto/corelib/global/q_func_info/CMakeLists.txt
index 57ae4369a2..93257c31de 100644
--- a/tests/auto/corelib/global/q_func_info/CMakeLists.txt
+++ b/tests/auto/corelib/global/q_func_info/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_q_func_info Test:
#####################################################################
-qt_add_test(tst_q_func_info
+qt_internal_add_test(tst_q_func_info
SOURCES
tst_q_func_info.cpp
)
diff --git a/tests/auto/corelib/global/qflags/CMakeLists.txt b/tests/auto/corelib/global/qflags/CMakeLists.txt
index 8ba1cb6d48..998834d619 100644
--- a/tests/auto/corelib/global/qflags/CMakeLists.txt
+++ b/tests/auto/corelib/global/qflags/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qflags Test:
#####################################################################
-qt_add_test(tst_qflags
+qt_internal_add_test(tst_qflags
SOURCES
tst_qflags.cpp
)
diff --git a/tests/auto/corelib/global/qfloat16/CMakeLists.txt b/tests/auto/corelib/global/qfloat16/CMakeLists.txt
index a9c3f2dd7f..b2848846fa 100644
--- a/tests/auto/corelib/global/qfloat16/CMakeLists.txt
+++ b/tests/auto/corelib/global/qfloat16/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfloat16 Test:
#####################################################################
-qt_add_test(tst_qfloat16
+qt_internal_add_test(tst_qfloat16
SOURCES
tst_qfloat16.cpp
)
diff --git a/tests/auto/corelib/global/qgetputenv/CMakeLists.txt b/tests/auto/corelib/global/qgetputenv/CMakeLists.txt
index a2cc20c378..79d45c58b0 100644
--- a/tests/auto/corelib/global/qgetputenv/CMakeLists.txt
+++ b/tests/auto/corelib/global/qgetputenv/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgetputenv Test:
#####################################################################
-qt_add_test(tst_qgetputenv
+qt_internal_add_test(tst_qgetputenv
SOURCES
tst_qgetputenv.cpp
)
diff --git a/tests/auto/corelib/global/qglobal/CMakeLists.txt b/tests/auto/corelib/global/qglobal/CMakeLists.txt
index c292b65cf9..de9a94629a 100644
--- a/tests/auto/corelib/global/qglobal/CMakeLists.txt
+++ b/tests/auto/corelib/global/qglobal/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qglobal Test:
#####################################################################
-qt_add_test(tst_qglobal
+qt_internal_add_test(tst_qglobal
SOURCES
qglobal.c
tst_qglobal.cpp
diff --git a/tests/auto/corelib/global/qglobalstatic/CMakeLists.txt b/tests/auto/corelib/global/qglobalstatic/CMakeLists.txt
index cadc627fa7..959b2b25b0 100644
--- a/tests/auto/corelib/global/qglobalstatic/CMakeLists.txt
+++ b/tests/auto/corelib/global/qglobalstatic/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qglobalstatic Test:
#####################################################################
-qt_add_test(tst_qglobalstatic
+qt_internal_add_test(tst_qglobalstatic
EXCEPTIONS
SOURCES
tst_qglobalstatic.cpp
diff --git a/tests/auto/corelib/global/qhooks/CMakeLists.txt b/tests/auto/corelib/global/qhooks/CMakeLists.txt
index 0aaefaf96e..c8d6f1a769 100644
--- a/tests/auto/corelib/global/qhooks/CMakeLists.txt
+++ b/tests/auto/corelib/global/qhooks/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qhooks Test:
#####################################################################
-qt_add_test(tst_qhooks
+qt_internal_add_test(tst_qhooks
SOURCES
tst_qhooks.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/global/qkeycombination/CMakeLists.txt b/tests/auto/corelib/global/qkeycombination/CMakeLists.txt
index 894e1e973f..9553a35dea 100644
--- a/tests/auto/corelib/global/qkeycombination/CMakeLists.txt
+++ b/tests/auto/corelib/global/qkeycombination/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qkeycombination Test:
#####################################################################
-qt_add_test(tst_qkeycombination
+qt_internal_add_test(tst_qkeycombination
SOURCES
tst_qkeycombination.cpp
)
diff --git a/tests/auto/corelib/global/qlogging/CMakeLists.txt b/tests/auto/corelib/global/qlogging/CMakeLists.txt
index e47f62776d..06f24a675f 100644
--- a/tests/auto/corelib/global/qlogging/CMakeLists.txt
+++ b/tests/auto/corelib/global/qlogging/CMakeLists.txt
@@ -1,7 +1,7 @@
# Generated from qlogging.pro.
# This file is almost completely custom written # special case
-qt_add_executable(qlogging_helper
+qt_internal_add_executable(qlogging_helper
NO_INSTALL # special case
OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
SOURCES app/main.cpp
@@ -16,7 +16,7 @@ endif()
set_target_properties(qlogging_helper PROPERTIES CXX_VISIBILITY_PRESET default)
# special case end
-qt_add_test(tst_qlogging SOURCES tst_qlogging.cpp
+qt_internal_add_test(tst_qlogging SOURCES tst_qlogging.cpp
DEFINES
QT_MESSAGELOGCONTEXT
QT_DISABLE_DEPRECATED_BEFORE=0
diff --git a/tests/auto/corelib/global/qnumeric/CMakeLists.txt b/tests/auto/corelib/global/qnumeric/CMakeLists.txt
index 7ca7b92f70..0359af03ae 100644
--- a/tests/auto/corelib/global/qnumeric/CMakeLists.txt
+++ b/tests/auto/corelib/global/qnumeric/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qnumeric Test:
#####################################################################
-qt_add_test(tst_qnumeric
+qt_internal_add_test(tst_qnumeric
SOURCES
tst_qnumeric.cpp
PUBLIC_LIBRARIES
@@ -14,13 +14,13 @@ qt_add_test(tst_qnumeric
## Scopes:
#####################################################################
-qt_extend_target(tst_qnumeric CONDITION ICC
+qt_internal_extend_target(tst_qnumeric CONDITION ICC
COMPILE_OPTIONS
-fp-model
strict
)
-qt_extend_target(tst_qnumeric CONDITION intel_icl
+qt_internal_extend_target(tst_qnumeric CONDITION intel_icl
COMPILE_OPTIONS
/fp:strict
)
diff --git a/tests/auto/corelib/global/qrandomgenerator/CMakeLists.txt b/tests/auto/corelib/global/qrandomgenerator/CMakeLists.txt
index 4e162e8fa4..54fa36b5df 100644
--- a/tests/auto/corelib/global/qrandomgenerator/CMakeLists.txt
+++ b/tests/auto/corelib/global/qrandomgenerator/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qrandomgenerator Test:
#####################################################################
-qt_add_test(tst_qrandomgenerator
+qt_internal_add_test(tst_qrandomgenerator
SOURCES
tst_qrandomgenerator.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/global/qtendian/CMakeLists.txt b/tests/auto/corelib/global/qtendian/CMakeLists.txt
index 77c3c433cd..acd0981991 100644
--- a/tests/auto/corelib/global/qtendian/CMakeLists.txt
+++ b/tests/auto/corelib/global/qtendian/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtendian Test:
#####################################################################
-qt_add_test(tst_qtendian
+qt_internal_add_test(tst_qtendian
SOURCES
tst_qtendian.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/global/qwinregistry/CMakeLists.txt b/tests/auto/corelib/global/qwinregistry/CMakeLists.txt
index fc88750c9c..95d591a125 100644
--- a/tests/auto/corelib/global/qwinregistry/CMakeLists.txt
+++ b/tests/auto/corelib/global/qwinregistry/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qwinregistry Test:
#####################################################################
-qt_add_test(tst_qwinregistry
+qt_internal_add_test(tst_qwinregistry
SOURCES
tst_qwinregistry.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/io/largefile/CMakeLists.txt b/tests/auto/corelib/io/largefile/CMakeLists.txt
index 6e9a3cbae8..be4b21033f 100644
--- a/tests/auto/corelib/io/largefile/CMakeLists.txt
+++ b/tests/auto/corelib/io/largefile/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_largefile Test:
#####################################################################
-qt_add_test(tst_largefile
+qt_internal_add_test(tst_largefile
SOURCES
../../../../shared/emulationdetector.h
tst_largefile.cpp
diff --git a/tests/auto/corelib/io/qabstractfileengine/CMakeLists.txt b/tests/auto/corelib/io/qabstractfileengine/CMakeLists.txt
index 8267c7241c..7e3b79403d 100644
--- a/tests/auto/corelib/io/qabstractfileengine/CMakeLists.txt
+++ b/tests/auto/corelib/io/qabstractfileengine/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qabstractfileengine Test:
#####################################################################
-qt_add_test(tst_qabstractfileengine
+qt_internal_add_test(tst_qabstractfileengine
SOURCES
tst_qabstractfileengine.cpp
PUBLIC_LIBRARIES
@@ -16,7 +16,7 @@ set(qabstractfileengine_resource_files
"resources/"
)
-qt_add_resource(tst_qabstractfileengine "qabstractfileengine"
+qt_internal_add_resource(tst_qabstractfileengine "qabstractfileengine"
PREFIX
"/tst_qabstractfileengine/"
FILES
diff --git a/tests/auto/corelib/io/qbuffer/CMakeLists.txt b/tests/auto/corelib/io/qbuffer/CMakeLists.txt
index 5a374173ef..7d57d78b3f 100644
--- a/tests/auto/corelib/io/qbuffer/CMakeLists.txt
+++ b/tests/auto/corelib/io/qbuffer/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qbuffer Test:
#####################################################################
-qt_add_test(tst_qbuffer
+qt_internal_add_test(tst_qbuffer
SOURCES
tst_qbuffer.cpp
)
diff --git a/tests/auto/corelib/io/qdataurl/CMakeLists.txt b/tests/auto/corelib/io/qdataurl/CMakeLists.txt
index 8020879311..b13a235d3b 100644
--- a/tests/auto/corelib/io/qdataurl/CMakeLists.txt
+++ b/tests/auto/corelib/io/qdataurl/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdataurl Test:
#####################################################################
-qt_add_test(tst_qdataurl
+qt_internal_add_test(tst_qdataurl
SOURCES
tst_qdataurl.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/io/qdebug/CMakeLists.txt b/tests/auto/corelib/io/qdebug/CMakeLists.txt
index 6656b6089b..39b92b9d2f 100644
--- a/tests/auto/corelib/io/qdebug/CMakeLists.txt
+++ b/tests/auto/corelib/io/qdebug/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdebug Test:
#####################################################################
-qt_add_test(tst_qdebug
+qt_internal_add_test(tst_qdebug
SOURCES
tst_qdebug.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/io/qdir/CMakeLists.txt b/tests/auto/corelib/io/qdir/CMakeLists.txt
index 49711da087..4c26780f99 100644
--- a/tests/auto/corelib/io/qdir/CMakeLists.txt
+++ b/tests/auto/corelib/io/qdir/CMakeLists.txt
@@ -13,7 +13,7 @@ list(APPEND test_data "entrylist")
list(APPEND test_data "types")
list(APPEND test_data "tst_qdir.cpp")
-qt_add_test(tst_qdir
+qt_internal_add_test(tst_qdir
SOURCES
tst_qdir.cpp
PUBLIC_LIBRARIES
@@ -26,7 +26,7 @@ set(qdir_resource_files
"resources/entryList/"
)
-qt_add_resource(tst_qdir "qdir"
+qt_internal_add_resource(tst_qdir "qdir"
PREFIX
"/tst_qdir/"
FILES
@@ -40,7 +40,7 @@ qt_add_resource(tst_qdir "qdir"
#### Keys ignored in scope 2:.:.:qdir.pro:IOS:
# QMAKE_INFO_PLIST = "Info.plist"
-qt_extend_target(tst_qdir CONDITION CONFIG___contains___builtin_testdata
+qt_internal_extend_target(tst_qdir CONDITION CONFIG___contains___builtin_testdata
DEFINES
BUILTIN_TESTDATA
)
@@ -90,7 +90,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
"types/f/dummy"
)
- qt_add_resource(tst_qdir "android_testdata"
+ qt_internal_add_resource(tst_qdir "android_testdata"
PREFIX
"/android_testdata"
FILES
diff --git a/tests/auto/corelib/io/qdir/testdir/dir/CMakeLists.txt b/tests/auto/corelib/io/qdir/testdir/dir/CMakeLists.txt
index 19e64e037c..92ce7b4e89 100644
--- a/tests/auto/corelib/io/qdir/testdir/dir/CMakeLists.txt
+++ b/tests/auto/corelib/io/qdir/testdir/dir/CMakeLists.txt
@@ -4,7 +4,7 @@
## qdir Binary:
#####################################################################
-qt_add_executable(qdir
+qt_internal_add_executable(qdir
GUI
DEFINES
QT_DISABLE_DEPRECATED_BEFORE=0
diff --git a/tests/auto/corelib/io/qdiriterator/CMakeLists.txt b/tests/auto/corelib/io/qdiriterator/CMakeLists.txt
index 39703e8c83..feb742396d 100644
--- a/tests/auto/corelib/io/qdiriterator/CMakeLists.txt
+++ b/tests/auto/corelib/io/qdiriterator/CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "entrylist")
-qt_add_test(tst_qdiriterator
+qt_internal_add_test(tst_qdiriterator
SOURCES
tst_qdiriterator.cpp
PUBLIC_LIBRARIES
@@ -21,7 +21,7 @@ set(qdiriterator_resource_files
"entrylist/file"
)
-qt_add_resource(tst_qdiriterator "qdiriterator"
+qt_internal_add_resource(tst_qdiriterator "qdiriterator"
PREFIX
"/testdata/"
FILES
@@ -32,7 +32,7 @@ qt_add_resource(tst_qdiriterator "qdiriterator"
## Scopes:
#####################################################################
-qt_extend_target(tst_qdiriterator CONDITION CONFIG___contains___builtin_testdata
+qt_internal_extend_target(tst_qdiriterator CONDITION CONFIG___contains___builtin_testdata
DEFINES
BUILTIN_TESTDATA
)
diff --git a/tests/auto/corelib/io/qfile/.prev_CMakeLists.txt b/tests/auto/corelib/io/qfile/.prev_CMakeLists.txt
index 8e72a89649..e32930f55a 100644
--- a/tests/auto/corelib/io/qfile/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/io/qfile/.prev_CMakeLists.txt
@@ -17,7 +17,7 @@ list(APPEND test_data "forCopying.txt")
list(APPEND test_data "forRenaming.txt")
list(APPEND test_data "resources/file1.ext1")
-qt_add_test(tst_qfile
+qt_internal_add_test(tst_qfile
SOURCES
../../../../shared/emulationdetector.h
tst_qfile.cpp
@@ -33,7 +33,7 @@ set(qfile_resource_files
"resources/"
)
-qt_add_resource(tst_qfile "qfile"
+qt_internal_add_resource(tst_qfile "qfile"
PREFIX
"/tst_qfileinfo/"
FILES
@@ -43,7 +43,7 @@ set(rename-fallback_resource_files
"rename-fallback.qrc"
)
-qt_add_resource(tst_qfile "rename-fallback"
+qt_internal_add_resource(tst_qfile "rename-fallback"
PREFIX
"/"
FILES
@@ -53,7 +53,7 @@ set(copy-fallback_resource_files
"copy-fallback.qrc"
)
-qt_add_resource(tst_qfile "copy-fallback"
+qt_internal_add_resource(tst_qfile "copy-fallback"
PREFIX
"/"
FILES
@@ -64,22 +64,22 @@ qt_add_resource(tst_qfile "copy-fallback"
## Scopes:
#####################################################################
-qt_extend_target(tst_qfile CONDITION TARGET Qt::Network
+qt_internal_extend_target(tst_qfile CONDITION TARGET Qt::Network
PUBLIC_LIBRARIES
Qt::Network
)
-qt_extend_target(tst_qfile CONDITION NOT TARGET Qt::Network
+qt_internal_extend_target(tst_qfile CONDITION NOT TARGET Qt::Network
DEFINES
QT_NO_NETWORK
)
-qt_extend_target(tst_qfile CONDITION CONFIG___contains___builtin_testdata
+qt_internal_extend_target(tst_qfile CONDITION CONFIG___contains___builtin_testdata
DEFINES
BUILTIN_TESTDATA
)
-qt_extend_target(tst_qfile CONDITION WIN32
+qt_internal_extend_target(tst_qfile CONDITION WIN32
PUBLIC_LIBRARIES
ole32
uuid
diff --git a/tests/auto/corelib/io/qfile/CMakeLists.txt b/tests/auto/corelib/io/qfile/CMakeLists.txt
index 916b291f54..7a0102bfd9 100644
--- a/tests/auto/corelib/io/qfile/CMakeLists.txt
+++ b/tests/auto/corelib/io/qfile/CMakeLists.txt
@@ -17,7 +17,7 @@ list(APPEND test_data "forCopying.txt")
list(APPEND test_data "forRenaming.txt")
list(APPEND test_data "resources/file1.ext1")
-qt_add_test(tst_qfile
+qt_internal_add_test(tst_qfile
SOURCES
../../../../shared/emulationdetector.h
tst_qfile.cpp
@@ -33,7 +33,7 @@ set(qfile_resource_files
"resources/"
)
-qt_add_resource(tst_qfile "qfile"
+qt_internal_add_resource(tst_qfile "qfile"
PREFIX
"/tst_qfileinfo/"
FILES
@@ -43,7 +43,7 @@ set(rename-fallback_resource_files
"rename-fallback.qrc"
)
-qt_add_resource(tst_qfile "rename-fallback"
+qt_internal_add_resource(tst_qfile "rename-fallback"
PREFIX
"/"
FILES
@@ -53,7 +53,7 @@ set(copy-fallback_resource_files
"copy-fallback.qrc"
)
-qt_add_resource(tst_qfile "copy-fallback"
+qt_internal_add_resource(tst_qfile "copy-fallback"
PREFIX
"/"
FILES
@@ -64,22 +64,22 @@ qt_add_resource(tst_qfile "copy-fallback"
## Scopes:
#####################################################################
-qt_extend_target(tst_qfile CONDITION TARGET Qt::Network
+qt_internal_extend_target(tst_qfile CONDITION TARGET Qt::Network
PUBLIC_LIBRARIES
Qt::Network
)
-qt_extend_target(tst_qfile CONDITION NOT TARGET Qt::Network
+qt_internal_extend_target(tst_qfile CONDITION NOT TARGET Qt::Network
DEFINES
QT_NO_NETWORK
)
-qt_extend_target(tst_qfile CONDITION CONFIG___contains___builtin_testdata
+qt_internal_extend_target(tst_qfile CONDITION CONFIG___contains___builtin_testdata
DEFINES
BUILTIN_TESTDATA
)
-qt_extend_target(tst_qfile CONDITION WIN32
+qt_internal_extend_target(tst_qfile CONDITION WIN32
PUBLIC_LIBRARIES
ole32
uuid
diff --git a/tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt b/tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt
index eb1f6a0ff0..e034e0502c 100644
--- a/tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt
+++ b/tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt
@@ -4,7 +4,7 @@
## stdinprocess_helper Binary:
#####################################################################
-qt_add_test_helper(stdinprocess_helper
+qt_internal_add_test_helper(stdinprocess_helper
SOURCES
main.cpp
)
diff --git a/tests/auto/corelib/io/qfileinfo/CMakeLists.txt b/tests/auto/corelib/io/qfileinfo/CMakeLists.txt
index a7ccda9c58..da955ff6a6 100644
--- a/tests/auto/corelib/io/qfileinfo/CMakeLists.txt
+++ b/tests/auto/corelib/io/qfileinfo/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfileinfo Test:
#####################################################################
-qt_add_test(tst_qfileinfo
+qt_internal_add_test(tst_qfileinfo
SOURCES
tst_qfileinfo.cpp
PUBLIC_LIBRARIES
@@ -16,7 +16,7 @@ set(qfileinfo_resource_files
"resources/"
)
-qt_add_resource(tst_qfileinfo "qfileinfo"
+qt_internal_add_resource(tst_qfileinfo "qfileinfo"
PREFIX
"/tst_qfileinfo/"
FILES
@@ -29,7 +29,7 @@ set(testdata_resource_files
"tst_qfileinfo.cpp"
)
-qt_add_resource(tst_qfileinfo "testdata"
+qt_internal_add_resource(tst_qfileinfo "testdata"
PREFIX
"/testdata"
FILES
@@ -40,7 +40,7 @@ qt_add_resource(tst_qfileinfo "testdata"
## Scopes:
#####################################################################
-qt_extend_target(tst_qfileinfo CONDITION WIN32
+qt_internal_extend_target(tst_qfileinfo CONDITION WIN32
PUBLIC_LIBRARIES
advapi32
netapi32
diff --git a/tests/auto/corelib/io/qfileselector/CMakeLists.txt b/tests/auto/corelib/io/qfileselector/CMakeLists.txt
index 67840c8112..5f254044df 100644
--- a/tests/auto/corelib/io/qfileselector/CMakeLists.txt
+++ b/tests/auto/corelib/io/qfileselector/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfileselectors Test:
#####################################################################
-qt_add_test(tst_qfileselectors
+qt_internal_add_test(tst_qfileselectors
SOURCES
tst_qfileselector.cpp
PUBLIC_LIBRARIES
@@ -62,7 +62,7 @@ set(qfileselector_resource_files
"platforms/test5"
)
-qt_add_resource(tst_qfileselectors "qfileselector"
+qt_internal_add_resource(tst_qfileselectors "qfileselector"
PREFIX
"/"
FILES
diff --git a/tests/auto/corelib/io/qfilesystementry/CMakeLists.txt b/tests/auto/corelib/io/qfilesystementry/CMakeLists.txt
index a99884b617..574ba0efc8 100644
--- a/tests/auto/corelib/io/qfilesystementry/CMakeLists.txt
+++ b/tests/auto/corelib/io/qfilesystementry/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfilesystementry Test:
#####################################################################
-qt_add_test(tst_qfilesystementry
+qt_internal_add_test(tst_qfilesystementry
SOURCES
${QT_SOURCE_TREE}/src/corelib/io/qfilesystementry.cpp ${QT_SOURCE_TREE}/src/corelib/io/qfilesystementry_p.h
tst_qfilesystementry.cpp
diff --git a/tests/auto/corelib/io/qfilesystemmetadata/CMakeLists.txt b/tests/auto/corelib/io/qfilesystemmetadata/CMakeLists.txt
index 4970e5a426..9b1705f072 100644
--- a/tests/auto/corelib/io/qfilesystemmetadata/CMakeLists.txt
+++ b/tests/auto/corelib/io/qfilesystemmetadata/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfilesystemmetadata Test:
#####################################################################
-qt_add_test(tst_qfilesystemmetadata
+qt_internal_add_test(tst_qfilesystemmetadata
SOURCES
tst_qfilesystemmetadata.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/io/qfilesystemwatcher/CMakeLists.txt b/tests/auto/corelib/io/qfilesystemwatcher/CMakeLists.txt
index ac72470019..7523122907 100644
--- a/tests/auto/corelib/io/qfilesystemwatcher/CMakeLists.txt
+++ b/tests/auto/corelib/io/qfilesystemwatcher/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfilesystemwatcher Test:
#####################################################################
-qt_add_test(tst_qfilesystemwatcher
+qt_internal_add_test(tst_qfilesystemwatcher
SOURCES
tst_qfilesystemwatcher.cpp
)
diff --git a/tests/auto/corelib/io/qiodevice/CMakeLists.txt b/tests/auto/corelib/io/qiodevice/CMakeLists.txt
index fdc896e45d..3fa19d9f30 100644
--- a/tests/auto/corelib/io/qiodevice/CMakeLists.txt
+++ b/tests/auto/corelib/io/qiodevice/CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "tst_qiodevice.cpp")
-qt_add_test(tst_qiodevice
+qt_internal_add_test(tst_qiodevice
SOURCES
tst_qiodevice.cpp
PUBLIC_LIBRARIES
@@ -27,7 +27,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
"tst_qiodevice.cpp"
)
- qt_add_resource(tst_qiodevice "android_testdata"
+ qt_internal_add_resource(tst_qiodevice "android_testdata"
PREFIX
"/"
FILES
diff --git a/tests/auto/corelib/io/qipaddress/CMakeLists.txt b/tests/auto/corelib/io/qipaddress/CMakeLists.txt
index da7f5a9061..b4801c2ab2 100644
--- a/tests/auto/corelib/io/qipaddress/CMakeLists.txt
+++ b/tests/auto/corelib/io/qipaddress/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qipaddress Test:
#####################################################################
-qt_add_test(tst_qipaddress
+qt_internal_add_test(tst_qipaddress
SOURCES
tst_qipaddress.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/io/qlockfile/CMakeLists.txt b/tests/auto/corelib/io/qlockfile/CMakeLists.txt
index baab320b8c..828aea049e 100644
--- a/tests/auto/corelib/io/qlockfile/CMakeLists.txt
+++ b/tests/auto/corelib/io/qlockfile/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qlockfile Test:
#####################################################################
-qt_add_test(tst_qlockfile
+qt_internal_add_test(tst_qlockfile
SOURCES
tst_qlockfile.cpp
PUBLIC_LIBRARIES
@@ -15,7 +15,7 @@ qt_add_test(tst_qlockfile
## Scopes:
#####################################################################
-qt_extend_target(tst_qlockfile CONDITION WIN32
+qt_internal_extend_target(tst_qlockfile CONDITION WIN32
PUBLIC_LIBRARIES
advapi32
)
diff --git a/tests/auto/corelib/io/qlockfile/qlockfiletesthelper/.prev_CMakeLists.txt b/tests/auto/corelib/io/qlockfile/qlockfiletesthelper/.prev_CMakeLists.txt
index e0f500f8ae..6526d690f9 100644
--- a/tests/auto/corelib/io/qlockfile/qlockfiletesthelper/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/io/qlockfile/qlockfiletesthelper/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## qlockfile_test_helper Binary:
#####################################################################
-qt_add_executable(qlockfile_test_helper
+qt_internal_add_executable(qlockfile_test_helper
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
qlockfile_test_helper.cpp
diff --git a/tests/auto/corelib/io/qlockfile/qlockfiletesthelper/CMakeLists.txt b/tests/auto/corelib/io/qlockfile/qlockfiletesthelper/CMakeLists.txt
index 957d60ca1b..8917f2aa34 100644
--- a/tests/auto/corelib/io/qlockfile/qlockfiletesthelper/CMakeLists.txt
+++ b/tests/auto/corelib/io/qlockfile/qlockfiletesthelper/CMakeLists.txt
@@ -4,7 +4,7 @@
## qlockfile_test_helper Binary:
#####################################################################
-qt_add_test_helper(qlockfile_test_helper # special case
+qt_internal_add_test_helper(qlockfile_test_helper # special case
OVERRIDE_OUTPUT_DIRECTORY # special case
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
diff --git a/tests/auto/corelib/io/qloggingcategory/CMakeLists.txt b/tests/auto/corelib/io/qloggingcategory/CMakeLists.txt
index 778315db5b..13ee586696 100644
--- a/tests/auto/corelib/io/qloggingcategory/CMakeLists.txt
+++ b/tests/auto/corelib/io/qloggingcategory/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qloggingcategory Test:
#####################################################################
-qt_add_test(tst_qloggingcategory
+qt_internal_add_test(tst_qloggingcategory
SOURCES
tst_qloggingcategory.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/io/qloggingregistry/CMakeLists.txt b/tests/auto/corelib/io/qloggingregistry/CMakeLists.txt
index e4d1cf4aaf..4c903de17f 100644
--- a/tests/auto/corelib/io/qloggingregistry/CMakeLists.txt
+++ b/tests/auto/corelib/io/qloggingregistry/CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "qtlogging.ini")
-qt_add_test(tst_qloggingregistry
+qt_internal_add_test(tst_qloggingregistry
SOURCES
tst_qloggingregistry.cpp
PUBLIC_LIBRARIES
@@ -27,7 +27,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
"qtlogging.ini"
)
- qt_add_resource(tst_qloggingregistry "android_testdata"
+ qt_internal_add_resource(tst_qloggingregistry "android_testdata"
PREFIX
"/"
FILES
diff --git a/tests/auto/corelib/io/qnodebug/CMakeLists.txt b/tests/auto/corelib/io/qnodebug/CMakeLists.txt
index fe410643fc..5fd4a3738c 100644
--- a/tests/auto/corelib/io/qnodebug/CMakeLists.txt
+++ b/tests/auto/corelib/io/qnodebug/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qnodebug Test:
#####################################################################
-qt_add_test(tst_qnodebug
+qt_internal_add_test(tst_qnodebug
SOURCES
tst_qnodebug.cpp
)
diff --git a/tests/auto/corelib/io/qprocess-noapplication/CMakeLists.txt b/tests/auto/corelib/io/qprocess-noapplication/CMakeLists.txt
index ae7910e302..0118d46ae8 100644
--- a/tests/auto/corelib/io/qprocess-noapplication/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess-noapplication/CMakeLists.txt
@@ -4,7 +4,7 @@
## qprocess-noapplication Test:
#####################################################################
-qt_add_test(qprocess-noapplication
+qt_internal_add_test(qprocess-noapplication
SOURCES
tst_qprocessnoapplication.cpp
)
diff --git a/tests/auto/corelib/io/qprocess/fileWriterProcess/CMakeLists.txt b/tests/auto/corelib/io/qprocess/fileWriterProcess/CMakeLists.txt
index 92b4c258dd..ce4519ce99 100644
--- a/tests/auto/corelib/io/qprocess/fileWriterProcess/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/fileWriterProcess/CMakeLists.txt
@@ -4,7 +4,7 @@
## fileWriterProcess Binary:
#####################################################################
-qt_add_executable(fileWriterProcess
+qt_internal_add_executable(fileWriterProcess
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/test/CMakeLists.txt b/tests/auto/corelib/io/qprocess/test/CMakeLists.txt
index 0541b4258a..249cb089cf 100644
--- a/tests/auto/corelib/io/qprocess/test/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/test/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qprocess Test:
#####################################################################
-qt_add_test(tst_qprocess
+qt_internal_add_test(tst_qprocess
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../../../../../shared/emulationdetector.h
diff --git a/tests/auto/corelib/io/qprocess/testDetached/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testDetached/CMakeLists.txt
index a7f9b9412d..368ca92f09 100644
--- a/tests/auto/corelib/io/qprocess/testDetached/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testDetached/CMakeLists.txt
@@ -4,7 +4,7 @@
## testDetached Binary:
#####################################################################
-qt_add_executable(testDetached
+qt_internal_add_executable(testDetached
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testExitCodes/.prev_CMakeLists.txt b/tests/auto/corelib/io/qprocess/testExitCodes/.prev_CMakeLists.txt
index cf3f6f4e64..26973bfc2d 100644
--- a/tests/auto/corelib/io/qprocess/testExitCodes/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testExitCodes/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## testExitCodes Binary:
#####################################################################
-qt_add_executable(testExitCodes
+qt_internal_add_executable(testExitCodes
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testExitCodes/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testExitCodes/CMakeLists.txt
index 5ad0ab05df..24f231982e 100644
--- a/tests/auto/corelib/io/qprocess/testExitCodes/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testExitCodes/CMakeLists.txt
@@ -4,7 +4,7 @@
## testExitCodes Binary:
#####################################################################
-qt_add_executable(testExitCodes
+qt_internal_add_executable(testExitCodes
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testForwarding/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testForwarding/CMakeLists.txt
index 83658e4b7a..914785178c 100644
--- a/tests/auto/corelib/io/qprocess/testForwarding/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testForwarding/CMakeLists.txt
@@ -4,7 +4,7 @@
## testForwarding Binary:
#####################################################################
-qt_add_executable(testForwarding
+qt_internal_add_executable(testForwarding
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testForwardingHelper/.prev_CMakeLists.txt b/tests/auto/corelib/io/qprocess/testForwardingHelper/.prev_CMakeLists.txt
index 9197f96e10..3fd1385f71 100644
--- a/tests/auto/corelib/io/qprocess/testForwardingHelper/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testForwardingHelper/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## testForwardingHelper Binary:
#####################################################################
-qt_add_executable(testForwardingHelper
+qt_internal_add_executable(testForwardingHelper
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testForwardingHelper/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testForwardingHelper/CMakeLists.txt
index 0024b006ed..f13f2f6b03 100644
--- a/tests/auto/corelib/io/qprocess/testForwardingHelper/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testForwardingHelper/CMakeLists.txt
@@ -4,7 +4,7 @@
## testForwardingHelper Binary:
#####################################################################
-qt_add_executable(testForwardingHelper
+qt_internal_add_executable(testForwardingHelper
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testGuiProcess/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testGuiProcess/CMakeLists.txt
index bd6853c438..e36a33bfa4 100644
--- a/tests/auto/corelib/io/qprocess/testGuiProcess/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testGuiProcess/CMakeLists.txt
@@ -4,7 +4,7 @@
## testGuiProcess Binary:
#####################################################################
-qt_add_executable(testGuiProcess
+qt_internal_add_executable(testGuiProcess
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessCrash/.prev_CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessCrash/.prev_CMakeLists.txt
index d09e1364fb..c40b850a56 100644
--- a/tests/auto/corelib/io/qprocess/testProcessCrash/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessCrash/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessCrash Binary:
#####################################################################
-qt_add_executable(testProcessCrash
+qt_internal_add_executable(testProcessCrash
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessCrash/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessCrash/CMakeLists.txt
index 1b2ab3eac5..1afc662a2c 100644
--- a/tests/auto/corelib/io/qprocess/testProcessCrash/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessCrash/CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessCrash Binary:
#####################################################################
-qt_add_executable(testProcessCrash
+qt_internal_add_executable(testProcessCrash
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessDeadWhileReading/.prev_CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessDeadWhileReading/.prev_CMakeLists.txt
index aade19fa91..9416580e04 100644
--- a/tests/auto/corelib/io/qprocess/testProcessDeadWhileReading/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessDeadWhileReading/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessDeadWhileReading Binary:
#####################################################################
-qt_add_executable(testProcessDeadWhileReading
+qt_internal_add_executable(testProcessDeadWhileReading
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessDeadWhileReading/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessDeadWhileReading/CMakeLists.txt
index 50407cbc7a..55dce67f8a 100644
--- a/tests/auto/corelib/io/qprocess/testProcessDeadWhileReading/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessDeadWhileReading/CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessDeadWhileReading Binary:
#####################################################################
-qt_add_executable(testProcessDeadWhileReading
+qt_internal_add_executable(testProcessDeadWhileReading
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessEOF/.prev_CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessEOF/.prev_CMakeLists.txt
index 7fe205c5d4..b4f2679976 100644
--- a/tests/auto/corelib/io/qprocess/testProcessEOF/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessEOF/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessEOF Binary:
#####################################################################
-qt_add_executable(testProcessEOF
+qt_internal_add_executable(testProcessEOF
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessEOF/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessEOF/CMakeLists.txt
index b30249caa9..c3cc35db60 100644
--- a/tests/auto/corelib/io/qprocess/testProcessEOF/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessEOF/CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessEOF Binary:
#####################################################################
-qt_add_executable(testProcessEOF
+qt_internal_add_executable(testProcessEOF
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessEcho/.prev_CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessEcho/.prev_CMakeLists.txt
index 0db956d16c..c739335d04 100644
--- a/tests/auto/corelib/io/qprocess/testProcessEcho/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessEcho/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessEcho Binary:
#####################################################################
-qt_add_executable(testProcessEcho
+qt_internal_add_executable(testProcessEcho
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessEcho/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessEcho/CMakeLists.txt
index db46ca06cb..128f35538b 100644
--- a/tests/auto/corelib/io/qprocess/testProcessEcho/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessEcho/CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessEcho Binary:
#####################################################################
-qt_add_executable(testProcessEcho
+qt_internal_add_executable(testProcessEcho
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessEcho2/.prev_CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessEcho2/.prev_CMakeLists.txt
index abe80a3cff..b861f2619c 100644
--- a/tests/auto/corelib/io/qprocess/testProcessEcho2/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessEcho2/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessEcho2 Binary:
#####################################################################
-qt_add_executable(testProcessEcho2
+qt_internal_add_executable(testProcessEcho2
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessEcho2/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessEcho2/CMakeLists.txt
index 87acd13c16..4b3fb585f4 100644
--- a/tests/auto/corelib/io/qprocess/testProcessEcho2/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessEcho2/CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessEcho2 Binary:
#####################################################################
-qt_add_executable(testProcessEcho2
+qt_internal_add_executable(testProcessEcho2
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessEcho3/.prev_CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessEcho3/.prev_CMakeLists.txt
index 8b7a8b3a51..40e992a947 100644
--- a/tests/auto/corelib/io/qprocess/testProcessEcho3/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessEcho3/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessEcho3 Binary:
#####################################################################
-qt_add_executable(testProcessEcho3
+qt_internal_add_executable(testProcessEcho3
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessEcho3/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessEcho3/CMakeLists.txt
index f0905360f4..0b852a90ce 100644
--- a/tests/auto/corelib/io/qprocess/testProcessEcho3/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessEcho3/CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessEcho3 Binary:
#####################################################################
-qt_add_executable(testProcessEcho3
+qt_internal_add_executable(testProcessEcho3
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessEchoGui/.prev_CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessEchoGui/.prev_CMakeLists.txt
index a2e3c6a0a9..2c482b2cf8 100644
--- a/tests/auto/corelib/io/qprocess/testProcessEchoGui/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessEchoGui/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessEchoGui Binary:
#####################################################################
-qt_add_executable(testProcessEchoGui
+qt_internal_add_executable(testProcessEchoGui
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
DEFINES
QT_DISABLE_DEPRECATED_BEFORE=0
@@ -15,7 +15,7 @@ qt_add_executable(testProcessEchoGui
## Scopes:
#####################################################################
-qt_extend_target(testProcessEchoGui CONDITION WIN32
+qt_internal_extend_target(testProcessEchoGui CONDITION WIN32
SOURCES
main_win.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/io/qprocess/testProcessEchoGui/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessEchoGui/CMakeLists.txt
index ca529c0c84..f96c8a4fa5 100644
--- a/tests/auto/corelib/io/qprocess/testProcessEchoGui/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessEchoGui/CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessEchoGui Binary:
#####################################################################
-qt_add_executable(testProcessEchoGui
+qt_internal_add_executable(testProcessEchoGui
GUI # special case
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
DEFINES
@@ -16,7 +16,7 @@ qt_add_executable(testProcessEchoGui
## Scopes:
#####################################################################
-qt_extend_target(testProcessEchoGui CONDITION WIN32
+qt_internal_extend_target(testProcessEchoGui CONDITION WIN32
SOURCES
main_win.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/io/qprocess/testProcessEnvironment/.prev_CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessEnvironment/.prev_CMakeLists.txt
index 63d7767b60..6a0546b1aa 100644
--- a/tests/auto/corelib/io/qprocess/testProcessEnvironment/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessEnvironment/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessEnvironment Binary:
#####################################################################
-qt_add_executable(testProcessEnvironment
+qt_internal_add_executable(testProcessEnvironment
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessEnvironment/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessEnvironment/CMakeLists.txt
index 89c41b6446..fe48627b7c 100644
--- a/tests/auto/corelib/io/qprocess/testProcessEnvironment/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessEnvironment/CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessEnvironment Binary:
#####################################################################
-qt_add_executable(testProcessEnvironment
+qt_internal_add_executable(testProcessEnvironment
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessHang/.prev_CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessHang/.prev_CMakeLists.txt
index 77e39937b0..63989dd8e0 100644
--- a/tests/auto/corelib/io/qprocess/testProcessHang/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessHang/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessHang Binary:
#####################################################################
-qt_add_executable(testProcessHang
+qt_internal_add_executable(testProcessHang
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessHang/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessHang/CMakeLists.txt
index c3f4857225..3e8443c2a5 100644
--- a/tests/auto/corelib/io/qprocess/testProcessHang/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessHang/CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessHang Binary:
#####################################################################
-qt_add_executable(testProcessHang
+qt_internal_add_executable(testProcessHang
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessNormal/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessNormal/CMakeLists.txt
index 2348a4b002..1726e1861b 100644
--- a/tests/auto/corelib/io/qprocess/testProcessNormal/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessNormal/CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessNormal Binary:
#####################################################################
-qt_add_executable(testProcessNormal
+qt_internal_add_executable(testProcessNormal
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessOutput/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessOutput/CMakeLists.txt
index 4e0b835aa1..2a6d016f48 100644
--- a/tests/auto/corelib/io/qprocess/testProcessOutput/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessOutput/CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessOutput Binary:
#####################################################################
-qt_add_executable(testProcessOutput
+qt_internal_add_executable(testProcessOutput
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/.prev_CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/.prev_CMakeLists.txt
index f8a21c990d..5d5a049012 100644
--- a/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## nospace Binary:
#####################################################################
-qt_add_executable(nospace
+qt_internal_add_executable(nospace
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/CMakeLists.txt
index 3c0033a01f..fd2b38ef2f 100644
--- a/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/CMakeLists.txt
@@ -4,7 +4,7 @@
## nospace Binary:
#####################################################################
-qt_add_executable(nospace
+qt_internal_add_executable(nospace
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
@@ -15,7 +15,7 @@ qt_add_executable(nospace
)
# special case begin
-qt_add_executable(onespace
+qt_internal_add_executable(onespace
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
@@ -26,7 +26,7 @@ qt_add_executable(onespace
)
set_target_properties(onespace PROPERTIES OUTPUT_NAME "one space")
-qt_add_executable(twospaces
+qt_internal_add_executable(twospaces
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testSetNamedPipeHandleState/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testSetNamedPipeHandleState/CMakeLists.txt
index 9fc7528b2e..6b55c40f94 100644
--- a/tests/auto/corelib/io/qprocess/testSetNamedPipeHandleState/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testSetNamedPipeHandleState/CMakeLists.txt
@@ -4,7 +4,7 @@
## testSetNamedPipeHandleState Binary:
#####################################################################
-qt_add_executable(testSetNamedPipeHandleState
+qt_internal_add_executable(testSetNamedPipeHandleState
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testSetWorkingDirectory/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testSetWorkingDirectory/CMakeLists.txt
index 54a8b1b4d1..97410c1b49 100644
--- a/tests/auto/corelib/io/qprocess/testSetWorkingDirectory/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testSetWorkingDirectory/CMakeLists.txt
@@ -4,7 +4,7 @@
## testSetWorkingDirectory Binary:
#####################################################################
-qt_add_executable(testSetWorkingDirectory
+qt_internal_add_executable(testSetWorkingDirectory
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocess/testSoftExit/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testSoftExit/CMakeLists.txt
index ec2d9433b2..ab78f9acdb 100644
--- a/tests/auto/corelib/io/qprocess/testSoftExit/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testSoftExit/CMakeLists.txt
@@ -4,21 +4,21 @@
## testSoftExit Binary:
#####################################################################
-qt_add_executable(testSoftExit
+qt_internal_add_executable(testSoftExit
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
)
## Scopes:
#####################################################################
-qt_extend_target(testSoftExit CONDITION WIN32
+qt_internal_extend_target(testSoftExit CONDITION WIN32
SOURCES
main_win.cpp
PUBLIC_LIBRARIES
user32
)
-qt_extend_target(testSoftExit CONDITION UNIX
+qt_internal_extend_target(testSoftExit CONDITION UNIX
SOURCES
main_unix.cpp
)
diff --git a/tests/auto/corelib/io/qprocess/testSpaceInName/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testSpaceInName/CMakeLists.txt
index 1ca31c59df..e59ad51d6e 100644
--- a/tests/auto/corelib/io/qprocess/testSpaceInName/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocess/testSpaceInName/CMakeLists.txt
@@ -4,7 +4,7 @@
## testSpaceInName Binary:
#####################################################################
-qt_add_executable(testSpaceInName
+qt_internal_add_executable(testSpaceInName
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../test Space In Name"
SOURCES
main.cpp
diff --git a/tests/auto/corelib/io/qprocessenvironment/CMakeLists.txt b/tests/auto/corelib/io/qprocessenvironment/CMakeLists.txt
index ba935455af..d612a32374 100644
--- a/tests/auto/corelib/io/qprocessenvironment/CMakeLists.txt
+++ b/tests/auto/corelib/io/qprocessenvironment/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qprocessenvironment Test:
#####################################################################
-qt_add_test(tst_qprocessenvironment
+qt_internal_add_test(tst_qprocessenvironment
SOURCES
tst_qprocessenvironment.cpp
)
diff --git a/tests/auto/corelib/io/qsavefile/CMakeLists.txt b/tests/auto/corelib/io/qsavefile/CMakeLists.txt
index f2c8cf0a56..0b41340279 100644
--- a/tests/auto/corelib/io/qsavefile/CMakeLists.txt
+++ b/tests/auto/corelib/io/qsavefile/CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "tst_qsavefile.cpp")
-qt_add_test(tst_qsavefile
+qt_internal_add_test(tst_qsavefile
SOURCES
tst_qsavefile.cpp
TESTDATA ${test_data}
diff --git a/tests/auto/corelib/io/qsettings/CMakeLists.txt b/tests/auto/corelib/io/qsettings/CMakeLists.txt
index 3cc9547d3c..c12f94cf36 100644
--- a/tests/auto/corelib/io/qsettings/CMakeLists.txt
+++ b/tests/auto/corelib/io/qsettings/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qsettings Test:
#####################################################################
-qt_add_test(tst_qsettings
+qt_internal_add_test(tst_qsettings
SOURCES
tst_qsettings.cpp
DEFINES
@@ -28,7 +28,7 @@ set(qsettings_resource_files
"withcomments.ini"
)
-qt_add_resource(tst_qsettings "qsettings"
+qt_internal_add_resource(tst_qsettings "qsettings"
PREFIX
"/"
FILES
@@ -39,12 +39,12 @@ qt_add_resource(tst_qsettings "qsettings"
## Scopes:
#####################################################################
-qt_extend_target(tst_qsettings CONDITION MSVC
+qt_internal_extend_target(tst_qsettings CONDITION MSVC
PUBLIC_LIBRARIES
advapi32
)
-qt_extend_target(tst_qsettings CONDITION APPLE
+qt_internal_extend_target(tst_qsettings CONDITION APPLE
PUBLIC_LIBRARIES
${FWCoreFoundation}
)
diff --git a/tests/auto/corelib/io/qstandardpaths/CMakeLists.txt b/tests/auto/corelib/io/qstandardpaths/CMakeLists.txt
index 74ec2cd855..0a6f45c8fd 100644
--- a/tests/auto/corelib/io/qstandardpaths/CMakeLists.txt
+++ b/tests/auto/corelib/io/qstandardpaths/CMakeLists.txt
@@ -8,7 +8,7 @@
list(APPEND test_data "tst_qstandardpaths.cpp")
list(APPEND test_data "qstandardpaths.pro")
-qt_add_test(tst_qstandardpaths
+qt_internal_add_test(tst_qstandardpaths
SOURCES
tst_qstandardpaths.cpp
TESTDATA ${test_data}
@@ -17,7 +17,7 @@ qt_add_test(tst_qstandardpaths
## Scopes:
#####################################################################
-qt_extend_target(tst_qstandardpaths CONDITION boot2qt
+qt_internal_extend_target(tst_qstandardpaths CONDITION boot2qt
DEFINES
SKIP_FINDEXECUTABLE
)
diff --git a/tests/auto/corelib/io/qstorageinfo/CMakeLists.txt b/tests/auto/corelib/io/qstorageinfo/CMakeLists.txt
index e2a47a2832..be3a8c3afe 100644
--- a/tests/auto/corelib/io/qstorageinfo/CMakeLists.txt
+++ b/tests/auto/corelib/io/qstorageinfo/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstorageinfo Test:
#####################################################################
-qt_add_test(tst_qstorageinfo
+qt_internal_add_test(tst_qstorageinfo
SOURCES
tst_qstorageinfo.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/io/qtemporarydir/CMakeLists.txt b/tests/auto/corelib/io/qtemporarydir/CMakeLists.txt
index f1c3db54d0..58eb49dff8 100644
--- a/tests/auto/corelib/io/qtemporarydir/CMakeLists.txt
+++ b/tests/auto/corelib/io/qtemporarydir/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtemporarydir Test:
#####################################################################
-qt_add_test(tst_qtemporarydir
+qt_internal_add_test(tst_qtemporarydir
SOURCES
../../../../shared/emulationdetector.h
tst_qtemporarydir.cpp
diff --git a/tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt b/tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt
index 9b35f72a69..11d4b991ce 100644
--- a/tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt
+++ b/tests/auto/corelib/io/qtemporaryfile/CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "tst_qtemporaryfile.cpp")
-qt_add_test(tst_qtemporaryfile
+qt_internal_add_test(tst_qtemporaryfile
SOURCES
tst_qtemporaryfile.cpp
PUBLIC_LIBRARIES
@@ -20,7 +20,7 @@ set(qtemporaryfile_resource_files
"resources/test.txt"
)
-qt_add_resource(tst_qtemporaryfile "qtemporaryfile"
+qt_internal_add_resource(tst_qtemporaryfile "qtemporaryfile"
PREFIX
"/"
FILES
@@ -38,7 +38,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
"tst_qtemporaryfile.cpp"
)
- qt_add_resource(tst_qtemporaryfile "android_testdata"
+ qt_internal_add_resource(tst_qtemporaryfile "android_testdata"
PREFIX
"/android_testdata"
FILES
diff --git a/tests/auto/corelib/io/qurl/CMakeLists.txt b/tests/auto/corelib/io/qurl/CMakeLists.txt
index 2ea06f62d7..ce386c142c 100644
--- a/tests/auto/corelib/io/qurl/CMakeLists.txt
+++ b/tests/auto/corelib/io/qurl/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qurl Test:
#####################################################################
-qt_add_test(tst_qurl
+qt_internal_add_test(tst_qurl
SOURCES
tst_qurl.cpp
PUBLIC_LIBRARIES
@@ -14,7 +14,7 @@ qt_add_test(tst_qurl
## Scopes:
#####################################################################
-qt_extend_target(tst_qurl CONDITION APPLE
+qt_internal_extend_target(tst_qurl CONDITION APPLE
SOURCES
tst_qurl_mac.mm
)
diff --git a/tests/auto/corelib/io/qurlinternal/CMakeLists.txt b/tests/auto/corelib/io/qurlinternal/CMakeLists.txt
index 80f8e0d128..492ac0a4d6 100644
--- a/tests/auto/corelib/io/qurlinternal/CMakeLists.txt
+++ b/tests/auto/corelib/io/qurlinternal/CMakeLists.txt
@@ -8,7 +8,7 @@ endif()
## tst_qurlinternal Test:
#####################################################################
-qt_add_test(tst_qurlinternal
+qt_internal_add_test(tst_qurlinternal
SOURCES
tst_qurlinternal.cpp
utf8data.cpp
diff --git a/tests/auto/corelib/io/qurlquery/CMakeLists.txt b/tests/auto/corelib/io/qurlquery/CMakeLists.txt
index b85e688b45..1d68c01325 100644
--- a/tests/auto/corelib/io/qurlquery/CMakeLists.txt
+++ b/tests/auto/corelib/io/qurlquery/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qurlquery Test:
#####################################################################
-qt_add_test(tst_qurlquery
+qt_internal_add_test(tst_qurlquery
SOURCES
tst_qurlquery.cpp
DEFINES
diff --git a/tests/auto/corelib/itemmodels/qabstractitemmodel/CMakeLists.txt b/tests/auto/corelib/itemmodels/qabstractitemmodel/CMakeLists.txt
index 33d790ddc5..2f91f7d41a 100644
--- a/tests/auto/corelib/itemmodels/qabstractitemmodel/CMakeLists.txt
+++ b/tests/auto/corelib/itemmodels/qabstractitemmodel/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qabstractitemmodel Test:
#####################################################################
-qt_add_test(tst_qabstractitemmodel
+qt_internal_add_test(tst_qabstractitemmodel
SOURCES
../../../other/qabstractitemmodelutils/dynamictreemodel.cpp ../../../other/qabstractitemmodelutils/dynamictreemodel.h
tst_qabstractitemmodel.cpp
diff --git a/tests/auto/corelib/itemmodels/qabstractproxymodel/CMakeLists.txt b/tests/auto/corelib/itemmodels/qabstractproxymodel/CMakeLists.txt
index f3915f98bb..277556b915 100644
--- a/tests/auto/corelib/itemmodels/qabstractproxymodel/CMakeLists.txt
+++ b/tests/auto/corelib/itemmodels/qabstractproxymodel/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qabstractproxymodel Test:
#####################################################################
-qt_add_test(tst_qabstractproxymodel
+qt_internal_add_test(tst_qabstractproxymodel
SOURCES
tst_qabstractproxymodel.cpp
DEFINES
diff --git a/tests/auto/corelib/itemmodels/qconcatenatetablesproxymodel/CMakeLists.txt b/tests/auto/corelib/itemmodels/qconcatenatetablesproxymodel/CMakeLists.txt
index d20abd3655..40dd512489 100644
--- a/tests/auto/corelib/itemmodels/qconcatenatetablesproxymodel/CMakeLists.txt
+++ b/tests/auto/corelib/itemmodels/qconcatenatetablesproxymodel/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qconcatenatetablesproxymodel Test:
#####################################################################
-qt_add_test(tst_qconcatenatetablesproxymodel
+qt_internal_add_test(tst_qconcatenatetablesproxymodel
SOURCES
tst_qconcatenatetablesproxymodel.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/itemmodels/qidentityproxymodel/CMakeLists.txt b/tests/auto/corelib/itemmodels/qidentityproxymodel/CMakeLists.txt
index cd8b2843b5..fb2ae55215 100644
--- a/tests/auto/corelib/itemmodels/qidentityproxymodel/CMakeLists.txt
+++ b/tests/auto/corelib/itemmodels/qidentityproxymodel/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qidentityproxymodel Test:
#####################################################################
-qt_add_test(tst_qidentityproxymodel
+qt_internal_add_test(tst_qidentityproxymodel
SOURCES
../../../other/qabstractitemmodelutils/dynamictreemodel.cpp ../../../other/qabstractitemmodelutils/dynamictreemodel.h
tst_qidentityproxymodel.cpp
diff --git a/tests/auto/corelib/itemmodels/qitemmodel/CMakeLists.txt b/tests/auto/corelib/itemmodels/qitemmodel/CMakeLists.txt
index c3174fe77d..7dda1a3964 100644
--- a/tests/auto/corelib/itemmodels/qitemmodel/CMakeLists.txt
+++ b/tests/auto/corelib/itemmodels/qitemmodel/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qitemmodel Test:
#####################################################################
-qt_add_test(tst_qitemmodel
+qt_internal_add_test(tst_qitemmodel
SOURCES
tst_qitemmodel.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/itemmodels/qitemselectionmodel/CMakeLists.txt b/tests/auto/corelib/itemmodels/qitemselectionmodel/CMakeLists.txt
index 308a526307..2dfa6f98f8 100644
--- a/tests/auto/corelib/itemmodels/qitemselectionmodel/CMakeLists.txt
+++ b/tests/auto/corelib/itemmodels/qitemselectionmodel/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qitemselectionmodel Test:
#####################################################################
-qt_add_test(tst_qitemselectionmodel
+qt_internal_add_test(tst_qitemselectionmodel
SOURCES
tst_qitemselectionmodel.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/itemmodels/qsortfilterproxymodel_recursive/CMakeLists.txt b/tests/auto/corelib/itemmodels/qsortfilterproxymodel_recursive/CMakeLists.txt
index 1849ffff4f..815b68e582 100644
--- a/tests/auto/corelib/itemmodels/qsortfilterproxymodel_recursive/CMakeLists.txt
+++ b/tests/auto/corelib/itemmodels/qsortfilterproxymodel_recursive/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qsortfilterproxymodel_recursive Test:
#####################################################################
-qt_add_test(tst_qsortfilterproxymodel_recursive
+qt_internal_add_test(tst_qsortfilterproxymodel_recursive
SOURCES
tst_qsortfilterproxymodel_recursive.cpp
DEFINES
diff --git a/tests/auto/corelib/itemmodels/qsortfilterproxymodel_regularexpression/CMakeLists.txt b/tests/auto/corelib/itemmodels/qsortfilterproxymodel_regularexpression/CMakeLists.txt
index 47cb6aab34..7c4f60dab4 100644
--- a/tests/auto/corelib/itemmodels/qsortfilterproxymodel_regularexpression/CMakeLists.txt
+++ b/tests/auto/corelib/itemmodels/qsortfilterproxymodel_regularexpression/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qsortfilterproxymodel_regularexpression Test:
#####################################################################
-qt_add_test(tst_qsortfilterproxymodel_regularexpression
+qt_internal_add_test(tst_qsortfilterproxymodel_regularexpression
SOURCES
../../../other/qabstractitemmodelutils/dynamictreemodel.cpp ../../../other/qabstractitemmodelutils/dynamictreemodel.h
../qsortfilterproxymodel_common/tst_qsortfilterproxymodel.cpp ../qsortfilterproxymodel_common/tst_qsortfilterproxymodel.h
diff --git a/tests/auto/corelib/itemmodels/qstringlistmodel/CMakeLists.txt b/tests/auto/corelib/itemmodels/qstringlistmodel/CMakeLists.txt
index 18d34f8951..c6123bb1e3 100644
--- a/tests/auto/corelib/itemmodels/qstringlistmodel/CMakeLists.txt
+++ b/tests/auto/corelib/itemmodels/qstringlistmodel/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstringlistmodel Test:
#####################################################################
-qt_add_test(tst_qstringlistmodel
+qt_internal_add_test(tst_qstringlistmodel
SOURCES
qmodellistener.h
tst_qstringlistmodel.cpp
diff --git a/tests/auto/corelib/itemmodels/qtransposeproxymodel/CMakeLists.txt b/tests/auto/corelib/itemmodels/qtransposeproxymodel/CMakeLists.txt
index 57c8309d05..7cc675d7fd 100644
--- a/tests/auto/corelib/itemmodels/qtransposeproxymodel/CMakeLists.txt
+++ b/tests/auto/corelib/itemmodels/qtransposeproxymodel/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtransposeproxymodel Test:
#####################################################################
-qt_add_test(tst_qtransposeproxymodel
+qt_internal_add_test(tst_qtransposeproxymodel
SOURCES
tst_qtransposeproxymodel.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/kernel/qcoreapplication/.prev_CMakeLists.txt b/tests/auto/corelib/kernel/qcoreapplication/.prev_CMakeLists.txt
index 08d1338d02..9d5d5bfc1c 100644
--- a/tests/auto/corelib/kernel/qcoreapplication/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qcoreapplication/.prev_CMakeLists.txt
@@ -8,7 +8,7 @@ endif()
## tst_qcoreapplication Test:
#####################################################################
-qt_add_test(tst_qcoreapplication
+qt_internal_add_test(tst_qcoreapplication
SOURCES
tst_qcoreapplication.cpp tst_qcoreapplication.h
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/kernel/qcoreapplication/CMakeLists.txt b/tests/auto/corelib/kernel/qcoreapplication/CMakeLists.txt
index e552860688..24be474f90 100644
--- a/tests/auto/corelib/kernel/qcoreapplication/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qcoreapplication/CMakeLists.txt
@@ -16,7 +16,7 @@ else()
endif()
# special case end
-qt_add_test(tst_qcoreapplication
+qt_internal_add_test(tst_qcoreapplication
VERSION ${target_version} # special case
SOURCES
tst_qcoreapplication.cpp tst_qcoreapplication.h
diff --git a/tests/auto/corelib/kernel/qdeadlinetimer/CMakeLists.txt b/tests/auto/corelib/kernel/qdeadlinetimer/CMakeLists.txt
index 933f8e937e..8c8721abf5 100644
--- a/tests/auto/corelib/kernel/qdeadlinetimer/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qdeadlinetimer/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdeadlinetimer Test:
#####################################################################
-qt_add_test(tst_qdeadlinetimer
+qt_internal_add_test(tst_qdeadlinetimer
SOURCES
tst_qdeadlinetimer.cpp
)
diff --git a/tests/auto/corelib/kernel/qelapsedtimer/CMakeLists.txt b/tests/auto/corelib/kernel/qelapsedtimer/CMakeLists.txt
index e88fb72bec..1592303ae3 100644
--- a/tests/auto/corelib/kernel/qelapsedtimer/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qelapsedtimer/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qelapsedtimer Test:
#####################################################################
-qt_add_test(tst_qelapsedtimer
+qt_internal_add_test(tst_qelapsedtimer
SOURCES
tst_qelapsedtimer.cpp
)
diff --git a/tests/auto/corelib/kernel/qeventdispatcher/CMakeLists.txt b/tests/auto/corelib/kernel/qeventdispatcher/CMakeLists.txt
index 1893dedc30..409764a2c7 100644
--- a/tests/auto/corelib/kernel/qeventdispatcher/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qeventdispatcher/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qeventdispatcher Test:
#####################################################################
-qt_add_test(tst_qeventdispatcher
+qt_internal_add_test(tst_qeventdispatcher
SOURCES
tst_qeventdispatcher.cpp
)
diff --git a/tests/auto/corelib/kernel/qeventloop/CMakeLists.txt b/tests/auto/corelib/kernel/qeventloop/CMakeLists.txt
index b09f6715e1..d3b817598e 100644
--- a/tests/auto/corelib/kernel/qeventloop/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qeventloop/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qeventloop Test:
#####################################################################
-qt_add_test(tst_qeventloop
+qt_internal_add_test(tst_qeventloop
SOURCES
tst_qeventloop.cpp
PUBLIC_LIBRARIES
@@ -15,12 +15,12 @@ qt_add_test(tst_qeventloop
## Scopes:
#####################################################################
-qt_extend_target(tst_qeventloop CONDITION WIN32
+qt_internal_extend_target(tst_qeventloop CONDITION WIN32
PUBLIC_LIBRARIES
user32
)
-qt_extend_target(tst_qeventloop CONDITION QT_FEATURE_glib
+qt_internal_extend_target(tst_qeventloop CONDITION QT_FEATURE_glib
DEFINES
HAVE_GLIB
)
diff --git a/tests/auto/corelib/kernel/qmath/CMakeLists.txt b/tests/auto/corelib/kernel/qmath/CMakeLists.txt
index 4174144141..7a6d4bd688 100644
--- a/tests/auto/corelib/kernel/qmath/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qmath/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmath Test:
#####################################################################
-qt_add_test(tst_qmath
+qt_internal_add_test(tst_qmath
SOURCES
tst_qmath.cpp
)
diff --git a/tests/auto/corelib/kernel/qmetacontainer/CMakeLists.txt b/tests/auto/corelib/kernel/qmetacontainer/CMakeLists.txt
index 6f0192155d..1e2ca88484 100644
--- a/tests/auto/corelib/kernel/qmetacontainer/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qmetacontainer/CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "./typeFlags.bin")
-qt_add_test(tst_qmetacontainer
+qt_internal_add_test(tst_qmetacontainer
SOURCES
tst_qmetacontainer.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/kernel/qmetaenum/CMakeLists.txt b/tests/auto/corelib/kernel/qmetaenum/CMakeLists.txt
index eba96be7db..daee210588 100644
--- a/tests/auto/corelib/kernel/qmetaenum/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qmetaenum/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmetaenum Test:
#####################################################################
-qt_add_test(tst_qmetaenum
+qt_internal_add_test(tst_qmetaenum
SOURCES
tst_qmetaenum.cpp
)
diff --git a/tests/auto/corelib/kernel/qmetamethod/CMakeLists.txt b/tests/auto/corelib/kernel/qmetamethod/CMakeLists.txt
index 5062dc7a3f..6ab3f143ac 100644
--- a/tests/auto/corelib/kernel/qmetamethod/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qmetamethod/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmetamethod Test:
#####################################################################
-qt_add_test(tst_qmetamethod
+qt_internal_add_test(tst_qmetamethod
SOURCES
tst_qmetamethod.cpp
)
diff --git a/tests/auto/corelib/kernel/qmetaobject/CMakeLists.txt b/tests/auto/corelib/kernel/qmetaobject/CMakeLists.txt
index 0a9a839505..d0736f418d 100644
--- a/tests/auto/corelib/kernel/qmetaobject/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qmetaobject/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmetaobject Test:
#####################################################################
-qt_add_test(tst_qmetaobject
+qt_internal_add_test(tst_qmetaobject
SOURCES
tst_qmetaobject.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/kernel/qmetaobjectbuilder/CMakeLists.txt b/tests/auto/corelib/kernel/qmetaobjectbuilder/CMakeLists.txt
index bae83c137f..2171b18b2f 100644
--- a/tests/auto/corelib/kernel/qmetaobjectbuilder/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qmetaobjectbuilder/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmetaobjectbuilder Test:
#####################################################################
-qt_add_test(tst_qmetaobjectbuilder
+qt_internal_add_test(tst_qmetaobjectbuilder
SOURCES
tst_qmetaobjectbuilder.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/kernel/qmetaproperty/CMakeLists.txt b/tests/auto/corelib/kernel/qmetaproperty/CMakeLists.txt
index 0c9c0a810c..b69be31b1e 100644
--- a/tests/auto/corelib/kernel/qmetaproperty/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qmetaproperty/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmetaproperty Test:
#####################################################################
-qt_add_test(tst_qmetaproperty
+qt_internal_add_test(tst_qmetaproperty
SOURCES
tst_qmetaproperty.cpp
)
diff --git a/tests/auto/corelib/kernel/qmetatype/.prev_CMakeLists.txt b/tests/auto/corelib/kernel/qmetatype/.prev_CMakeLists.txt
deleted file mode 100644
index 16188d2d33..0000000000
--- a/tests/auto/corelib/kernel/qmetatype/.prev_CMakeLists.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-# Generated from qmetatype.pro.
-
-#####################################################################
-## tst_qmetatype Test:
-#####################################################################
-
-# Collect test data
-list(APPEND test_data "./typeFlags.bin")
-
-qt_add_test(tst_qmetatype
- SOURCES
- tst_qmetatype.cpp
- DEFINES
- QT_DISABLE_DEPRECATED_BEFORE=0
- INCLUDE_DIRECTORIES
- ../../../other/qvariant_common
- PUBLIC_LIBRARIES
- Qt::CorePrivate
- Qt::Gui
- TESTDATA ${test_data}
-)
-
-## Scopes:
-#####################################################################
-
-qt_extend_target(tst_qmetatype CONDITION MSVC
- COMPILE_OPTIONS
- /bigobj
-)
-
-#### Keys ignored in scope 3:.:.:qmetatype.pro:CLANG:
-# QMAKE_CFLAGS_RELEASE = "--O2" "--g"
-# QMAKE_CXXFLAGS_RELEASE = "--O2" "--g"
-
-qt_extend_target(tst_qmetatype CONDITION CLANG AND (TEST_architecture_arch STREQUAL "arm")
- DEFINES
- TST_QMETATYPE_BROKEN_COMPILER
-)
diff --git a/tests/auto/corelib/kernel/qmetatype/CMakeLists.txt b/tests/auto/corelib/kernel/qmetatype/CMakeLists.txt
index 16188d2d33..d3e576127f 100644
--- a/tests/auto/corelib/kernel/qmetatype/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qmetatype/CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "./typeFlags.bin")
-qt_add_test(tst_qmetatype
+qt_internal_add_test(tst_qmetatype
SOURCES
tst_qmetatype.cpp
DEFINES
@@ -23,7 +23,7 @@ qt_add_test(tst_qmetatype
## Scopes:
#####################################################################
-qt_extend_target(tst_qmetatype CONDITION MSVC
+qt_internal_extend_target(tst_qmetatype CONDITION MSVC
COMPILE_OPTIONS
/bigobj
)
@@ -32,7 +32,7 @@ qt_extend_target(tst_qmetatype CONDITION MSVC
# QMAKE_CFLAGS_RELEASE = "--O2" "--g"
# QMAKE_CXXFLAGS_RELEASE = "--O2" "--g"
-qt_extend_target(tst_qmetatype CONDITION CLANG AND (TEST_architecture_arch STREQUAL "arm")
+qt_internal_extend_target(tst_qmetatype CONDITION CLANG AND (TEST_architecture_arch STREQUAL "arm")
DEFINES
TST_QMETATYPE_BROKEN_COMPILER
)
diff --git a/tests/auto/corelib/kernel/qmimedata/CMakeLists.txt b/tests/auto/corelib/kernel/qmimedata/CMakeLists.txt
index 4400dfd46e..ec5505d3e0 100644
--- a/tests/auto/corelib/kernel/qmimedata/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qmimedata/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmimedata Test:
#####################################################################
-qt_add_test(tst_qmimedata
+qt_internal_add_test(tst_qmimedata
SOURCES
tst_qmimedata.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/kernel/qobject/.prev_CMakeLists.txt b/tests/auto/corelib/kernel/qobject/.prev_CMakeLists.txt
index ea894ff3d3..67ec3b7631 100644
--- a/tests/auto/corelib/kernel/qobject/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qobject/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qobject Test:
#####################################################################
-qt_add_test(tst_qobject
+qt_internal_add_test(tst_qobject
SOURCES
tst_qobject.cpp
DEFINES
diff --git a/tests/auto/corelib/kernel/qobject/CMakeLists.txt b/tests/auto/corelib/kernel/qobject/CMakeLists.txt
index 47179410b0..7ff42f7212 100644
--- a/tests/auto/corelib/kernel/qobject/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qobject/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qobject Test:
#####################################################################
-qt_add_test(tst_qobject
+qt_internal_add_test(tst_qobject
SOURCES
tst_qobject.cpp
DEFINES
diff --git a/tests/auto/corelib/kernel/qobject/signalbug/CMakeLists.txt b/tests/auto/corelib/kernel/qobject/signalbug/CMakeLists.txt
index 9dadd94f04..b479ada78e 100644
--- a/tests/auto/corelib/kernel/qobject/signalbug/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qobject/signalbug/CMakeLists.txt
@@ -4,7 +4,7 @@
## signalbug_helper Binary:
#####################################################################
-qt_add_test_helper(signalbug_helper
+qt_internal_add_test_helper(signalbug_helper
SOURCES
signalbug.cpp signalbug.h
)
diff --git a/tests/auto/corelib/kernel/qpointer/CMakeLists.txt b/tests/auto/corelib/kernel/qpointer/CMakeLists.txt
index a24f25b087..cfafc1eb11 100644
--- a/tests/auto/corelib/kernel/qpointer/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qpointer/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpointer Test:
#####################################################################
-qt_add_test(tst_qpointer
+qt_internal_add_test(tst_qpointer
SOURCES
tst_qpointer.cpp
)
@@ -12,7 +12,7 @@ qt_add_test(tst_qpointer
## Scopes:
#####################################################################
-qt_extend_target(tst_qpointer CONDITION TARGET Qt::Widgets
+qt_internal_extend_target(tst_qpointer CONDITION TARGET Qt::Widgets
PUBLIC_LIBRARIES
Qt::Widgets
)
diff --git a/tests/auto/corelib/kernel/qproperty/CMakeLists.txt b/tests/auto/corelib/kernel/qproperty/CMakeLists.txt
index 5521111ef8..55a5d71752 100644
--- a/tests/auto/corelib/kernel/qproperty/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qproperty/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qproperty Test:
#####################################################################
-qt_add_test(tst_qproperty
+qt_internal_add_test(tst_qproperty
SOURCES
tst_qproperty.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/kernel/qsharedmemory/.prev_CMakeLists.txt b/tests/auto/corelib/kernel/qsharedmemory/.prev_CMakeLists.txt
index 90a9c9e17c..0f654b0691 100644
--- a/tests/auto/corelib/kernel/qsharedmemory/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qsharedmemory/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qsharedmemory Test:
#####################################################################
- qt_add_test(tst_qsharedmemory
+ qt_internal_add_test(tst_qsharedmemory
SOURCES
tst_qsharedmemory.cpp
PUBLIC_LIBRARIES
@@ -14,7 +14,7 @@
## Scopes:
#####################################################################
- qt_extend_target(tst_qsharedmemory CONDITION LINUX
+ qt_internal_extend_target(tst_qsharedmemory CONDITION LINUX
PUBLIC_LIBRARIES
rt
)
diff --git a/tests/auto/corelib/kernel/qsharedmemory/CMakeLists.txt b/tests/auto/corelib/kernel/qsharedmemory/CMakeLists.txt
index 8fb89d9af9..f853f00440 100644
--- a/tests/auto/corelib/kernel/qsharedmemory/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qsharedmemory/CMakeLists.txt
@@ -5,7 +5,7 @@ if(QT_FEATURE_sharedmemory) # special case
## tst_qsharedmemory Test:
#####################################################################
- qt_add_test(tst_qsharedmemory
+ qt_internal_add_test(tst_qsharedmemory
SOURCES
tst_qsharedmemory.cpp
PUBLIC_LIBRARIES
@@ -15,7 +15,7 @@ if(QT_FEATURE_sharedmemory) # special case
## Scopes:
#####################################################################
- qt_extend_target(tst_qsharedmemory CONDITION LINUX
+ qt_internal_extend_target(tst_qsharedmemory CONDITION LINUX
PUBLIC_LIBRARIES
rt
)
diff --git a/tests/auto/corelib/kernel/qsharedmemory/producerconsumer/CMakeLists.txt b/tests/auto/corelib/kernel/qsharedmemory/producerconsumer/CMakeLists.txt
index 31d7f0386e..610e2d507f 100644
--- a/tests/auto/corelib/kernel/qsharedmemory/producerconsumer/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qsharedmemory/producerconsumer/CMakeLists.txt
@@ -4,7 +4,7 @@
## producerconsumer_helper Binary:
#####################################################################
-qt_add_test_helper(producerconsumer_helper
+qt_internal_add_test_helper(producerconsumer_helper
SOURCES
main.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/kernel/qsignalblocker/CMakeLists.txt b/tests/auto/corelib/kernel/qsignalblocker/CMakeLists.txt
index a7a6306bfc..ff5a20bcad 100644
--- a/tests/auto/corelib/kernel/qsignalblocker/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qsignalblocker/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qsignalblocker Test:
#####################################################################
-qt_add_test(tst_qsignalblocker
+qt_internal_add_test(tst_qsignalblocker
SOURCES
tst_qsignalblocker.cpp
)
diff --git a/tests/auto/corelib/kernel/qsignalmapper/CMakeLists.txt b/tests/auto/corelib/kernel/qsignalmapper/CMakeLists.txt
index 9ce292c242..064b6722f8 100644
--- a/tests/auto/corelib/kernel/qsignalmapper/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qsignalmapper/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qsignalmapper Test:
#####################################################################
-qt_add_test(tst_qsignalmapper
+qt_internal_add_test(tst_qsignalmapper
SOURCES
tst_qsignalmapper.cpp
)
diff --git a/tests/auto/corelib/kernel/qsocketnotifier/CMakeLists.txt b/tests/auto/corelib/kernel/qsocketnotifier/CMakeLists.txt
index 2367a8a54e..d5b00ae69f 100644
--- a/tests/auto/corelib/kernel/qsocketnotifier/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qsocketnotifier/CMakeLists.txt
@@ -8,7 +8,7 @@ endif()
## tst_qsocketnotifier Test:
#####################################################################
-qt_add_test(tst_qsocketnotifier
+qt_internal_add_test(tst_qsocketnotifier
SOURCES
tst_qsocketnotifier.cpp
INCLUDE_DIRECTORIES
@@ -25,7 +25,7 @@ qt_add_test(tst_qsocketnotifier
## Scopes:
#####################################################################
-qt_extend_target(tst_qsocketnotifier CONDITION WIN32
+qt_internal_extend_target(tst_qsocketnotifier CONDITION WIN32
PUBLIC_LIBRARIES
ws2_32
)
diff --git a/tests/auto/corelib/kernel/qsystemsemaphore/CMakeLists.txt b/tests/auto/corelib/kernel/qsystemsemaphore/CMakeLists.txt
index 0024c522e4..1c091bd979 100644
--- a/tests/auto/corelib/kernel/qsystemsemaphore/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qsystemsemaphore/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qsystemsemaphore Test:
#####################################################################
-qt_add_test(tst_qsystemsemaphore
+qt_internal_add_test(tst_qsystemsemaphore
SOURCES
tst_qsystemsemaphore.cpp
)
diff --git a/tests/auto/corelib/kernel/qsystemsemaphore/acquirerelease/CMakeLists.txt b/tests/auto/corelib/kernel/qsystemsemaphore/acquirerelease/CMakeLists.txt
index 74f7bf3f61..f34076350e 100644
--- a/tests/auto/corelib/kernel/qsystemsemaphore/acquirerelease/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qsystemsemaphore/acquirerelease/CMakeLists.txt
@@ -4,7 +4,7 @@
## acquirerelease_helper Binary:
#####################################################################
-qt_add_test_helper(acquirerelease_helper
+qt_internal_add_test_helper(acquirerelease_helper
SOURCES
main.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/kernel/qtimer/CMakeLists.txt b/tests/auto/corelib/kernel/qtimer/CMakeLists.txt
index d6e41f6344..39a40b6983 100644
--- a/tests/auto/corelib/kernel/qtimer/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qtimer/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtimer Test:
#####################################################################
-qt_add_test(tst_qtimer
+qt_internal_add_test(tst_qtimer
SOURCES
tst_qtimer.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/kernel/qtranslator/CMakeLists.txt b/tests/auto/corelib/kernel/qtranslator/CMakeLists.txt
index e1cefa3325..e6dc145472 100644
--- a/tests/auto/corelib/kernel/qtranslator/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qtranslator/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtranslator Test:
#####################################################################
-qt_add_test(tst_qtranslator
+qt_internal_add_test(tst_qtranslator
SOURCES
tst_qtranslator.cpp
)
@@ -15,7 +15,7 @@ set(qtranslator_resource_files
"hellotr_la.qm"
)
-qt_add_resource(tst_qtranslator "qtranslator"
+qt_internal_add_resource(tst_qtranslator "qtranslator"
PREFIX
"/tst_qtranslator"
FILES
@@ -35,7 +35,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
"msgfmt_from_po.qm"
)
- qt_add_resource(tst_qtranslator "android_testdata"
+ qt_internal_add_resource(tst_qtranslator "android_testdata"
PREFIX
"/android_testdata"
FILES
diff --git a/tests/auto/corelib/kernel/qvariant/.prev_CMakeLists.txt b/tests/auto/corelib/kernel/qvariant/.prev_CMakeLists.txt
deleted file mode 100644
index 9534e22368..0000000000
--- a/tests/auto/corelib/kernel/qvariant/.prev_CMakeLists.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-# Generated from qvariant.pro.
-
-#####################################################################
-## tst_qvariant Test:
-#####################################################################
-
-qt_add_test(tst_qvariant
- SOURCES
- tst_qvariant.cpp
- DEFINES
- QT_DISABLE_DEPRECATED_BEFORE=0
- INCLUDE_DIRECTORIES
- ../../../other/qvariant_common
- PUBLIC_LIBRARIES
- Qt::CorePrivate
- Qt::Gui
-)
-
-# Resources:
-set(qvariant_resource_files
- "stream/qt4.9/"
- "stream/qt5.0/"
-)
-
-qt_add_resource(tst_qvariant "qvariant"
- PREFIX
- "/"
- FILES
- ${qvariant_resource_files}
-)
-
-
-## Scopes:
-#####################################################################
-
-qt_extend_target(tst_qvariant CONDITION MSVC
- COMPILE_OPTIONS
- /bigobj
-)
-
-qt_extend_target(tst_qvariant CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion
- DEFINES
- QT_NO_DOUBLECONVERSION
-)
diff --git a/tests/auto/corelib/kernel/qvariant/CMakeLists.txt b/tests/auto/corelib/kernel/qvariant/CMakeLists.txt
index 9534e22368..45bfa4e480 100644
--- a/tests/auto/corelib/kernel/qvariant/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qvariant/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qvariant Test:
#####################################################################
-qt_add_test(tst_qvariant
+qt_internal_add_test(tst_qvariant
SOURCES
tst_qvariant.cpp
DEFINES
@@ -22,7 +22,7 @@ set(qvariant_resource_files
"stream/qt5.0/"
)
-qt_add_resource(tst_qvariant "qvariant"
+qt_internal_add_resource(tst_qvariant "qvariant"
PREFIX
"/"
FILES
@@ -33,12 +33,12 @@ qt_add_resource(tst_qvariant "qvariant"
## Scopes:
#####################################################################
-qt_extend_target(tst_qvariant CONDITION MSVC
+qt_internal_extend_target(tst_qvariant CONDITION MSVC
COMPILE_OPTIONS
/bigobj
)
-qt_extend_target(tst_qvariant CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion
+qt_internal_extend_target(tst_qvariant CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion
DEFINES
QT_NO_DOUBLECONVERSION
)
diff --git a/tests/auto/corelib/kernel/qwineventnotifier/CMakeLists.txt b/tests/auto/corelib/kernel/qwineventnotifier/CMakeLists.txt
index 7974c3765b..b9bcb36771 100644
--- a/tests/auto/corelib/kernel/qwineventnotifier/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qwineventnotifier/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qwineventnotifier Test:
#####################################################################
-qt_add_test(tst_qwineventnotifier
+qt_internal_add_test(tst_qwineventnotifier
SOURCES
tst_qwineventnotifier.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/.prev_CMakeLists.txt b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/.prev_CMakeLists.txt
index 592ef6e513..b3c0879605 100644
--- a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/.prev_CMakeLists.txt
@@ -8,7 +8,7 @@ endif()
## tst_qmimedatabase-cache Test:
#####################################################################
-qt_add_test(tst_qmimedatabase-cache
+qt_internal_add_test(tst_qmimedatabase-cache
SOURCES
../tst_qmimedatabase.h
tst_qmimedatabase-cache.cpp
@@ -24,7 +24,7 @@ set(mimetypes_resource_files
"mime/packages/freedesktop.org.xml"
)
-qt_add_resource(tst_qmimedatabase-cache "mimetypes"
+qt_internal_add_resource(tst_qmimedatabase-cache "mimetypes"
PREFIX
"/qt-project.org/qmime/packages"
BASE
@@ -75,7 +75,7 @@ set(testdata_resource_files
"yast2-metapackage-handler-mimetypes.xml"
)
-qt_add_resource(tst_qmimedatabase-cache "testdata"
+qt_internal_add_resource(tst_qmimedatabase-cache "testdata"
PREFIX
"/qt-project.org/qmime"
BASE
@@ -91,7 +91,7 @@ qt_add_resource(tst_qmimedatabase-cache "testdata"
## Scopes:
#####################################################################
-qt_extend_target(tst_qmimedatabase-cache CONDITION GCC
+qt_internal_extend_target(tst_qmimedatabase-cache CONDITION GCC
COMPILE_OPTIONS
-W
-Wall
@@ -101,7 +101,7 @@ qt_extend_target(tst_qmimedatabase-cache CONDITION GCC
-Wshadow
)
-qt_extend_target(tst_qmimedatabase-cache CONDITION UNIX AND NOT APPLE AND NOT QNX
+qt_internal_extend_target(tst_qmimedatabase-cache CONDITION UNIX AND NOT APPLE AND NOT QNX
DEFINES
USE_XDG_DATA_DIRS
)
diff --git a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/CMakeLists.txt b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/CMakeLists.txt
index e47d721f54..b9ce8209f7 100644
--- a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/CMakeLists.txt
+++ b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/CMakeLists.txt
@@ -8,7 +8,7 @@ endif()
## tst_qmimedatabase-cache Test:
#####################################################################
-qt_add_test(tst_qmimedatabase-cache
+qt_internal_add_test(tst_qmimedatabase-cache
SOURCES
../tst_qmimedatabase.h
tst_qmimedatabase-cache.cpp
@@ -66,7 +66,7 @@ set(testdata_resource_files
"yast2-metapackage-handler-mimetypes.xml"
)
-qt_add_resource(tst_qmimedatabase-cache "testdata"
+qt_internal_add_resource(tst_qmimedatabase-cache "testdata"
PREFIX
"/qt-project.org/qmime"
BASE
@@ -87,7 +87,7 @@ corelib_add_mimetypes_resources(tst_qmimedatabase-cache)
## Scopes:
#####################################################################
-qt_extend_target(tst_qmimedatabase-cache CONDITION GCC
+qt_internal_extend_target(tst_qmimedatabase-cache CONDITION GCC
COMPILE_OPTIONS
-W
-Wall
@@ -97,7 +97,7 @@ qt_extend_target(tst_qmimedatabase-cache CONDITION GCC
-Wshadow
)
-qt_extend_target(tst_qmimedatabase-cache CONDITION UNIX AND NOT APPLE AND NOT QNX
+qt_internal_extend_target(tst_qmimedatabase-cache CONDITION UNIX AND NOT APPLE AND NOT QNX
DEFINES
USE_XDG_DATA_DIRS
)
diff --git a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/.prev_CMakeLists.txt b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/.prev_CMakeLists.txt
index d449343e56..b1cabd0b7e 100644
--- a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/.prev_CMakeLists.txt
@@ -8,7 +8,7 @@ endif()
## tst_qmimedatabase-xml Test:
#####################################################################
-qt_add_test(tst_qmimedatabase-xml
+qt_internal_add_test(tst_qmimedatabase-xml
SOURCES
../tst_qmimedatabase.h
tst_qmimedatabase-xml.cpp
@@ -24,7 +24,7 @@ set(mimetypes_resource_files
"mime/packages/freedesktop.org.xml"
)
-qt_add_resource(tst_qmimedatabase-xml "mimetypes"
+qt_internal_add_resource(tst_qmimedatabase-xml "mimetypes"
PREFIX
"/qt-project.org/qmime/packages"
BASE
@@ -75,7 +75,7 @@ set(testdata_resource_files
"yast2-metapackage-handler-mimetypes.xml"
)
-qt_add_resource(tst_qmimedatabase-xml "testdata"
+qt_internal_add_resource(tst_qmimedatabase-xml "testdata"
PREFIX
"/qt-project.org/qmime"
BASE
@@ -91,7 +91,7 @@ qt_add_resource(tst_qmimedatabase-xml "testdata"
## Scopes:
#####################################################################
-qt_extend_target(tst_qmimedatabase-xml CONDITION GCC
+qt_internal_extend_target(tst_qmimedatabase-xml CONDITION GCC
COMPILE_OPTIONS
-W
-Wall
@@ -101,7 +101,7 @@ qt_extend_target(tst_qmimedatabase-xml CONDITION GCC
-Wshadow
)
-qt_extend_target(tst_qmimedatabase-xml CONDITION UNIX AND NOT APPLE AND NOT QNX
+qt_internal_extend_target(tst_qmimedatabase-xml CONDITION UNIX AND NOT APPLE AND NOT QNX
DEFINES
USE_XDG_DATA_DIRS
)
diff --git a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/CMakeLists.txt b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/CMakeLists.txt
index 45770cf247..ddc5b99baa 100644
--- a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/CMakeLists.txt
+++ b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/CMakeLists.txt
@@ -8,7 +8,7 @@ endif()
## tst_qmimedatabase-xml Test:
#####################################################################
-qt_add_test(tst_qmimedatabase-xml
+qt_internal_add_test(tst_qmimedatabase-xml
SOURCES
../tst_qmimedatabase.h
tst_qmimedatabase-xml.cpp
@@ -66,7 +66,7 @@ set(testdata_resource_files
"yast2-metapackage-handler-mimetypes.xml"
)
-qt_add_resource(tst_qmimedatabase-xml "testdata"
+qt_internal_add_resource(tst_qmimedatabase-xml "testdata"
PREFIX
"/qt-project.org/qmime"
BASE
@@ -87,7 +87,7 @@ corelib_add_mimetypes_resources(tst_qmimedatabase-xml)
## Scopes:
#####################################################################
-qt_extend_target(tst_qmimedatabase-xml CONDITION GCC
+qt_internal_extend_target(tst_qmimedatabase-xml CONDITION GCC
COMPILE_OPTIONS
-W
-Wall
@@ -97,7 +97,7 @@ qt_extend_target(tst_qmimedatabase-xml CONDITION GCC
-Wshadow
)
-qt_extend_target(tst_qmimedatabase-xml CONDITION UNIX AND NOT APPLE AND NOT QNX
+qt_internal_extend_target(tst_qmimedatabase-xml CONDITION UNIX AND NOT APPLE AND NOT QNX
DEFINES
USE_XDG_DATA_DIRS
)
diff --git a/tests/auto/corelib/mimetypes/qmimetype/CMakeLists.txt b/tests/auto/corelib/mimetypes/qmimetype/CMakeLists.txt
index 7637ef5d2d..bb84fce94f 100644
--- a/tests/auto/corelib/mimetypes/qmimetype/CMakeLists.txt
+++ b/tests/auto/corelib/mimetypes/qmimetype/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmimetype Test:
#####################################################################
-qt_add_test(tst_qmimetype
+qt_internal_add_test(tst_qmimetype
SOURCES
tst_qmimetype.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/plugin/qfactoryloader/plugin1/CMakeLists.txt b/tests/auto/corelib/plugin/qfactoryloader/plugin1/CMakeLists.txt
index 2eaac94408..247c905d9e 100644
--- a/tests/auto/corelib/plugin/qfactoryloader/plugin1/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qfactoryloader/plugin1/CMakeLists.txt
@@ -4,7 +4,7 @@
## plugin1 Generic Library:
#####################################################################
-qt_add_cmake_library(plugin1
+qt_internal_add_cmake_library(plugin1
MODULE
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qfactoryloader/bin"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
@@ -22,7 +22,7 @@ qt_add_cmake_library(plugin1
## Scopes:
#####################################################################
-qt_extend_target(plugin1 CONDITION NOT QT_FEATURE_library
+qt_internal_extend_target(plugin1 CONDITION NOT QT_FEATURE_library
DEFINES
QT_STATICPLUGIN
)
diff --git a/tests/auto/corelib/plugin/qfactoryloader/plugin2/CMakeLists.txt b/tests/auto/corelib/plugin/qfactoryloader/plugin2/CMakeLists.txt
index 0e0c589fc1..a384a40412 100644
--- a/tests/auto/corelib/plugin/qfactoryloader/plugin2/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qfactoryloader/plugin2/CMakeLists.txt
@@ -4,7 +4,7 @@
## plugin2 Generic Library:
#####################################################################
-qt_add_cmake_library(plugin2
+qt_internal_add_cmake_library(plugin2
MODULE
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qfactoryloader/bin"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
@@ -22,7 +22,7 @@ qt_add_cmake_library(plugin2
## Scopes:
#####################################################################
-qt_extend_target(plugin2 CONDITION NOT QT_FEATURE_library
+qt_internal_extend_target(plugin2 CONDITION NOT QT_FEATURE_library
DEFINES
QT_STATICPLUGIN
)
diff --git a/tests/auto/corelib/plugin/qfactoryloader/test/.prev_CMakeLists.txt b/tests/auto/corelib/plugin/qfactoryloader/test/.prev_CMakeLists.txt
index 9e3a686340..8b781536a4 100644
--- a/tests/auto/corelib/plugin/qfactoryloader/test/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qfactoryloader/test/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfactoryloader Test:
#####################################################################
-qt_add_test(tst_qfactoryloader
+qt_internal_add_test(tst_qfactoryloader
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../plugin1/plugininterface1.h
@@ -17,7 +17,7 @@ qt_add_test(tst_qfactoryloader
## Scopes:
#####################################################################
-qt_extend_target(tst_qfactoryloader CONDITION NOT QT_FEATURE_library
+qt_internal_extend_target(tst_qfactoryloader CONDITION NOT QT_FEATURE_library
PUBLIC_LIBRARIES
# Remove: L
../bin/
@@ -31,7 +31,7 @@ if(ANDROID)
${CMAKE_CURRENT_BINARY_DIR}/../bin
)
- qt_add_resource(tst_qfactoryloader "qmake_libs"
+ qt_internal_add_resource(tst_qfactoryloader "qmake_libs"
PREFIX
"android_test_data"
BASE
diff --git a/tests/auto/corelib/plugin/qfactoryloader/test/CMakeLists.txt b/tests/auto/corelib/plugin/qfactoryloader/test/CMakeLists.txt
index 7d10294399..8515af2beb 100644
--- a/tests/auto/corelib/plugin/qfactoryloader/test/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qfactoryloader/test/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfactoryloader Test:
#####################################################################
-qt_add_test(tst_qfactoryloader
+qt_internal_add_test(tst_qfactoryloader
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../plugin1/plugininterface1.h
@@ -23,7 +23,7 @@ if (NOT QT_FEATURE_library)
endif()
# special case end
-qt_extend_target(tst_qfactoryloader CONDITION NOT QT_FEATURE_library
+qt_internal_extend_target(tst_qfactoryloader CONDITION NOT QT_FEATURE_library
PUBLIC_LIBRARIES
# Remove: L
# special case begin
@@ -57,7 +57,7 @@ if(ANDROID)
endif()
# special case end
- qt_add_resource(tst_qfactoryloader "qmake_libs"
+ qt_internal_add_resource(tst_qfactoryloader "qmake_libs"
PREFIX
"android_test_data"
BASE
diff --git a/tests/auto/corelib/plugin/qlibrary/lib/.prev_CMakeLists.txt b/tests/auto/corelib/plugin/qlibrary/lib/.prev_CMakeLists.txt
index b1435b77d3..93a2b1a455 100644
--- a/tests/auto/corelib/plugin/qlibrary/lib/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qlibrary/lib/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## mylib Generic Library:
#####################################################################
-qt_add_cmake_library(mylib
+qt_internal_add_cmake_library(mylib
SHARED
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qlibrary"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
@@ -22,7 +22,7 @@ qt_add_cmake_library(mylib
## Scopes:
#####################################################################
-qt_extend_target(mylib CONDITION MSVC
+qt_internal_extend_target(mylib CONDITION MSVC
DEFINES
WIN32_MSVC
)
diff --git a/tests/auto/corelib/plugin/qlibrary/lib/CMakeLists.txt b/tests/auto/corelib/plugin/qlibrary/lib/CMakeLists.txt
index 41bd6bf252..4b2e01d997 100644
--- a/tests/auto/corelib/plugin/qlibrary/lib/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qlibrary/lib/CMakeLists.txt
@@ -4,7 +4,7 @@
## mylib Generic Library:
#####################################################################
-qt_add_cmake_library(mylib
+qt_internal_add_cmake_library(mylib
SHARED
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qlibrary"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
@@ -37,7 +37,7 @@ endif()
## Scopes:
#####################################################################
-qt_extend_target(mylib CONDITION MSVC
+qt_internal_extend_target(mylib CONDITION MSVC
DEFINES
WIN32_MSVC
)
diff --git a/tests/auto/corelib/plugin/qlibrary/lib2/CMakeLists.txt b/tests/auto/corelib/plugin/qlibrary/lib2/CMakeLists.txt
index a91b99f1c2..f92cec8fb1 100644
--- a/tests/auto/corelib/plugin/qlibrary/lib2/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qlibrary/lib2/CMakeLists.txt
@@ -4,7 +4,7 @@
## mylib Generic Library:
#####################################################################
-add_cmake_library(mylib2 # special case
+qt_internal_add_cmake_library(mylib2 # special case
SHARED
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}tst_qlibrary"
#OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" # special case
@@ -84,7 +84,7 @@ endif()
## Scopes:
#####################################################################
-extend_target(mylib2 CONDITION MSVC # special case
+qt_internal_extend_target(mylib2 CONDITION MSVC # special case
DEFINES
WIN32_MSVC
)
diff --git a/tests/auto/corelib/plugin/qlibrary/tst/.prev_CMakeLists.txt b/tests/auto/corelib/plugin/qlibrary/tst/.prev_CMakeLists.txt
index c3af98df13..6e4ce15f44 100644
--- a/tests/auto/corelib/plugin/qlibrary/tst/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qlibrary/tst/.prev_CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "../library_path/invalid.so")
-qt_add_test(tst_qlibrary
+qt_internal_add_test(tst_qlibrary
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../tst_qlibrary.cpp
@@ -26,7 +26,7 @@ if(ANDROID)
${CMAKE_CURRENT_BINARY_DIR}/../system.qt.test.mylib.so
)
- qt_add_resource(tst_qlibrary "qmake_libs"
+ qt_internal_add_resource(tst_qlibrary "qmake_libs"
PREFIX
"android_test_data"
BASE
diff --git a/tests/auto/corelib/plugin/qlibrary/tst/CMakeLists.txt b/tests/auto/corelib/plugin/qlibrary/tst/CMakeLists.txt
index a99b96c806..0f18c8dccc 100644
--- a/tests/auto/corelib/plugin/qlibrary/tst/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qlibrary/tst/CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "../library_path/invalid.so")
-qt_add_test(tst_qlibrary
+qt_internal_add_test(tst_qlibrary
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../tst_qlibrary.cpp
@@ -39,7 +39,7 @@ if(ANDROID)
# special case end
)
- qt_add_resource(tst_qlibrary "qmake_libs"
+ qt_internal_add_resource(tst_qlibrary "qmake_libs"
PREFIX
"android_test_data"
BASE
diff --git a/tests/auto/corelib/plugin/qplugin/CMakeLists.txt b/tests/auto/corelib/plugin/qplugin/CMakeLists.txt
index b2829099aa..2c901eff44 100644
--- a/tests/auto/corelib/plugin/qplugin/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qplugin/CMakeLists.txt
@@ -13,7 +13,7 @@ file(GLOB_RECURSE test_data_glob
plugins/*)
list(APPEND test_data ${test_data_glob})
-add_qt_test(tst_qplugin
+qt_internal_add_test(tst_qplugin
SOURCES
tst_qplugin.cpp
LIBRARIES
diff --git a/tests/auto/corelib/plugin/qplugin/debugplugin/CMakeLists.txt b/tests/auto/corelib/plugin/qplugin/debugplugin/CMakeLists.txt
index 379faad981..ee4c0cf33c 100644
--- a/tests/auto/corelib/plugin/qplugin/debugplugin/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qplugin/debugplugin/CMakeLists.txt
@@ -4,7 +4,7 @@
## debugplugin Generic Library:
#####################################################################
-qt_add_cmake_library(debugplugin
+qt_internal_add_cmake_library(debugplugin
MODULE
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../plugins"
SOURCES
diff --git a/tests/auto/corelib/plugin/qplugin/invalidplugin/CMakeLists.txt b/tests/auto/corelib/plugin/qplugin/invalidplugin/CMakeLists.txt
index 0dc5a28edb..b9cdf2af05 100644
--- a/tests/auto/corelib/plugin/qplugin/invalidplugin/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qplugin/invalidplugin/CMakeLists.txt
@@ -4,7 +4,7 @@
## invalidplugin Generic Library:
#####################################################################
-qt_add_cmake_library(invalidplugin
+qt_internal_add_cmake_library(invalidplugin
MODULE
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../plugins"
SOURCES
diff --git a/tests/auto/corelib/plugin/qplugin/releaseplugin/CMakeLists.txt b/tests/auto/corelib/plugin/qplugin/releaseplugin/CMakeLists.txt
index 0332bcc15b..abf3ae2a4d 100644
--- a/tests/auto/corelib/plugin/qplugin/releaseplugin/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qplugin/releaseplugin/CMakeLists.txt
@@ -4,7 +4,7 @@
## releaseplugin Generic Library:
#####################################################################
-qt_add_cmake_library(releaseplugin
+qt_internal_add_cmake_library(releaseplugin
MODULE
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../plugins"
SOURCES
diff --git a/tests/auto/corelib/plugin/qpluginloader/almostplugin/.prev_CMakeLists.txt b/tests/auto/corelib/plugin/qpluginloader/almostplugin/.prev_CMakeLists.txt
index 64b1db677d..899ad6ca39 100644
--- a/tests/auto/corelib/plugin/qpluginloader/almostplugin/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qpluginloader/almostplugin/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## almostplugin Generic Library:
#####################################################################
-qt_add_cmake_library(almostplugin
+qt_internal_add_cmake_library(almostplugin
MODULE
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qpluginloader/bin"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
@@ -22,7 +22,7 @@ qt_add_cmake_library(almostplugin
## Scopes:
#####################################################################
-qt_extend_target(almostplugin CONDITION GCC
+qt_internal_extend_target(almostplugin CONDITION GCC
LINK_OPTIONS
"--Wl,--no-undefined"
)
diff --git a/tests/auto/corelib/plugin/qpluginloader/almostplugin/CMakeLists.txt b/tests/auto/corelib/plugin/qpluginloader/almostplugin/CMakeLists.txt
index c8a320d2cf..fe5d6295aa 100644
--- a/tests/auto/corelib/plugin/qpluginloader/almostplugin/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qpluginloader/almostplugin/CMakeLists.txt
@@ -4,7 +4,7 @@
## almostplugin Generic Library:
#####################################################################
-qt_add_cmake_library(almostplugin
+qt_internal_add_cmake_library(almostplugin
MODULE
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qpluginloader/bin"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
@@ -25,7 +25,7 @@ qt_add_cmake_library(almostplugin
qt_autogen_tools_initial_setup(almostplugin)
# special case begin
# We want the opposite of this
-#qt_extend_target(almostplugin CONDITION GCC
+#qt_internal_extend_target(almostplugin CONDITION GCC
# LINK_OPTIONS
# "--Wl,--no-undefined"
#)
diff --git a/tests/auto/corelib/plugin/qpluginloader/lib/.prev_CMakeLists.txt b/tests/auto/corelib/plugin/qpluginloader/lib/.prev_CMakeLists.txt
index b5ae34e9df..61de9dd479 100644
--- a/tests/auto/corelib/plugin/qpluginloader/lib/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qpluginloader/lib/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpluginloaderlib Generic Library:
#####################################################################
-qt_add_cmake_library(tst_qpluginloaderlib
+qt_internal_add_cmake_library(tst_qpluginloaderlib
SHARED
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qpluginloader/bin"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
@@ -22,7 +22,7 @@ qt_add_cmake_library(tst_qpluginloaderlib
## Scopes:
#####################################################################
-qt_extend_target(tst_qpluginloaderlib CONDITION MSVC
+qt_internal_extend_target(tst_qpluginloaderlib CONDITION MSVC
DEFINES
WIN32_MSVC
)
diff --git a/tests/auto/corelib/plugin/qpluginloader/lib/CMakeLists.txt b/tests/auto/corelib/plugin/qpluginloader/lib/CMakeLists.txt
index f760ce9935..7914f07c0d 100644
--- a/tests/auto/corelib/plugin/qpluginloader/lib/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qpluginloader/lib/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpluginloaderlib Generic Library:
#####################################################################
-qt_add_cmake_library(tst_qpluginloaderlib
+qt_internal_add_cmake_library(tst_qpluginloaderlib
SHARED
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qpluginloader/bin"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
@@ -29,7 +29,7 @@ endif()
## Scopes:
#####################################################################
-qt_extend_target(tst_qpluginloaderlib CONDITION MSVC
+qt_internal_extend_target(tst_qpluginloaderlib CONDITION MSVC
DEFINES
WIN32_MSVC
)
diff --git a/tests/auto/corelib/plugin/qpluginloader/staticplugin/.prev_CMakeLists.txt b/tests/auto/corelib/plugin/qpluginloader/staticplugin/.prev_CMakeLists.txt
index bfc30d7c1d..1448ff3933 100644
--- a/tests/auto/corelib/plugin/qpluginloader/staticplugin/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qpluginloader/staticplugin/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## staticplugin Generic Library:
#####################################################################
-add_cmake_library(staticplugin
+qt_internal_add_cmake_library(staticplugin
STATIC
SOURCES
main.cpp
@@ -21,3 +21,5 @@ add_cmake_library(staticplugin
# TEMPLATE = "lib"
qt_autogen_tools_initial_setup(staticplugin)
+
+target_compile_definitions(staticplugin PRIVATE QT_STATICPLUGIN)
diff --git a/tests/auto/corelib/plugin/qpluginloader/staticplugin/CMakeLists.txt b/tests/auto/corelib/plugin/qpluginloader/staticplugin/CMakeLists.txt
index 0eb42728f4..1448ff3933 100644
--- a/tests/auto/corelib/plugin/qpluginloader/staticplugin/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qpluginloader/staticplugin/CMakeLists.txt
@@ -4,7 +4,7 @@
## staticplugin Generic Library:
#####################################################################
-qt_add_cmake_library(staticplugin
+qt_internal_add_cmake_library(staticplugin
STATIC
SOURCES
main.cpp
diff --git a/tests/auto/corelib/plugin/qpluginloader/theplugin/CMakeLists.txt b/tests/auto/corelib/plugin/qpluginloader/theplugin/CMakeLists.txt
index ef39d6cc0f..5a8bf518c5 100644
--- a/tests/auto/corelib/plugin/qpluginloader/theplugin/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qpluginloader/theplugin/CMakeLists.txt
@@ -4,7 +4,7 @@
## theplugin Generic Library:
#####################################################################
-qt_add_cmake_library(theplugin
+qt_internal_add_cmake_library(theplugin
MODULE
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qpluginloader/bin"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../bin"
diff --git a/tests/auto/corelib/plugin/qpluginloader/tst/.prev_CMakeLists.txt b/tests/auto/corelib/plugin/qpluginloader/tst/.prev_CMakeLists.txt
deleted file mode 100644
index 0b0d76bbc4..0000000000
--- a/tests/auto/corelib/plugin/qpluginloader/tst/.prev_CMakeLists.txt
+++ /dev/null
@@ -1,43 +0,0 @@
-# Generated from tst.pro.
-
-#####################################################################
-## tst_qpluginloader Test:
-#####################################################################
-
-# Collect test data
-list(APPEND test_data "../elftest")
-list(APPEND test_data "../machtest")
-
-qt_add_test(tst_qpluginloader
- OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
- SOURCES
- ../fakeplugin.cpp
- ../theplugin/plugininterface.h
- ../tst_qpluginloader.cpp
- PUBLIC_LIBRARIES
- staticplugin
- TESTDATA ${test_data}
-)
-
-## Scopes:
-#####################################################################
-
-qt_extend_target(tst_qpluginloader CONDITION QT_FEATURE_private_tests
- PUBLIC_LIBRARIES
- Qt::CorePrivate
-)
-
-qt_extend_target(tst_qpluginloader CONDITION CMAKE_BUILD_TYPE STREQUAL Debug AND WIN32 AND debug_and_release
- PUBLIC_LIBRARIES
- # Remove: L../staticplugin/debug
-)
-
-qt_extend_target(tst_qpluginloader CONDITION WIN32 AND debug_and_release AND NOT CMAKE_BUILD_TYPE STREQUAL Debug
- PUBLIC_LIBRARIES
- # Remove: L../staticplugin/release
-)
-
-qt_extend_target(tst_qpluginloader CONDITION UNIX OR NOT debug_and_release
- PUBLIC_LIBRARIES
- # Remove: L../staticplugin
-)
diff --git a/tests/auto/corelib/plugin/qpluginloader/tst/CMakeLists.txt b/tests/auto/corelib/plugin/qpluginloader/tst/CMakeLists.txt
index 0b0d76bbc4..1193a9d731 100644
--- a/tests/auto/corelib/plugin/qpluginloader/tst/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/qpluginloader/tst/CMakeLists.txt
@@ -8,7 +8,7 @@
list(APPEND test_data "../elftest")
list(APPEND test_data "../machtest")
-qt_add_test(tst_qpluginloader
+qt_internal_add_test(tst_qpluginloader
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../fakeplugin.cpp
@@ -22,22 +22,22 @@ qt_add_test(tst_qpluginloader
## Scopes:
#####################################################################
-qt_extend_target(tst_qpluginloader CONDITION QT_FEATURE_private_tests
+qt_internal_extend_target(tst_qpluginloader CONDITION QT_FEATURE_private_tests
PUBLIC_LIBRARIES
Qt::CorePrivate
)
-qt_extend_target(tst_qpluginloader CONDITION CMAKE_BUILD_TYPE STREQUAL Debug AND WIN32 AND debug_and_release
+qt_internal_extend_target(tst_qpluginloader CONDITION CMAKE_BUILD_TYPE STREQUAL Debug AND WIN32 AND debug_and_release
PUBLIC_LIBRARIES
# Remove: L../staticplugin/debug
)
-qt_extend_target(tst_qpluginloader CONDITION WIN32 AND debug_and_release AND NOT CMAKE_BUILD_TYPE STREQUAL Debug
+qt_internal_extend_target(tst_qpluginloader CONDITION WIN32 AND debug_and_release AND NOT CMAKE_BUILD_TYPE STREQUAL Debug
PUBLIC_LIBRARIES
# Remove: L../staticplugin/release
)
-qt_extend_target(tst_qpluginloader CONDITION UNIX OR NOT debug_and_release
+qt_internal_extend_target(tst_qpluginloader CONDITION UNIX OR NOT debug_and_release
PUBLIC_LIBRARIES
# Remove: L../staticplugin
)
diff --git a/tests/auto/corelib/plugin/quuid/test/.prev_CMakeLists.txt b/tests/auto/corelib/plugin/quuid/test/.prev_CMakeLists.txt
index 05ed8f84ac..5e0aec0f33 100644
--- a/tests/auto/corelib/plugin/quuid/test/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/plugin/quuid/test/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_quuid Test:
#####################################################################
-qt_add_test(tst_quuid
+qt_internal_add_test(tst_quuid
SOURCES
../tst_quuid.cpp
)
@@ -12,7 +12,7 @@ qt_add_test(tst_quuid
## Scopes:
#####################################################################
-qt_extend_target(tst_quuid CONDITION APPLE
+qt_internal_extend_target(tst_quuid CONDITION APPLE
SOURCES
../tst_quuid_darwin.mm
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/plugin/quuid/test/CMakeLists.txt b/tests/auto/corelib/plugin/quuid/test/CMakeLists.txt
index 1ba9de95ca..51712cfc05 100644
--- a/tests/auto/corelib/plugin/quuid/test/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/quuid/test/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_quuid Test:
#####################################################################
-qt_add_test(tst_quuid
+qt_internal_add_test(tst_quuid
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" # special case
SOURCES
../tst_quuid.cpp
@@ -13,7 +13,7 @@ qt_add_test(tst_quuid
## Scopes:
#####################################################################
-qt_extend_target(tst_quuid CONDITION APPLE
+qt_internal_extend_target(tst_quuid CONDITION APPLE
SOURCES
../tst_quuid_darwin.mm
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/plugin/quuid/testProcessUniqueness/.prev_CMakeLists.txt b/tests/auto/corelib/plugin/quuid/testProcessUniqueness/.prev_CMakeLists.txt
index eaa9d4e281..e1b5814f41 100644
--- a/tests/auto/corelib/plugin/quuid/testProcessUniqueness/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/plugin/quuid/testProcessUniqueness/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessUniqueness Binary:
#####################################################################
-qt_add_executable(testProcessUniqueness
+qt_internal_add_executable(testProcessUniqueness
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_quuid/testProcessUniqueness"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
diff --git a/tests/auto/corelib/plugin/quuid/testProcessUniqueness/CMakeLists.txt b/tests/auto/corelib/plugin/quuid/testProcessUniqueness/CMakeLists.txt
index ad5192261d..0bdf32a207 100644
--- a/tests/auto/corelib/plugin/quuid/testProcessUniqueness/CMakeLists.txt
+++ b/tests/auto/corelib/plugin/quuid/testProcessUniqueness/CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessUniqueness Binary:
#####################################################################
-qt_add_executable(testProcessUniqueness
+qt_internal_add_executable(testProcessUniqueness
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_quuid/testProcessUniqueness"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
diff --git a/tests/auto/corelib/serialization/json/CMakeLists.txt b/tests/auto/corelib/serialization/json/CMakeLists.txt
index f2d0d9d54c..f8e209e620 100644
--- a/tests/auto/corelib/serialization/json/CMakeLists.txt
+++ b/tests/auto/corelib/serialization/json/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_json Test:
#####################################################################
-qt_add_test(tst_json
+qt_internal_add_test(tst_json
SOURCES
tst_qtjson.cpp
PUBLIC_LIBRARIES
@@ -26,7 +26,7 @@ if(ANDROID)
"test3.json"
)
- qt_add_resource(tst_json "json"
+ qt_internal_add_resource(tst_json "json"
PREFIX
"/"
FILES
@@ -34,7 +34,7 @@ if(ANDROID)
)
endif()
-qt_extend_target(tst_json CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion
+qt_internal_extend_target(tst_json CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion
DEFINES
QT_NO_DOUBLECONVERSION
)
diff --git a/tests/auto/corelib/serialization/qcborstreamreader/CMakeLists.txt b/tests/auto/corelib/serialization/qcborstreamreader/CMakeLists.txt
index 74d4e692df..eb5061652e 100644
--- a/tests/auto/corelib/serialization/qcborstreamreader/CMakeLists.txt
+++ b/tests/auto/corelib/serialization/qcborstreamreader/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qcborstreamreader Test:
#####################################################################
-qt_add_test(tst_qcborstreamreader
+qt_internal_add_test(tst_qcborstreamreader
SOURCES
tst_qcborstreamreader.cpp
DEFINES
diff --git a/tests/auto/corelib/serialization/qcborstreamwriter/CMakeLists.txt b/tests/auto/corelib/serialization/qcborstreamwriter/CMakeLists.txt
index 33707ff24f..b39e1b7917 100644
--- a/tests/auto/corelib/serialization/qcborstreamwriter/CMakeLists.txt
+++ b/tests/auto/corelib/serialization/qcborstreamwriter/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qcborstreamwriter Test:
#####################################################################
-qt_add_test(tst_qcborstreamwriter
+qt_internal_add_test(tst_qcborstreamwriter
SOURCES
tst_qcborstreamwriter.cpp
DEFINES
diff --git a/tests/auto/corelib/serialization/qcborvalue/CMakeLists.txt b/tests/auto/corelib/serialization/qcborvalue/CMakeLists.txt
index 3877e565cd..0a8464c756 100644
--- a/tests/auto/corelib/serialization/qcborvalue/CMakeLists.txt
+++ b/tests/auto/corelib/serialization/qcborvalue/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qcborvalue Test:
#####################################################################
-qt_add_test(tst_qcborvalue
+qt_internal_add_test(tst_qcborvalue
SOURCES
tst_qcborvalue.cpp
DEFINES
diff --git a/tests/auto/corelib/serialization/qcborvalue_json/CMakeLists.txt b/tests/auto/corelib/serialization/qcborvalue_json/CMakeLists.txt
index 8801d67783..d27ae46677 100644
--- a/tests/auto/corelib/serialization/qcborvalue_json/CMakeLists.txt
+++ b/tests/auto/corelib/serialization/qcborvalue_json/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qcborvalue_json Test:
#####################################################################
-qt_add_test(tst_qcborvalue_json
+qt_internal_add_test(tst_qcborvalue_json
SOURCES
tst_qcborvalue_json.cpp
DEFINES
diff --git a/tests/auto/corelib/serialization/qdatastream/.prev_CMakeLists.txt b/tests/auto/corelib/serialization/qdatastream/.prev_CMakeLists.txt
index a293f87155..91e4e31783 100644
--- a/tests/auto/corelib/serialization/qdatastream/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/serialization/qdatastream/.prev_CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "datastream.q42")
-add_qt_test(tst_qdatastream
+qt_internal_add_test(tst_qdatastream
SOURCES
tst_qdatastream.cpp
PUBLIC_LIBRARIES
@@ -24,7 +24,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
"datastream.q42"
)
- add_qt_resource(tst_qdatastream "testdata"
+ qt_internal_add_resource(tst_qdatastream "testdata"
PREFIX
"/"
FILES
diff --git a/tests/auto/corelib/serialization/qdatastream/CMakeLists.txt b/tests/auto/corelib/serialization/qdatastream/CMakeLists.txt
index 35a62fe00c..91e4e31783 100644
--- a/tests/auto/corelib/serialization/qdatastream/CMakeLists.txt
+++ b/tests/auto/corelib/serialization/qdatastream/CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "datastream.q42")
-qt_add_test(tst_qdatastream
+qt_internal_add_test(tst_qdatastream
SOURCES
tst_qdatastream.cpp
PUBLIC_LIBRARIES
@@ -24,7 +24,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
"datastream.q42"
)
- qt_add_resource(tst_qdatastream "testdata"
+ qt_internal_add_resource(tst_qdatastream "testdata"
PREFIX
"/"
FILES
diff --git a/tests/auto/corelib/serialization/qdatastream_core_pixmap/CMakeLists.txt b/tests/auto/corelib/serialization/qdatastream_core_pixmap/CMakeLists.txt
index 91280c79b3..b77b8212fb 100644
--- a/tests/auto/corelib/serialization/qdatastream_core_pixmap/CMakeLists.txt
+++ b/tests/auto/corelib/serialization/qdatastream_core_pixmap/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdatastream_core_pixmap Test:
#####################################################################
-qt_add_test(tst_qdatastream_core_pixmap
+qt_internal_add_test(tst_qdatastream_core_pixmap
SOURCES
tst_qdatastream_core_pixmap.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/serialization/qtextstream/readAllStdinProcess/CMakeLists.txt b/tests/auto/corelib/serialization/qtextstream/readAllStdinProcess/CMakeLists.txt
index 160b63f809..785785d43a 100644
--- a/tests/auto/corelib/serialization/qtextstream/readAllStdinProcess/CMakeLists.txt
+++ b/tests/auto/corelib/serialization/qtextstream/readAllStdinProcess/CMakeLists.txt
@@ -4,7 +4,7 @@
## readAllStdinProcess Binary:
#####################################################################
-qt_add_executable(readAllStdinProcess
+qt_internal_add_executable(readAllStdinProcess
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qtextstream/readAllStdinProcess"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
diff --git a/tests/auto/corelib/serialization/qtextstream/readLineStdinProcess/CMakeLists.txt b/tests/auto/corelib/serialization/qtextstream/readLineStdinProcess/CMakeLists.txt
index 399e9f44a5..897444c9af 100644
--- a/tests/auto/corelib/serialization/qtextstream/readLineStdinProcess/CMakeLists.txt
+++ b/tests/auto/corelib/serialization/qtextstream/readLineStdinProcess/CMakeLists.txt
@@ -4,7 +4,7 @@
## readLineStdinProcess Binary:
#####################################################################
-qt_add_executable(readLineStdinProcess
+qt_internal_add_executable(readLineStdinProcess
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qtextstream/readLineStdinProcess"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
diff --git a/tests/auto/corelib/serialization/qtextstream/stdinProcess/CMakeLists.txt b/tests/auto/corelib/serialization/qtextstream/stdinProcess/CMakeLists.txt
index 3e5383fdc1..73eccd1ed8 100644
--- a/tests/auto/corelib/serialization/qtextstream/stdinProcess/CMakeLists.txt
+++ b/tests/auto/corelib/serialization/qtextstream/stdinProcess/CMakeLists.txt
@@ -4,7 +4,7 @@
## stdinProcess Binary:
#####################################################################
-qt_add_executable(stdinProcess
+qt_internal_add_executable(stdinProcess
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qtextstream/stdinProcess"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
diff --git a/tests/auto/corelib/serialization/qtextstream/test/CMakeLists.txt b/tests/auto/corelib/serialization/qtextstream/test/CMakeLists.txt
index 4471335770..61d594900f 100644
--- a/tests/auto/corelib/serialization/qtextstream/test/CMakeLists.txt
+++ b/tests/auto/corelib/serialization/qtextstream/test/CMakeLists.txt
@@ -12,7 +12,7 @@ list(APPEND test_data "../tst_qtextstream.cpp")
list(APPEND test_data "../resources")
list(APPEND test_data "../BLACKLIST")
-qt_add_test(tst_qtextstream
+qt_internal_add_test(tst_qtextstream
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../../../../../shared/emulationdetector.h
@@ -36,7 +36,7 @@ set(qtextstream_resource_files
"resources/little_endian/"
)
-qt_add_resource(tst_qtextstream "qtextstream"
+qt_internal_add_resource(tst_qtextstream "qtextstream"
PREFIX
"/tst_textstream/"
BASE
@@ -49,7 +49,7 @@ qt_add_resource(tst_qtextstream "qtextstream"
## Scopes:
#####################################################################
-qt_extend_target(tst_qtextstream CONDITION builtin_testdata
+qt_internal_extend_target(tst_qtextstream CONDITION builtin_testdata
DEFINES
BUILTIN_TESTDATA
)
diff --git a/tests/auto/corelib/serialization/qxmlstream/CMakeLists.txt b/tests/auto/corelib/serialization/qxmlstream/CMakeLists.txt
index 0039214d6b..aae8b9f1e9 100644
--- a/tests/auto/corelib/serialization/qxmlstream/CMakeLists.txt
+++ b/tests/auto/corelib/serialization/qxmlstream/CMakeLists.txt
@@ -8,7 +8,7 @@
list(APPEND test_data "data")
list(APPEND test_data "XML-Test-Suite")
-qt_add_test(tst_qxmlstream
+qt_internal_add_test(tst_qxmlstream
SOURCES
tst_qxmlstream.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/text/qbytearray/CMakeLists.txt b/tests/auto/corelib/text/qbytearray/CMakeLists.txt
index f2fd281f90..bc07b2e1af 100644
--- a/tests/auto/corelib/text/qbytearray/CMakeLists.txt
+++ b/tests/auto/corelib/text/qbytearray/CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "rfc3252.txt")
-qt_add_test(tst_qbytearray
+qt_internal_add_test(tst_qbytearray
SOURCES
tst_qbytearray.cpp
PUBLIC_LIBRARIES
@@ -18,7 +18,7 @@ qt_add_test(tst_qbytearray
## Scopes:
#####################################################################
-qt_extend_target(tst_qbytearray CONDITION APPLE
+qt_internal_extend_target(tst_qbytearray CONDITION APPLE
SOURCES
tst_qbytearray_mac.mm
PUBLIC_LIBRARIES
@@ -31,7 +31,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
"rfc3252.txt"
)
- qt_add_resource(tst_qbytearray "android_testdata"
+ qt_internal_add_resource(tst_qbytearray "android_testdata"
PREFIX
"/"
FILES
diff --git a/tests/auto/corelib/text/qbytearrayapisymmetry/CMakeLists.txt b/tests/auto/corelib/text/qbytearrayapisymmetry/CMakeLists.txt
index bc49aabc5b..68689a4b79 100644
--- a/tests/auto/corelib/text/qbytearrayapisymmetry/CMakeLists.txt
+++ b/tests/auto/corelib/text/qbytearrayapisymmetry/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qbytearrayapisymmetry Test:
#####################################################################
-qt_add_test(tst_qbytearrayapisymmetry
+qt_internal_add_test(tst_qbytearrayapisymmetry
SOURCES
tst_qbytearrayapisymmetry.cpp
)
diff --git a/tests/auto/corelib/text/qbytearraylist/CMakeLists.txt b/tests/auto/corelib/text/qbytearraylist/CMakeLists.txt
index a7b9578d5f..4add3dabe4 100644
--- a/tests/auto/corelib/text/qbytearraylist/CMakeLists.txt
+++ b/tests/auto/corelib/text/qbytearraylist/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qbytearraylist Test:
#####################################################################
-qt_add_test(tst_qbytearraylist
+qt_internal_add_test(tst_qbytearraylist
SOURCES
tst_qbytearraylist.cpp
)
diff --git a/tests/auto/corelib/text/qbytearraymatcher/CMakeLists.txt b/tests/auto/corelib/text/qbytearraymatcher/CMakeLists.txt
index 75da499064..a70d8d91b6 100644
--- a/tests/auto/corelib/text/qbytearraymatcher/CMakeLists.txt
+++ b/tests/auto/corelib/text/qbytearraymatcher/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qbytearraymatcher Test:
#####################################################################
-qt_add_test(tst_qbytearraymatcher
+qt_internal_add_test(tst_qbytearraymatcher
SOURCES
tst_qbytearraymatcher.cpp
)
diff --git a/tests/auto/corelib/text/qbytearrayview/CMakeLists.txt b/tests/auto/corelib/text/qbytearrayview/CMakeLists.txt
index 34476b8246..43a0e09ce3 100644
--- a/tests/auto/corelib/text/qbytearrayview/CMakeLists.txt
+++ b/tests/auto/corelib/text/qbytearrayview/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qbytearrayview Test:
#####################################################################
-qt_add_test(tst_qbytearrayview
+qt_internal_add_test(tst_qbytearrayview
SOURCES
tst_qbytearrayview.cpp
)
diff --git a/tests/auto/corelib/text/qbytedatabuffer/CMakeLists.txt b/tests/auto/corelib/text/qbytedatabuffer/CMakeLists.txt
index 5262e009cd..3d4010c3f3 100644
--- a/tests/auto/corelib/text/qbytedatabuffer/CMakeLists.txt
+++ b/tests/auto/corelib/text/qbytedatabuffer/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qbytedatabuffer Test:
#####################################################################
-qt_add_test(tst_qbytedatabuffer
+qt_internal_add_test(tst_qbytedatabuffer
SOURCES
tst_qbytedatabuffer.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/text/qchar/CMakeLists.txt b/tests/auto/corelib/text/qchar/CMakeLists.txt
index ae4bc1f23d..529fa39bd9 100644
--- a/tests/auto/corelib/text/qchar/CMakeLists.txt
+++ b/tests/auto/corelib/text/qchar/CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "data/NormalizationTest.txt")
-qt_add_test(tst_qchar
+qt_internal_add_test(tst_qchar
SOURCES
tst_qchar.cpp
PUBLIC_LIBRARIES
@@ -24,7 +24,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
"data/NormalizationTest.txt"
)
- qt_add_resource(tst_qchar "testdata"
+ qt_internal_add_resource(tst_qchar "testdata"
PREFIX
"/"
FILES
diff --git a/tests/auto/corelib/text/qcollator/CMakeLists.txt b/tests/auto/corelib/text/qcollator/CMakeLists.txt
index 105a65310e..8112ecb887 100644
--- a/tests/auto/corelib/text/qcollator/CMakeLists.txt
+++ b/tests/auto/corelib/text/qcollator/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qcollator Test:
#####################################################################
-qt_add_test(tst_qcollator
+qt_internal_add_test(tst_qcollator
SOURCES
tst_qcollator.cpp
DEFINES
diff --git a/tests/auto/corelib/text/qlatin1string/CMakeLists.txt b/tests/auto/corelib/text/qlatin1string/CMakeLists.txt
index 9c929b3893..4d37ebb04c 100644
--- a/tests/auto/corelib/text/qlatin1string/CMakeLists.txt
+++ b/tests/auto/corelib/text/qlatin1string/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qlatin1string Test:
#####################################################################
-qt_add_test(tst_qlatin1string
+qt_internal_add_test(tst_qlatin1string
SOURCES
tst_qlatin1string.cpp
DEFINES
diff --git a/tests/auto/corelib/text/qlocale/syslocaleapp/CMakeLists.txt b/tests/auto/corelib/text/qlocale/syslocaleapp/CMakeLists.txt
index 68c6c5e3b6..3b7df027d4 100644
--- a/tests/auto/corelib/text/qlocale/syslocaleapp/CMakeLists.txt
+++ b/tests/auto/corelib/text/qlocale/syslocaleapp/CMakeLists.txt
@@ -4,7 +4,7 @@
## syslocaleapp Binary:
#####################################################################
-qt_add_executable(syslocaleapp
+qt_internal_add_executable(syslocaleapp
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
syslocaleapp.cpp
diff --git a/tests/auto/corelib/text/qlocale/test/CMakeLists.txt b/tests/auto/corelib/text/qlocale/test/CMakeLists.txt
index 399b22327e..863252cf77 100644
--- a/tests/auto/corelib/text/qlocale/test/CMakeLists.txt
+++ b/tests/auto/corelib/text/qlocale/test/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qlocale Test:
#####################################################################
-qt_add_test(tst_qlocale
+qt_internal_add_test(tst_qlocale
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../tst_qlocale.cpp
@@ -15,12 +15,12 @@ qt_add_test(tst_qlocale
## Scopes:
#####################################################################
-qt_extend_target(tst_qlocale CONDITION embedded
+qt_internal_extend_target(tst_qlocale CONDITION embedded
PUBLIC_LIBRARIES
Qt::Gui
)
-qt_extend_target(tst_qlocale CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion
+qt_internal_extend_target(tst_qlocale CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion
DEFINES
QT_NO_DOUBLECONVERSION
)
diff --git a/tests/auto/corelib/text/qregularexpression/CMakeLists.txt b/tests/auto/corelib/text/qregularexpression/CMakeLists.txt
index 2ea0cfad7d..78e842b658 100644
--- a/tests/auto/corelib/text/qregularexpression/CMakeLists.txt
+++ b/tests/auto/corelib/text/qregularexpression/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qregularexpression Test:
#####################################################################
-qt_add_test(tst_qregularexpression
+qt_internal_add_test(tst_qregularexpression
SOURCES
tst_qregularexpression.cpp
)
diff --git a/tests/auto/corelib/text/qstring/CMakeLists.txt b/tests/auto/corelib/text/qstring/CMakeLists.txt
index 8451e0fcb4..e5f64742a2 100644
--- a/tests/auto/corelib/text/qstring/CMakeLists.txt
+++ b/tests/auto/corelib/text/qstring/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstring Test:
#####################################################################
-qt_add_test(tst_qstring
+qt_internal_add_test(tst_qstring
SOURCES
tst_qstring.cpp
DEFINES
@@ -16,12 +16,12 @@ qt_add_test(tst_qstring
## Scopes:
#####################################################################
-qt_extend_target(tst_qstring CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion
+qt_internal_extend_target(tst_qstring CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion
DEFINES
QT_NO_DOUBLECONVERSION
)
-qt_extend_target(tst_qstring CONDITION APPLE
+qt_internal_extend_target(tst_qstring CONDITION APPLE
SOURCES
tst_qstring_mac.mm
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/text/qstring_no_cast_from_bytearray/CMakeLists.txt b/tests/auto/corelib/text/qstring_no_cast_from_bytearray/CMakeLists.txt
index 030d678e94..10771fc04a 100644
--- a/tests/auto/corelib/text/qstring_no_cast_from_bytearray/CMakeLists.txt
+++ b/tests/auto/corelib/text/qstring_no_cast_from_bytearray/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstring_no_cast_from_bytearray Test:
#####################################################################
-qt_add_test(tst_qstring_no_cast_from_bytearray
+qt_internal_add_test(tst_qstring_no_cast_from_bytearray
SOURCES
tst_qstring_no_cast_from_bytearray.cpp
DEFINES
diff --git a/tests/auto/corelib/text/qstringapisymmetry/CMakeLists.txt b/tests/auto/corelib/text/qstringapisymmetry/CMakeLists.txt
index 48042fc32e..2d82e361fb 100644
--- a/tests/auto/corelib/text/qstringapisymmetry/CMakeLists.txt
+++ b/tests/auto/corelib/text/qstringapisymmetry/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstringapisymmetry Test:
#####################################################################
-qt_add_test(tst_qstringapisymmetry
+qt_internal_add_test(tst_qstringapisymmetry
SOURCES
tst_qstringapisymmetry.cpp
)
diff --git a/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/CMakeLists.txt b/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/CMakeLists.txt
index 2c897ddcd3..2b28032657 100644
--- a/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/CMakeLists.txt
+++ b/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstringbuilder1 Test:
#####################################################################
-qt_add_test(tst_qstringbuilder1
+qt_internal_add_test(tst_qstringbuilder1
SOURCES
tst_qstringbuilder1.cpp
)
diff --git a/tests/auto/corelib/text/qstringbuilder/qstringbuilder2/CMakeLists.txt b/tests/auto/corelib/text/qstringbuilder/qstringbuilder2/CMakeLists.txt
index 7b5b96aef3..274be115d9 100644
--- a/tests/auto/corelib/text/qstringbuilder/qstringbuilder2/CMakeLists.txt
+++ b/tests/auto/corelib/text/qstringbuilder/qstringbuilder2/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstringbuilder2 Test:
#####################################################################
-qt_add_test(tst_qstringbuilder2
+qt_internal_add_test(tst_qstringbuilder2
SOURCES
tst_qstringbuilder2.cpp
)
diff --git a/tests/auto/corelib/text/qstringbuilder/qstringbuilder3/CMakeLists.txt b/tests/auto/corelib/text/qstringbuilder/qstringbuilder3/CMakeLists.txt
index 3293f26e5c..a1c4298f99 100644
--- a/tests/auto/corelib/text/qstringbuilder/qstringbuilder3/CMakeLists.txt
+++ b/tests/auto/corelib/text/qstringbuilder/qstringbuilder3/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstringbuilder3 Test:
#####################################################################
-qt_add_test(tst_qstringbuilder3
+qt_internal_add_test(tst_qstringbuilder3
SOURCES
tst_qstringbuilder3.cpp
)
diff --git a/tests/auto/corelib/text/qstringbuilder/qstringbuilder4/CMakeLists.txt b/tests/auto/corelib/text/qstringbuilder/qstringbuilder4/CMakeLists.txt
index 55c4400acf..b0dbcbf83a 100644
--- a/tests/auto/corelib/text/qstringbuilder/qstringbuilder4/CMakeLists.txt
+++ b/tests/auto/corelib/text/qstringbuilder/qstringbuilder4/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstringbuilder4 Test:
#####################################################################
-qt_add_test(tst_qstringbuilder4
+qt_internal_add_test(tst_qstringbuilder4
SOURCES
tst_qstringbuilder4.cpp
)
diff --git a/tests/auto/corelib/text/qstringconverter/CMakeLists.txt b/tests/auto/corelib/text/qstringconverter/CMakeLists.txt
index 582e4fcf93..5b5eee953e 100644
--- a/tests/auto/corelib/text/qstringconverter/CMakeLists.txt
+++ b/tests/auto/corelib/text/qstringconverter/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstringconverter Test:
#####################################################################
-qt_add_test(tst_qstringconverter
+qt_internal_add_test(tst_qstringconverter
SOURCES
tst_qstringconverter.cpp
)
diff --git a/tests/auto/corelib/text/qstringiterator/CMakeLists.txt b/tests/auto/corelib/text/qstringiterator/CMakeLists.txt
index 96b34e9d23..36b62a248b 100644
--- a/tests/auto/corelib/text/qstringiterator/CMakeLists.txt
+++ b/tests/auto/corelib/text/qstringiterator/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstringiterator Test:
#####################################################################
-qt_add_test(tst_qstringiterator
+qt_internal_add_test(tst_qstringiterator
SOURCES
tst_qstringiterator.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/text/qstringlist/CMakeLists.txt b/tests/auto/corelib/text/qstringlist/CMakeLists.txt
index c41403227b..e9272aa0b6 100644
--- a/tests/auto/corelib/text/qstringlist/CMakeLists.txt
+++ b/tests/auto/corelib/text/qstringlist/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstringlist Test:
#####################################################################
-qt_add_test(tst_qstringlist
+qt_internal_add_test(tst_qstringlist
SOURCES
tst_qstringlist.cpp
)
diff --git a/tests/auto/corelib/text/qstringmatcher/CMakeLists.txt b/tests/auto/corelib/text/qstringmatcher/CMakeLists.txt
index 1cce5690ce..ae055089a8 100644
--- a/tests/auto/corelib/text/qstringmatcher/CMakeLists.txt
+++ b/tests/auto/corelib/text/qstringmatcher/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstringmatcher Test:
#####################################################################
-qt_add_test(tst_qstringmatcher
+qt_internal_add_test(tst_qstringmatcher
SOURCES
tst_qstringmatcher.cpp
DEFINES
diff --git a/tests/auto/corelib/text/qstringtokenizer/CMakeLists.txt b/tests/auto/corelib/text/qstringtokenizer/CMakeLists.txt
index 5928e5b99a..67b044e445 100644
--- a/tests/auto/corelib/text/qstringtokenizer/CMakeLists.txt
+++ b/tests/auto/corelib/text/qstringtokenizer/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstringtokenizer Test:
#####################################################################
-qt_add_test(tst_qstringtokenizer
+qt_internal_add_test(tst_qstringtokenizer
SOURCES
tst_qstringtokenizer.cpp
)
diff --git a/tests/auto/corelib/text/qstringview/CMakeLists.txt b/tests/auto/corelib/text/qstringview/CMakeLists.txt
index aefcf6a1ee..34c145a498 100644
--- a/tests/auto/corelib/text/qstringview/CMakeLists.txt
+++ b/tests/auto/corelib/text/qstringview/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstringview Test:
#####################################################################
-qt_add_test(tst_qstringview
+qt_internal_add_test(tst_qstringview
SOURCES
tst_qstringview.cpp
)
diff --git a/tests/auto/corelib/text/qtextboundaryfinder/CMakeLists.txt b/tests/auto/corelib/text/qtextboundaryfinder/CMakeLists.txt
index 93d858a96a..e9b0da83a6 100644
--- a/tests/auto/corelib/text/qtextboundaryfinder/CMakeLists.txt
+++ b/tests/auto/corelib/text/qtextboundaryfinder/CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "data")
-qt_add_test(tst_qtextboundaryfinder
+qt_internal_add_test(tst_qtextboundaryfinder
SOURCES
tst_qtextboundaryfinder.cpp
TESTDATA ${test_data}
@@ -25,7 +25,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
"data/WordBreakTest.txt"
)
- qt_add_resource(tst_qtextboundaryfinder "testdata"
+ qt_internal_add_resource(tst_qtextboundaryfinder "testdata"
PREFIX
"/"
FILES
diff --git a/tests/auto/corelib/thread/qatomicint/CMakeLists.txt b/tests/auto/corelib/thread/qatomicint/CMakeLists.txt
index d3d30f5928..867388cfbf 100644
--- a/tests/auto/corelib/thread/qatomicint/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicint/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicint Test:
#####################################################################
-qt_add_test(tst_qatomicint
+qt_internal_add_test(tst_qatomicint
SOURCES
tst_qatomicint.cpp
)
diff --git a/tests/auto/corelib/thread/qatomicinteger/char/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/char/CMakeLists.txt
index 527302cdd4..57601dc0e4 100644
--- a/tests/auto/corelib/thread/qatomicinteger/char/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/char/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_char Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_char
+qt_internal_add_test(tst_qatomicinteger_char
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/char16_t/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/char16_t/CMakeLists.txt
index 6fb1c8e975..6ac58c9136 100644
--- a/tests/auto/corelib/thread/qatomicinteger/char16_t/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/char16_t/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_char16_t Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_char16_t
+qt_internal_add_test(tst_qatomicinteger_char16_t
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/char32_t/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/char32_t/CMakeLists.txt
index 9a42a2ef09..911e9f5067 100644
--- a/tests/auto/corelib/thread/qatomicinteger/char32_t/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/char32_t/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_char32_t Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_char32_t
+qt_internal_add_test(tst_qatomicinteger_char32_t
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/int/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/int/CMakeLists.txt
index 32a529ea60..be59e2dc98 100644
--- a/tests/auto/corelib/thread/qatomicinteger/int/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/int/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_int Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_int
+qt_internal_add_test(tst_qatomicinteger_int
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/long/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/long/CMakeLists.txt
index 974cb2bb9d..3f632ff212 100644
--- a/tests/auto/corelib/thread/qatomicinteger/long/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/long/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_long Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_long
+qt_internal_add_test(tst_qatomicinteger_long
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/qlonglong/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/qlonglong/CMakeLists.txt
index bbee7fcb85..3de9227bb1 100644
--- a/tests/auto/corelib/thread/qatomicinteger/qlonglong/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/qlonglong/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_qlonglong Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_qlonglong
+qt_internal_add_test(tst_qatomicinteger_qlonglong
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/qptrdiff/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/qptrdiff/CMakeLists.txt
index 9dbff18228..cc6b5126d9 100644
--- a/tests/auto/corelib/thread/qatomicinteger/qptrdiff/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/qptrdiff/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_qptrdiff Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_qptrdiff
+qt_internal_add_test(tst_qatomicinteger_qptrdiff
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/quintptr/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/quintptr/CMakeLists.txt
index f5ef36f407..44cf39f06d 100644
--- a/tests/auto/corelib/thread/qatomicinteger/quintptr/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/quintptr/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_quintptr Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_quintptr
+qt_internal_add_test(tst_qatomicinteger_quintptr
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/qulonglong/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/qulonglong/CMakeLists.txt
index 5a783b941e..18d3e384b9 100644
--- a/tests/auto/corelib/thread/qatomicinteger/qulonglong/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/qulonglong/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_qulonglong Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_qulonglong
+qt_internal_add_test(tst_qatomicinteger_qulonglong
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/schar/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/schar/CMakeLists.txt
index 869473d0c9..760967532a 100644
--- a/tests/auto/corelib/thread/qatomicinteger/schar/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/schar/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_schar Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_schar
+qt_internal_add_test(tst_qatomicinteger_schar
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/short/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/short/CMakeLists.txt
index a90621584e..3f762e34ab 100644
--- a/tests/auto/corelib/thread/qatomicinteger/short/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/short/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_short Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_short
+qt_internal_add_test(tst_qatomicinteger_short
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/uchar/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/uchar/CMakeLists.txt
index a2ee999970..912365a6e9 100644
--- a/tests/auto/corelib/thread/qatomicinteger/uchar/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/uchar/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_uchar Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_uchar
+qt_internal_add_test(tst_qatomicinteger_uchar
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/uint/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/uint/CMakeLists.txt
index f1eec6140f..725fa91704 100644
--- a/tests/auto/corelib/thread/qatomicinteger/uint/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/uint/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_uint Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_uint
+qt_internal_add_test(tst_qatomicinteger_uint
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/ulong/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/ulong/CMakeLists.txt
index eba2944e44..d5d35f587d 100644
--- a/tests/auto/corelib/thread/qatomicinteger/ulong/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/ulong/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_ulong Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_ulong
+qt_internal_add_test(tst_qatomicinteger_ulong
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/ushort/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/ushort/CMakeLists.txt
index fe19fc42fc..fd7c002345 100644
--- a/tests/auto/corelib/thread/qatomicinteger/ushort/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/ushort/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_ushort Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_ushort
+qt_internal_add_test(tst_qatomicinteger_ushort
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicinteger/wchar_t/CMakeLists.txt b/tests/auto/corelib/thread/qatomicinteger/wchar_t/CMakeLists.txt
index dfc4e6ee37..aecb81005c 100644
--- a/tests/auto/corelib/thread/qatomicinteger/wchar_t/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicinteger/wchar_t/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicinteger_wchar_t Test:
#####################################################################
-qt_add_test(tst_qatomicinteger_wchar_t
+qt_internal_add_test(tst_qatomicinteger_wchar_t
SOURCES
../tst_qatomicinteger.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qatomicpointer/CMakeLists.txt b/tests/auto/corelib/thread/qatomicpointer/CMakeLists.txt
index 09c8c448df..2c3f32d7e3 100644
--- a/tests/auto/corelib/thread/qatomicpointer/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qatomicpointer/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qatomicpointer Test:
#####################################################################
-qt_add_test(tst_qatomicpointer
+qt_internal_add_test(tst_qatomicpointer
SOURCES
tst_qatomicpointer.cpp
)
diff --git a/tests/auto/corelib/thread/qfuture/.prev_CMakeLists.txt b/tests/auto/corelib/thread/qfuture/.prev_CMakeLists.txt
index 6908bd678c..8869f1ba84 100644
--- a/tests/auto/corelib/thread/qfuture/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/thread/qfuture/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfuture Test:
#####################################################################
-qt_add_test(tst_qfuture
+qt_internal_add_test(tst_qfuture
SOURCES
tst_qfuture.cpp
DEFINES
diff --git a/tests/auto/corelib/thread/qfuture/CMakeLists.txt b/tests/auto/corelib/thread/qfuture/CMakeLists.txt
index 6fdfc977e9..dcf7846fd2 100644
--- a/tests/auto/corelib/thread/qfuture/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qfuture/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfuture Test:
#####################################################################
-qt_add_test(tst_qfuture
+qt_internal_add_test(tst_qfuture
SOURCES
tst_qfuture.cpp
# DEFINES
diff --git a/tests/auto/corelib/thread/qfuturesynchronizer/CMakeLists.txt b/tests/auto/corelib/thread/qfuturesynchronizer/CMakeLists.txt
index 3ebd266084..e41b8e70c6 100644
--- a/tests/auto/corelib/thread/qfuturesynchronizer/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qfuturesynchronizer/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfuturesynchronizer Test:
#####################################################################
-qt_add_test(tst_qfuturesynchronizer
+qt_internal_add_test(tst_qfuturesynchronizer
SOURCES
tst_qfuturesynchronizer.cpp
)
diff --git a/tests/auto/corelib/thread/qfuturewatcher/CMakeLists.txt b/tests/auto/corelib/thread/qfuturewatcher/CMakeLists.txt
index a6771e538e..93ac2dd870 100644
--- a/tests/auto/corelib/thread/qfuturewatcher/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qfuturewatcher/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfuturewatcher Test:
#####################################################################
-qt_add_test(tst_qfuturewatcher
+qt_internal_add_test(tst_qfuturewatcher
SOURCES
tst_qfuturewatcher.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/thread/qmutex/CMakeLists.txt b/tests/auto/corelib/thread/qmutex/CMakeLists.txt
index ee7bcde85f..41b7b1da68 100644
--- a/tests/auto/corelib/thread/qmutex/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qmutex/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmutex Test:
#####################################################################
-qt_add_test(tst_qmutex
+qt_internal_add_test(tst_qmutex
SOURCES
tst_qmutex.cpp
)
@@ -12,7 +12,7 @@ qt_add_test(tst_qmutex
## Scopes:
#####################################################################
-qt_extend_target(tst_qmutex CONDITION WIN32
+qt_internal_extend_target(tst_qmutex CONDITION WIN32
PUBLIC_LIBRARIES
Qt::CorePrivate
)
diff --git a/tests/auto/corelib/thread/qmutexlocker/CMakeLists.txt b/tests/auto/corelib/thread/qmutexlocker/CMakeLists.txt
index 2f85dd512f..b73d0d073d 100644
--- a/tests/auto/corelib/thread/qmutexlocker/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qmutexlocker/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmutexlocker Test:
#####################################################################
-qt_add_test(tst_qmutexlocker
+qt_internal_add_test(tst_qmutexlocker
SOURCES
tst_qmutexlocker.cpp
)
diff --git a/tests/auto/corelib/thread/qpromise/.prev_CMakeLists.txt b/tests/auto/corelib/thread/qpromise/.prev_CMakeLists.txt
deleted file mode 100644
index dc25a38fea..0000000000
--- a/tests/auto/corelib/thread/qpromise/.prev_CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-# Generated from qpromise.pro.
-
-#####################################################################
-## tst_qpromise Test:
-#####################################################################
-
-qt_add_test(tst_qpromise
- SOURCES
- tst_qpromise.cpp
- PUBLIC_LIBRARIES
- Qt::CorePrivate
-)
diff --git a/tests/auto/corelib/thread/qpromise/CMakeLists.txt b/tests/auto/corelib/thread/qpromise/CMakeLists.txt
index dc25a38fea..b841c7812b 100644
--- a/tests/auto/corelib/thread/qpromise/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qpromise/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpromise Test:
#####################################################################
-qt_add_test(tst_qpromise
+qt_internal_add_test(tst_qpromise
SOURCES
tst_qpromise.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/thread/qreadlocker/CMakeLists.txt b/tests/auto/corelib/thread/qreadlocker/CMakeLists.txt
index 245fb52dfc..da6091d588 100644
--- a/tests/auto/corelib/thread/qreadlocker/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qreadlocker/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qreadlocker Test:
#####################################################################
-qt_add_test(tst_qreadlocker
+qt_internal_add_test(tst_qreadlocker
SOURCES
tst_qreadlocker.cpp
)
diff --git a/tests/auto/corelib/thread/qreadwritelock/CMakeLists.txt b/tests/auto/corelib/thread/qreadwritelock/CMakeLists.txt
index fbd8ebf408..4b81229024 100644
--- a/tests/auto/corelib/thread/qreadwritelock/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qreadwritelock/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qreadwritelock Test:
#####################################################################
-qt_add_test(tst_qreadwritelock
+qt_internal_add_test(tst_qreadwritelock
SOURCES
tst_qreadwritelock.cpp
)
diff --git a/tests/auto/corelib/thread/qresultstore/CMakeLists.txt b/tests/auto/corelib/thread/qresultstore/CMakeLists.txt
index c75794cb25..ca30061d15 100644
--- a/tests/auto/corelib/thread/qresultstore/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qresultstore/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qresultstore Test:
#####################################################################
-qt_add_test(tst_qresultstore
+qt_internal_add_test(tst_qresultstore
SOURCES
tst_qresultstore.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/thread/qsemaphore/CMakeLists.txt b/tests/auto/corelib/thread/qsemaphore/CMakeLists.txt
index d83e088004..1860347448 100644
--- a/tests/auto/corelib/thread/qsemaphore/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qsemaphore/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qsemaphore Test:
#####################################################################
-qt_add_test(tst_qsemaphore
+qt_internal_add_test(tst_qsemaphore
SOURCES
tst_qsemaphore.cpp
)
diff --git a/tests/auto/corelib/thread/qthread/.prev_CMakeLists.txt b/tests/auto/corelib/thread/qthread/.prev_CMakeLists.txt
deleted file mode 100644
index 2c92a710b3..0000000000
--- a/tests/auto/corelib/thread/qthread/.prev_CMakeLists.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-# Generated from qthread.pro.
-
-#####################################################################
-## tst_qthread Test:
-#####################################################################
-
-qt_add_test(tst_qthread
- SOURCES
- ../../../../shared/emulationdetector.h
- tst_qthread.cpp
- INCLUDE_DIRECTORIES
- ../../../../shared
-)
-
-## Scopes:
-#####################################################################
diff --git a/tests/auto/corelib/thread/qthread/CMakeLists.txt b/tests/auto/corelib/thread/qthread/CMakeLists.txt
index 2c92a710b3..b3662f31da 100644
--- a/tests/auto/corelib/thread/qthread/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qthread/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qthread Test:
#####################################################################
-qt_add_test(tst_qthread
+qt_internal_add_test(tst_qthread
SOURCES
../../../../shared/emulationdetector.h
tst_qthread.cpp
diff --git a/tests/auto/corelib/thread/qthreadonce/CMakeLists.txt b/tests/auto/corelib/thread/qthreadonce/CMakeLists.txt
index 1b5b77cfd8..cd4aaa5d72 100644
--- a/tests/auto/corelib/thread/qthreadonce/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qthreadonce/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qthreadonce Test:
#####################################################################
-qt_add_test(tst_qthreadonce
+qt_internal_add_test(tst_qthreadonce
SOURCES
qthreadonce.cpp
tst_qthreadonce.cpp
diff --git a/tests/auto/corelib/thread/qthreadpool/CMakeLists.txt b/tests/auto/corelib/thread/qthreadpool/CMakeLists.txt
index 8d2c3719c6..ebf9fc104f 100644
--- a/tests/auto/corelib/thread/qthreadpool/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qthreadpool/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qthreadpool Test:
#####################################################################
-qt_add_test(tst_qthreadpool
+qt_internal_add_test(tst_qthreadpool
SOURCES
tst_qthreadpool.cpp
)
diff --git a/tests/auto/corelib/thread/qthreadstorage/CMakeLists.txt b/tests/auto/corelib/thread/qthreadstorage/CMakeLists.txt
index e57f0c71ac..1340b30388 100644
--- a/tests/auto/corelib/thread/qthreadstorage/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qthreadstorage/CMakeLists.txt
@@ -5,7 +5,7 @@
## tst_qthreadstorage Test:
#####################################################################
-add_qt_test(tst_qthreadstorage
+qt_internal_add_test(tst_qthreadstorage
SOURCES
tst_qthreadstorage.cpp
)
diff --git a/tests/auto/corelib/thread/qthreadstorage/crashonexit/.prev_CMakeLists.txt b/tests/auto/corelib/thread/qthreadstorage/crashonexit/.prev_CMakeLists.txt
index 8a8e24587d..eaf743ab86 100644
--- a/tests/auto/corelib/thread/qthreadstorage/crashonexit/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/thread/qthreadstorage/crashonexit/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## crashonexit Binary:
#####################################################################
-qt_add_executable(crashonexit
+qt_internal_add_executable(crashonexit
OUTPUT_DIRECTORY "${INSTALL_TESTSDIR}/tst_qthreadstorage/crashonexit"
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qthreadstorage/crashonexit"
SOURCES
diff --git a/tests/auto/corelib/thread/qthreadstorage/crashonexit/CMakeLists.txt b/tests/auto/corelib/thread/qthreadstorage/crashonexit/CMakeLists.txt
index 0951c7df53..a6de9678c0 100644
--- a/tests/auto/corelib/thread/qthreadstorage/crashonexit/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qthreadstorage/crashonexit/CMakeLists.txt
@@ -4,7 +4,7 @@
## crashonexit Binary:
#####################################################################
-qt_add_executable(crashOnExit_helper # special case
+qt_internal_add_executable(crashOnExit_helper # special case
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/.." # special case
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_qthreadstorage/crashOnExit_helper" # special case
SOURCES
diff --git a/tests/auto/corelib/thread/qwaitcondition/CMakeLists.txt b/tests/auto/corelib/thread/qwaitcondition/CMakeLists.txt
index 91db59c391..e600ff3a42 100644
--- a/tests/auto/corelib/thread/qwaitcondition/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qwaitcondition/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qwaitcondition Test:
#####################################################################
-qt_add_test(tst_qwaitcondition
+qt_internal_add_test(tst_qwaitcondition
SOURCES
tst_qwaitcondition.cpp
)
diff --git a/tests/auto/corelib/thread/qwritelocker/CMakeLists.txt b/tests/auto/corelib/thread/qwritelocker/CMakeLists.txt
index 5db1124951..200fa2ee3c 100644
--- a/tests/auto/corelib/thread/qwritelocker/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qwritelocker/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qwritelocker Test:
#####################################################################
-qt_add_test(tst_qwritelocker
+qt_internal_add_test(tst_qwritelocker
SOURCES
tst_qwritelocker.cpp
)
diff --git a/tests/auto/corelib/time/qcalendar/CMakeLists.txt b/tests/auto/corelib/time/qcalendar/CMakeLists.txt
index 12365467fb..4a8ab7f846 100644
--- a/tests/auto/corelib/time/qcalendar/CMakeLists.txt
+++ b/tests/auto/corelib/time/qcalendar/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qcalendar Test:
#####################################################################
-qt_add_test(tst_qcalendar
+qt_internal_add_test(tst_qcalendar
SOURCES
tst_qcalendar.cpp
)
diff --git a/tests/auto/corelib/time/qdate/CMakeLists.txt b/tests/auto/corelib/time/qdate/CMakeLists.txt
index 484ea08a7a..647be9a6f8 100644
--- a/tests/auto/corelib/time/qdate/CMakeLists.txt
+++ b/tests/auto/corelib/time/qdate/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdate Test:
#####################################################################
-qt_add_test(tst_qdate
+qt_internal_add_test(tst_qdate
SOURCES
tst_qdate.cpp
DEFINES
diff --git a/tests/auto/corelib/time/qdatetime/CMakeLists.txt b/tests/auto/corelib/time/qdatetime/CMakeLists.txt
index e27559c401..c5b8d2bb6e 100644
--- a/tests/auto/corelib/time/qdatetime/CMakeLists.txt
+++ b/tests/auto/corelib/time/qdatetime/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdatetime Test:
#####################################################################
-qt_add_test(tst_qdatetime
+qt_internal_add_test(tst_qdatetime
SOURCES
tst_qdatetime.cpp
DEFINES
@@ -21,7 +21,7 @@ qt_add_test(tst_qdatetime
# QMAKE_CFLAGS_RELEASE = "--O1"
# QMAKE_CXXFLAGS_RELEASE = "--O1"
-qt_extend_target(tst_qdatetime CONDITION APPLE
+qt_internal_extend_target(tst_qdatetime CONDITION APPLE
SOURCES
tst_qdatetime_mac.mm
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/time/qtime/CMakeLists.txt b/tests/auto/corelib/time/qtime/CMakeLists.txt
index df3adf3649..6d3034c595 100644
--- a/tests/auto/corelib/time/qtime/CMakeLists.txt
+++ b/tests/auto/corelib/time/qtime/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtime Test:
#####################################################################
-qt_add_test(tst_qtime
+qt_internal_add_test(tst_qtime
SOURCES
tst_qtime.cpp
DEFINES
diff --git a/tests/auto/corelib/time/qtimezone/CMakeLists.txt b/tests/auto/corelib/time/qtimezone/CMakeLists.txt
index b97b2f9fd1..160ade2afd 100644
--- a/tests/auto/corelib/time/qtimezone/CMakeLists.txt
+++ b/tests/auto/corelib/time/qtimezone/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtimezone Test:
#####################################################################
-qt_add_test(tst_qtimezone
+qt_internal_add_test(tst_qtimezone
SOURCES
tst_qtimezone.cpp
DEFINES
@@ -17,12 +17,12 @@ qt_add_test(tst_qtimezone
## Scopes:
#####################################################################
-qt_extend_target(tst_qtimezone CONDITION QT_FEATURE_icu
+qt_internal_extend_target(tst_qtimezone CONDITION QT_FEATURE_icu
LIBRARIES
ICU::i18n ICU::uc ICU::data
)
-qt_extend_target(tst_qtimezone CONDITION APPLE
+qt_internal_extend_target(tst_qtimezone CONDITION APPLE
SOURCES
tst_qtimezone_darwin.mm
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/tools/collections/.prev_CMakeLists.txt b/tests/auto/corelib/tools/collections/.prev_CMakeLists.txt
index 37c3a21d78..0b0d8e062a 100644
--- a/tests/auto/corelib/tools/collections/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/tools/collections/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_collections Test:
#####################################################################
-qt_add_test(tst_collections
+qt_internal_add_test(tst_collections
SOURCES
tst_collections.cpp
DEFINES
diff --git a/tests/auto/corelib/tools/collections/CMakeLists.txt b/tests/auto/corelib/tools/collections/CMakeLists.txt
index 4575d27d20..32ef8d7506 100644
--- a/tests/auto/corelib/tools/collections/CMakeLists.txt
+++ b/tests/auto/corelib/tools/collections/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_collections Test:
#####################################################################
-qt_add_test(tst_collections
+qt_internal_add_test(tst_collections
SOURCES
tst_collections.cpp
DEFINES
diff --git a/tests/auto/corelib/tools/containerapisymmetry/CMakeLists.txt b/tests/auto/corelib/tools/containerapisymmetry/CMakeLists.txt
index 8d160af9af..f640996a53 100644
--- a/tests/auto/corelib/tools/containerapisymmetry/CMakeLists.txt
+++ b/tests/auto/corelib/tools/containerapisymmetry/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_containerapisymmetry Test:
#####################################################################
-qt_add_test(tst_containerapisymmetry
+qt_internal_add_test(tst_containerapisymmetry
SOURCES
tst_containerapisymmetry.cpp
)
diff --git a/tests/auto/corelib/tools/qalgorithms/CMakeLists.txt b/tests/auto/corelib/tools/qalgorithms/CMakeLists.txt
index 2ddc47b5c0..d793c81ce6 100644
--- a/tests/auto/corelib/tools/qalgorithms/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qalgorithms/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qalgorithms Test:
#####################################################################
-qt_add_test(tst_qalgorithms
+qt_internal_add_test(tst_qalgorithms
SOURCES
tst_qalgorithms.cpp
)
diff --git a/tests/auto/corelib/tools/qarraydata/CMakeLists.txt b/tests/auto/corelib/tools/qarraydata/CMakeLists.txt
index fac007f3b5..4a2f9d0d6a 100644
--- a/tests/auto/corelib/tools/qarraydata/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qarraydata/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qarraydata Test:
#####################################################################
-qt_add_test(tst_qarraydata
+qt_internal_add_test(tst_qarraydata
EXCEPTIONS
SOURCES
simplevector.h
diff --git a/tests/auto/corelib/tools/qbitarray/CMakeLists.txt b/tests/auto/corelib/tools/qbitarray/CMakeLists.txt
index 439aa4af6c..37e7a873e8 100644
--- a/tests/auto/corelib/tools/qbitarray/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qbitarray/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qbitarray Test:
#####################################################################
-qt_add_test(tst_qbitarray
+qt_internal_add_test(tst_qbitarray
SOURCES
tst_qbitarray.cpp
)
diff --git a/tests/auto/corelib/tools/qcache/CMakeLists.txt b/tests/auto/corelib/tools/qcache/CMakeLists.txt
index 509056c06b..5ed12a7973 100644
--- a/tests/auto/corelib/tools/qcache/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qcache/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qcache Test:
#####################################################################
-qt_add_test(tst_qcache
+qt_internal_add_test(tst_qcache
SOURCES
tst_qcache.cpp
)
diff --git a/tests/auto/corelib/tools/qcommandlineparser/CMakeLists.txt b/tests/auto/corelib/tools/qcommandlineparser/CMakeLists.txt
index 75e9ebfc94..128b8cfd73 100644
--- a/tests/auto/corelib/tools/qcommandlineparser/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qcommandlineparser/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qcommandlineparser Test:
#####################################################################
-qt_add_test(tst_qcommandlineparser
+qt_internal_add_test(tst_qcommandlineparser
SOURCES
tst_qcommandlineparser.cpp
)
diff --git a/tests/auto/corelib/tools/qcommandlineparser/testhelper/CMakeLists.txt b/tests/auto/corelib/tools/qcommandlineparser/testhelper/CMakeLists.txt
index 688c685ade..2068f988dd 100644
--- a/tests/auto/corelib/tools/qcommandlineparser/testhelper/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qcommandlineparser/testhelper/CMakeLists.txt
@@ -4,7 +4,7 @@
## qcommandlineparser_test_helper Binary:
#####################################################################
-qt_add_executable(qcommandlineparser_test_helper
+qt_internal_add_executable(qcommandlineparser_test_helper
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
qcommandlineparser_test_helper.cpp
diff --git a/tests/auto/corelib/tools/qcontiguouscache/CMakeLists.txt b/tests/auto/corelib/tools/qcontiguouscache/CMakeLists.txt
index 7754954457..dc9722ccc7 100644
--- a/tests/auto/corelib/tools/qcontiguouscache/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qcontiguouscache/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qcontiguouscache Test:
#####################################################################
-qt_add_test(tst_qcontiguouscache
+qt_internal_add_test(tst_qcontiguouscache
SOURCES
tst_qcontiguouscache.cpp
)
diff --git a/tests/auto/corelib/tools/qcryptographichash/CMakeLists.txt b/tests/auto/corelib/tools/qcryptographichash/CMakeLists.txt
index 4984606509..a4b3106856 100644
--- a/tests/auto/corelib/tools/qcryptographichash/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qcryptographichash/CMakeLists.txt
@@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
data/*)
list(APPEND test_data ${test_data_glob})
-qt_add_test(tst_qcryptographichash
+qt_internal_add_test(tst_qcryptographichash
SOURCES
tst_qcryptographichash.cpp
TESTDATA ${test_data}
@@ -26,7 +26,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
"data/d41d8cd98f00b204e9800998ecf8427e.md5"
)
- qt_add_resource(tst_qcryptographichash "testdata"
+ qt_internal_add_resource(tst_qcryptographichash "testdata"
PREFIX
"/"
FILES
diff --git a/tests/auto/corelib/tools/qeasingcurve/CMakeLists.txt b/tests/auto/corelib/tools/qeasingcurve/CMakeLists.txt
index f93bfe6b94..ce12cd9bfc 100644
--- a/tests/auto/corelib/tools/qeasingcurve/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qeasingcurve/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qeasingcurve Test:
#####################################################################
-qt_add_test(tst_qeasingcurve
+qt_internal_add_test(tst_qeasingcurve
SOURCES
tst_qeasingcurve.cpp
)
diff --git a/tests/auto/corelib/tools/qexplicitlyshareddatapointer/CMakeLists.txt b/tests/auto/corelib/tools/qexplicitlyshareddatapointer/CMakeLists.txt
index 9943f5200b..92850a8c4e 100644
--- a/tests/auto/corelib/tools/qexplicitlyshareddatapointer/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qexplicitlyshareddatapointer/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qexplicitlyshareddatapointer Test:
#####################################################################
-qt_add_test(tst_qexplicitlyshareddatapointer
+qt_internal_add_test(tst_qexplicitlyshareddatapointer
SOURCES
tst_qexplicitlyshareddatapointer.cpp
)
diff --git a/tests/auto/corelib/tools/qflatmap/CMakeLists.txt b/tests/auto/corelib/tools/qflatmap/CMakeLists.txt
index f5a5dfd5fc..5d79b16776 100644
--- a/tests/auto/corelib/tools/qflatmap/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qflatmap/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qflatmap Test:
#####################################################################
-qt_add_test(tst_qflatmap
+qt_internal_add_test(tst_qflatmap
SOURCES
tst_qflatmap.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/tools/qfreelist/CMakeLists.txt b/tests/auto/corelib/tools/qfreelist/CMakeLists.txt
index 3940470240..cdac17e612 100644
--- a/tests/auto/corelib/tools/qfreelist/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qfreelist/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfreelist Test:
#####################################################################
-qt_add_test(tst_qfreelist
+qt_internal_add_test(tst_qfreelist
SOURCES
tst_qfreelist.cpp
PUBLIC_LIBRARIES
@@ -14,7 +14,7 @@ qt_add_test(tst_qfreelist
## Scopes:
#####################################################################
-qt_extend_target(tst_qfreelist CONDITION NOT QT_FEATURE_private_tests
+qt_internal_extend_target(tst_qfreelist CONDITION NOT QT_FEATURE_private_tests
SOURCES
${QT_SOURCE_TREE}/src/corelib/tools/qfreelist.cpp
)
diff --git a/tests/auto/corelib/tools/qhash/.prev_CMakeLists.txt b/tests/auto/corelib/tools/qhash/.prev_CMakeLists.txt
index cb0327c90f..0d41a6875e 100644
--- a/tests/auto/corelib/tools/qhash/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/tools/qhash/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qhash Test:
#####################################################################
-qt_add_test(tst_qhash
+qt_internal_add_test(tst_qhash
SOURCES
tst_qhash.cpp
DEFINES
diff --git a/tests/auto/corelib/tools/qhash/CMakeLists.txt b/tests/auto/corelib/tools/qhash/CMakeLists.txt
index 39b8e25e30..b01782aed5 100644
--- a/tests/auto/corelib/tools/qhash/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qhash/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qhash Test:
#####################################################################
-qt_add_test(tst_qhash
+qt_internal_add_test(tst_qhash
SOURCES
tst_qhash.cpp
DEFINES
diff --git a/tests/auto/corelib/tools/qhashfunctions/CMakeLists.txt b/tests/auto/corelib/tools/qhashfunctions/CMakeLists.txt
index a91a7c02ef..86d4207d6e 100644
--- a/tests/auto/corelib/tools/qhashfunctions/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qhashfunctions/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qhashfunctions Test:
#####################################################################
-qt_add_test(tst_qhashfunctions
+qt_internal_add_test(tst_qhashfunctions
SOURCES
tst_qhashfunctions.cpp
)
diff --git a/tests/auto/corelib/tools/qline/CMakeLists.txt b/tests/auto/corelib/tools/qline/CMakeLists.txt
index 24de03c81a..49253ff06c 100644
--- a/tests/auto/corelib/tools/qline/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qline/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qline Test:
#####################################################################
-qt_add_test(tst_qline
+qt_internal_add_test(tst_qline
SOURCES
tst_qline.cpp
)
@@ -12,7 +12,7 @@ qt_add_test(tst_qline
## Scopes:
#####################################################################
-qt_extend_target(tst_qline CONDITION UNIX AND NOT APPLE AND NOT HAIKU AND NOT INTEGRITY AND NOT VXWORKS
+qt_internal_extend_target(tst_qline CONDITION UNIX AND NOT APPLE AND NOT HAIKU AND NOT INTEGRITY AND NOT VXWORKS
PUBLIC_LIBRARIES
m
)
diff --git a/tests/auto/corelib/tools/qlist/CMakeLists.txt b/tests/auto/corelib/tools/qlist/CMakeLists.txt
index 6909d83967..89b92ab305 100644
--- a/tests/auto/corelib/tools/qlist/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qlist/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qlist Test:
#####################################################################
-qt_add_test(tst_qlist
+qt_internal_add_test(tst_qlist
SOURCES
tst_qlist.cpp
)
diff --git a/tests/auto/corelib/tools/qmacautoreleasepool/CMakeLists.txt b/tests/auto/corelib/tools/qmacautoreleasepool/CMakeLists.txt
index e41a779029..e2f1ed45ea 100644
--- a/tests/auto/corelib/tools/qmacautoreleasepool/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qmacautoreleasepool/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmacautoreleasepool Test:
#####################################################################
-qt_add_test(tst_qmacautoreleasepool
+qt_internal_add_test(tst_qmacautoreleasepool
SOURCES
tst_qmacautoreleasepool.mm
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/tools/qmakearray/CMakeLists.txt b/tests/auto/corelib/tools/qmakearray/CMakeLists.txt
index 1c38a99d99..fc5be609e1 100644
--- a/tests/auto/corelib/tools/qmakearray/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qmakearray/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmakearray Test:
#####################################################################
-qt_add_test(tst_qmakearray
+qt_internal_add_test(tst_qmakearray
SOURCES
tst_qmakearray.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/tools/qmap/.prev_CMakeLists.txt b/tests/auto/corelib/tools/qmap/.prev_CMakeLists.txt
index 4d1425251b..d96ed13596 100644
--- a/tests/auto/corelib/tools/qmap/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/tools/qmap/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmap Test:
#####################################################################
-qt_add_test(tst_qmap
+qt_internal_add_test(tst_qmap
SOURCES
tst_qmap.cpp
DEFINES
diff --git a/tests/auto/corelib/tools/qmap/CMakeLists.txt b/tests/auto/corelib/tools/qmap/CMakeLists.txt
index 5de85b2fc2..c0a2cb79ab 100644
--- a/tests/auto/corelib/tools/qmap/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qmap/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmap Test:
#####################################################################
-qt_add_test(tst_qmap
+qt_internal_add_test(tst_qmap
SOURCES
tst_qmap.cpp
DEFINES
diff --git a/tests/auto/corelib/tools/qmargins/CMakeLists.txt b/tests/auto/corelib/tools/qmargins/CMakeLists.txt
index fa1530b32c..aa58ce03ab 100644
--- a/tests/auto/corelib/tools/qmargins/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qmargins/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmargins Test:
#####################################################################
-qt_add_test(tst_qmargins
+qt_internal_add_test(tst_qmargins
SOURCES
tst_qmargins.cpp
)
diff --git a/tests/auto/corelib/tools/qmessageauthenticationcode/CMakeLists.txt b/tests/auto/corelib/tools/qmessageauthenticationcode/CMakeLists.txt
index 75a6febf81..dcc86fe555 100644
--- a/tests/auto/corelib/tools/qmessageauthenticationcode/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qmessageauthenticationcode/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmessageauthenticationcode Test:
#####################################################################
-qt_add_test(tst_qmessageauthenticationcode
+qt_internal_add_test(tst_qmessageauthenticationcode
SOURCES
tst_qmessageauthenticationcode.cpp
)
diff --git a/tests/auto/corelib/tools/qoffsetstringarray/CMakeLists.txt b/tests/auto/corelib/tools/qoffsetstringarray/CMakeLists.txt
index 1a10b0dc47..7584d580ec 100644
--- a/tests/auto/corelib/tools/qoffsetstringarray/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qoffsetstringarray/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qoffsetstringarray Test:
#####################################################################
-qt_add_test(tst_qoffsetstringarray
+qt_internal_add_test(tst_qoffsetstringarray
SOURCES
tst_qoffsetstringarray.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/tools/qpair/CMakeLists.txt b/tests/auto/corelib/tools/qpair/CMakeLists.txt
index b02f4feb0b..3d0ba82e44 100644
--- a/tests/auto/corelib/tools/qpair/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qpair/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpair Test:
#####################################################################
-qt_add_test(tst_qpair
+qt_internal_add_test(tst_qpair
SOURCES
tst_qpair.cpp
)
diff --git a/tests/auto/corelib/tools/qpoint/CMakeLists.txt b/tests/auto/corelib/tools/qpoint/CMakeLists.txt
index 1667c0239c..ddc0733231 100644
--- a/tests/auto/corelib/tools/qpoint/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qpoint/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpoint Test:
#####################################################################
-qt_add_test(tst_qpoint
+qt_internal_add_test(tst_qpoint
SOURCES
tst_qpoint.cpp
)
diff --git a/tests/auto/corelib/tools/qpointf/CMakeLists.txt b/tests/auto/corelib/tools/qpointf/CMakeLists.txt
index e7d1f1b0ff..09f725f8e6 100644
--- a/tests/auto/corelib/tools/qpointf/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qpointf/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpointf Test:
#####################################################################
-qt_add_test(tst_qpointf
+qt_internal_add_test(tst_qpointf
SOURCES
tst_qpointf.cpp
)
diff --git a/tests/auto/corelib/tools/qqueue/CMakeLists.txt b/tests/auto/corelib/tools/qqueue/CMakeLists.txt
index fc0517b69f..c3528163eb 100644
--- a/tests/auto/corelib/tools/qqueue/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qqueue/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qqueue Test:
#####################################################################
-qt_add_test(tst_qqueue
+qt_internal_add_test(tst_qqueue
SOURCES
tst_qqueue.cpp
)
diff --git a/tests/auto/corelib/tools/qrect/CMakeLists.txt b/tests/auto/corelib/tools/qrect/CMakeLists.txt
index 5acc4522b6..d48bec0c7d 100644
--- a/tests/auto/corelib/tools/qrect/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qrect/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qrect Test:
#####################################################################
-qt_add_test(tst_qrect
+qt_internal_add_test(tst_qrect
SOURCES
tst_qrect.cpp
)
diff --git a/tests/auto/corelib/tools/qringbuffer/CMakeLists.txt b/tests/auto/corelib/tools/qringbuffer/CMakeLists.txt
index 029d032d5c..d5d633c0bd 100644
--- a/tests/auto/corelib/tools/qringbuffer/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qringbuffer/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qringbuffer Test:
#####################################################################
-qt_add_test(tst_qringbuffer
+qt_internal_add_test(tst_qringbuffer
SOURCES
tst_qringbuffer.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/tools/qscopedpointer/CMakeLists.txt b/tests/auto/corelib/tools/qscopedpointer/CMakeLists.txt
index 8bc4b7e43b..df2d2aa509 100644
--- a/tests/auto/corelib/tools/qscopedpointer/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qscopedpointer/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qscopedpointer Test:
#####################################################################
-qt_add_test(tst_qscopedpointer
+qt_internal_add_test(tst_qscopedpointer
SOURCES
tst_qscopedpointer.cpp
)
diff --git a/tests/auto/corelib/tools/qscopedvaluerollback/CMakeLists.txt b/tests/auto/corelib/tools/qscopedvaluerollback/CMakeLists.txt
index 653f0bc071..fa3e3e3024 100644
--- a/tests/auto/corelib/tools/qscopedvaluerollback/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qscopedvaluerollback/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qscopedvaluerollback Test:
#####################################################################
-qt_add_test(tst_qscopedvaluerollback
+qt_internal_add_test(tst_qscopedvaluerollback
SOURCES
tst_qscopedvaluerollback.cpp
)
diff --git a/tests/auto/corelib/tools/qscopeguard/CMakeLists.txt b/tests/auto/corelib/tools/qscopeguard/CMakeLists.txt
index 79efcd4d86..d21df799ea 100644
--- a/tests/auto/corelib/tools/qscopeguard/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qscopeguard/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qscopeguard Test:
#####################################################################
-qt_add_test(tst_qscopeguard
+qt_internal_add_test(tst_qscopeguard
SOURCES
tst_qscopeguard.cpp
)
diff --git a/tests/auto/corelib/tools/qset/.prev_CMakeLists.txt b/tests/auto/corelib/tools/qset/.prev_CMakeLists.txt
index 8e7312b739..acf423880d 100644
--- a/tests/auto/corelib/tools/qset/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/tools/qset/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qset Test:
#####################################################################
-qt_add_test(tst_qset
+qt_internal_add_test(tst_qset
SOURCES
tst_qset.cpp
DEFINES
diff --git a/tests/auto/corelib/tools/qset/CMakeLists.txt b/tests/auto/corelib/tools/qset/CMakeLists.txt
index 85845f76d2..ed92c1e036 100644
--- a/tests/auto/corelib/tools/qset/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qset/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qset Test:
#####################################################################
-qt_add_test(tst_qset
+qt_internal_add_test(tst_qset
SOURCES
tst_qset.cpp
#DEFINES # special case remove
diff --git a/tests/auto/corelib/tools/qsize/CMakeLists.txt b/tests/auto/corelib/tools/qsize/CMakeLists.txt
index 1d3018f066..5ecd154cd3 100644
--- a/tests/auto/corelib/tools/qsize/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qsize/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qsize Test:
#####################################################################
-qt_add_test(tst_qsize
+qt_internal_add_test(tst_qsize
SOURCES
tst_qsize.cpp
)
diff --git a/tests/auto/corelib/tools/qsizef/CMakeLists.txt b/tests/auto/corelib/tools/qsizef/CMakeLists.txt
index cb942e10ec..eb59fc6d8e 100644
--- a/tests/auto/corelib/tools/qsizef/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qsizef/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qsizef Test:
#####################################################################
-qt_add_test(tst_qsizef
+qt_internal_add_test(tst_qsizef
SOURCES
tst_qsizef.cpp
)
diff --git a/tests/auto/corelib/tools/qstl/CMakeLists.txt b/tests/auto/corelib/tools/qstl/CMakeLists.txt
index 65af48f1a2..49b209cffa 100644
--- a/tests/auto/corelib/tools/qstl/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qstl/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstl Test:
#####################################################################
-qt_add_test(tst_qstl
+qt_internal_add_test(tst_qstl
SOURCES
tst_qstl.cpp
)
diff --git a/tests/auto/corelib/tools/qtaggedpointer/CMakeLists.txt b/tests/auto/corelib/tools/qtaggedpointer/CMakeLists.txt
index 1057e5ebe5..7f3ae75028 100644
--- a/tests/auto/corelib/tools/qtaggedpointer/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qtaggedpointer/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtaggedpointer Test:
#####################################################################
-qt_add_test(tst_qtaggedpointer
+qt_internal_add_test(tst_qtaggedpointer
SOURCES
tst_qtaggedpointer.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/corelib/tools/qtimeline/CMakeLists.txt b/tests/auto/corelib/tools/qtimeline/CMakeLists.txt
index abf76e4b73..de61529fd2 100644
--- a/tests/auto/corelib/tools/qtimeline/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qtimeline/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtimeline Test:
#####################################################################
-qt_add_test(tst_qtimeline
+qt_internal_add_test(tst_qtimeline
SOURCES
tst_qtimeline.cpp
)
diff --git a/tests/auto/corelib/tools/qvarlengtharray/CMakeLists.txt b/tests/auto/corelib/tools/qvarlengtharray/CMakeLists.txt
index 63bb827ec1..bdc927d5b6 100644
--- a/tests/auto/corelib/tools/qvarlengtharray/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qvarlengtharray/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qvarlengtharray Test:
#####################################################################
-qt_add_test(tst_qvarlengtharray
+qt_internal_add_test(tst_qvarlengtharray
SOURCES
tst_qvarlengtharray.cpp
)
diff --git a/tests/auto/corelib/tools/qversionnumber/CMakeLists.txt b/tests/auto/corelib/tools/qversionnumber/CMakeLists.txt
index 893ea91413..2ab3703121 100644
--- a/tests/auto/corelib/tools/qversionnumber/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qversionnumber/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qversionnumber Test:
#####################################################################
-qt_add_test(tst_qversionnumber
+qt_internal_add_test(tst_qversionnumber
SOURCES
tst_qversionnumber.cpp
)
diff --git a/tests/auto/dbus/qdbusabstractadaptor/CMakeLists.txt b/tests/auto/dbus/qdbusabstractadaptor/CMakeLists.txt
index 0f6d732b09..797c56221b 100644
--- a/tests/auto/dbus/qdbusabstractadaptor/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusabstractadaptor/CMakeLists.txt
@@ -3,7 +3,7 @@
add_subdirectory(qmyserver)
# special case begin
-qt_add_test(tst_qdbusabstractadaptor
+qt_internal_add_test(tst_qdbusabstractadaptor
SOURCES
myobject.h
tst_qdbusabstractadaptor.cpp
diff --git a/tests/auto/dbus/qdbusabstractadaptor/qmyserver/.prev_CMakeLists.txt b/tests/auto/dbus/qdbusabstractadaptor/qmyserver/.prev_CMakeLists.txt
index 32af66f30c..e667573738 100644
--- a/tests/auto/dbus/qdbusabstractadaptor/qmyserver/.prev_CMakeLists.txt
+++ b/tests/auto/dbus/qdbusabstractadaptor/qmyserver/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## qmyserver Binary:
#####################################################################
-qt_add_executable(qmyserver
+qt_internal_add_executable(qmyserver
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
../myobject.h
diff --git a/tests/auto/dbus/qdbusabstractadaptor/qmyserver/CMakeLists.txt b/tests/auto/dbus/qdbusabstractadaptor/qmyserver/CMakeLists.txt
index d2bdb4434d..0ce4a3e3d3 100644
--- a/tests/auto/dbus/qdbusabstractadaptor/qmyserver/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusabstractadaptor/qmyserver/CMakeLists.txt
@@ -4,7 +4,7 @@
## qmyserver Binary:
#####################################################################
-qt_add_executable(qmyserver
+qt_internal_add_executable(qmyserver
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
NO_INSTALL # special case
SOURCES
diff --git a/tests/auto/dbus/qdbusabstractinterface/CMakeLists.txt b/tests/auto/dbus/qdbusabstractinterface/CMakeLists.txt
index ec49268777..4530f60561 100644
--- a/tests/auto/dbus/qdbusabstractinterface/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusabstractinterface/CMakeLists.txt
@@ -3,7 +3,7 @@
add_subdirectory(qpinger)
# special case begin
-qt_add_test(tst_qdbusabstractinterface
+qt_internal_add_test(tst_qdbusabstractinterface
SOURCES
interface.cpp
tst_qdbusabstractinterface.cpp
@@ -12,7 +12,7 @@ qt_add_test(tst_qdbusabstractinterface
Qt::DBus
)
-qt_extend_target(tst_qdbusabstractinterface
+qt_internal_extend_target(tst_qdbusabstractinterface
DBUS_INTERFACE_SOURCES
org.qtproject.QtDBus.Pinger.xml
DBUS_INTERFACE_BASENAME
diff --git a/tests/auto/dbus/qdbusabstractinterface/qdbusabstractinterface/.prev_CMakeLists.txt b/tests/auto/dbus/qdbusabstractinterface/qdbusabstractinterface/.prev_CMakeLists.txt
index 6db0362e59..c1558770e4 100644
--- a/tests/auto/dbus/qdbusabstractinterface/qdbusabstractinterface/.prev_CMakeLists.txt
+++ b/tests/auto/dbus/qdbusabstractinterface/qdbusabstractinterface/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbusabstractinterface Test:
#####################################################################
-qt_add_test(tst_qdbusabstractinterface
+qt_internal_add_test(tst_qdbusabstractinterface
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../interface.cpp ../interface.h
diff --git a/tests/auto/dbus/qdbusabstractinterface/qpinger/.prev_CMakeLists.txt b/tests/auto/dbus/qdbusabstractinterface/qpinger/.prev_CMakeLists.txt
index 7f65f85afb..528e0416b8 100644
--- a/tests/auto/dbus/qdbusabstractinterface/qpinger/.prev_CMakeLists.txt
+++ b/tests/auto/dbus/qdbusabstractinterface/qpinger/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## qpinger Binary:
#####################################################################
-qt_add_executable(qpinger
+qt_internal_add_executable(qpinger
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
../interface.cpp ../interface.h
diff --git a/tests/auto/dbus/qdbusabstractinterface/qpinger/CMakeLists.txt b/tests/auto/dbus/qdbusabstractinterface/qpinger/CMakeLists.txt
index 5ebb914c01..f5658b96a6 100644
--- a/tests/auto/dbus/qdbusabstractinterface/qpinger/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusabstractinterface/qpinger/CMakeLists.txt
@@ -4,7 +4,7 @@
## qpinger Binary:
#####################################################################
-qt_add_executable(qpinger
+qt_internal_add_executable(qpinger
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
NO_INSTALL # special case
SOURCES
diff --git a/tests/auto/dbus/qdbusconnection/CMakeLists.txt b/tests/auto/dbus/qdbusconnection/CMakeLists.txt
index e40f18387e..b50d92a64d 100644
--- a/tests/auto/dbus/qdbusconnection/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusconnection/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbusconnection Test:
#####################################################################
-qt_add_test(tst_qdbusconnection
+qt_internal_add_test(tst_qdbusconnection
SOURCES
tst_qdbusconnection.cpp tst_qdbusconnection.h
PUBLIC_LIBRARIES
diff --git a/tests/auto/dbus/qdbusconnection_delayed/CMakeLists.txt b/tests/auto/dbus/qdbusconnection_delayed/CMakeLists.txt
index 793c7907e5..428b00798a 100644
--- a/tests/auto/dbus/qdbusconnection_delayed/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusconnection_delayed/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbusconnection_delayed Test:
#####################################################################
-qt_add_test(tst_qdbusconnection_delayed
+qt_internal_add_test(tst_qdbusconnection_delayed
SOURCES
tst_qdbusconnection_delayed.cpp
DEFINES
diff --git a/tests/auto/dbus/qdbusconnection_no_app/CMakeLists.txt b/tests/auto/dbus/qdbusconnection_no_app/CMakeLists.txt
index aad766362c..d6b7b20935 100644
--- a/tests/auto/dbus/qdbusconnection_no_app/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusconnection_no_app/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbusconnection_no_app Test:
#####################################################################
-qt_add_test(tst_qdbusconnection_no_app
+qt_internal_add_test(tst_qdbusconnection_no_app
SOURCES
../qdbusconnection/tst_qdbusconnection.h
tst_qdbusconnection_no_app.cpp
diff --git a/tests/auto/dbus/qdbusconnection_no_bus/CMakeLists.txt b/tests/auto/dbus/qdbusconnection_no_bus/CMakeLists.txt
index 111f8907c8..02d3f816c8 100644
--- a/tests/auto/dbus/qdbusconnection_no_bus/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusconnection_no_bus/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbusconnection_no_bus Test:
#####################################################################
-qt_add_test(tst_qdbusconnection_no_bus
+qt_internal_add_test(tst_qdbusconnection_no_bus
SOURCES
tst_qdbusconnection_no_bus.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/dbus/qdbusconnection_no_libdbus/CMakeLists.txt b/tests/auto/dbus/qdbusconnection_no_libdbus/CMakeLists.txt
index 2a7e1dc80d..a212065da9 100644
--- a/tests/auto/dbus/qdbusconnection_no_libdbus/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusconnection_no_libdbus/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbusconnection_no_libdbus Test:
#####################################################################
-qt_add_test(tst_qdbusconnection_no_libdbus
+qt_internal_add_test(tst_qdbusconnection_no_libdbus
SOURCES
../qdbusconnection_no_bus/tst_qdbusconnection_no_bus.cpp
DEFINES
diff --git a/tests/auto/dbus/qdbusconnection_spyhook/CMakeLists.txt b/tests/auto/dbus/qdbusconnection_spyhook/CMakeLists.txt
index a3b1d8d10c..5b9ef3e4e7 100644
--- a/tests/auto/dbus/qdbusconnection_spyhook/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusconnection_spyhook/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbusconnection_spyhook Test:
#####################################################################
-qt_add_test(tst_qdbusconnection_spyhook
+qt_internal_add_test(tst_qdbusconnection_spyhook
SOURCES
../qdbusconnection/tst_qdbusconnection.h
tst_qdbusconnection_spyhook.cpp
diff --git a/tests/auto/dbus/qdbuscontext/CMakeLists.txt b/tests/auto/dbus/qdbuscontext/CMakeLists.txt
index ee84e633af..ed1bd137e1 100644
--- a/tests/auto/dbus/qdbuscontext/CMakeLists.txt
+++ b/tests/auto/dbus/qdbuscontext/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbuscontext Test:
#####################################################################
-qt_add_test(tst_qdbuscontext
+qt_internal_add_test(tst_qdbuscontext
SOURCES
tst_qdbuscontext.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/dbus/qdbusinterface/CMakeLists.txt b/tests/auto/dbus/qdbusinterface/CMakeLists.txt
index 321c61a627..f47d8be56b 100644
--- a/tests/auto/dbus/qdbusinterface/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusinterface/CMakeLists.txt
@@ -7,7 +7,7 @@ add_subdirectory(qmyserver)
## ../tst_qdbusinterface Test:
#####################################################################
-add_qt_test(tst_qdbusinterface
+qt_internal_add_test(tst_qdbusinterface
SOURCES
myobject.h
tst_qdbusinterface.cpp
@@ -26,14 +26,14 @@ add_qt_test(tst_qdbusinterface
## Scopes:
#####################################################################
-extend_target(tst_qdbusinterface CONDITION QT_FEATURE_dbus_linked
+qt_internal_extend_target(tst_qdbusinterface CONDITION QT_FEATURE_dbus_linked
DEFINES
QT_LINKED_LIBDBUS
PUBLIC_LIBRARIES
dbus-1
)
-extend_target(tst_qdbusinterface CONDITION NOT QT_FEATURE_dbus_linked
+qt_internal_extend_target(tst_qdbusinterface CONDITION NOT QT_FEATURE_dbus_linked
SOURCES
../../../../src/dbus/qdbus_symbols.cpp
)
diff --git a/tests/auto/dbus/qdbusinterface/qmyserver/.prev_CMakeLists.txt b/tests/auto/dbus/qdbusinterface/qmyserver/.prev_CMakeLists.txt
index 9c898fecf6..03b4ac05e1 100644
--- a/tests/auto/dbus/qdbusinterface/qmyserver/.prev_CMakeLists.txt
+++ b/tests/auto/dbus/qdbusinterface/qmyserver/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## qmyserver_qdbusinterface Binary:
#####################################################################
-qt_add_executable(qmyserver_qdbusinterface
+qt_internal_add_executable(qmyserver_qdbusinterface
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
../myobject.h
diff --git a/tests/auto/dbus/qdbusinterface/qmyserver/CMakeLists.txt b/tests/auto/dbus/qdbusinterface/qmyserver/CMakeLists.txt
index 916735bf59..5ee288169d 100644
--- a/tests/auto/dbus/qdbusinterface/qmyserver/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusinterface/qmyserver/CMakeLists.txt
@@ -4,7 +4,7 @@
## qmyserver_qdbusinterface Binary:
#####################################################################
-qt_add_executable(qmyserver_qdbusinterface
+qt_internal_add_executable(qmyserver_qdbusinterface
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
NO_INSTALL # special case
SOURCES
diff --git a/tests/auto/dbus/qdbuslocalcalls/CMakeLists.txt b/tests/auto/dbus/qdbuslocalcalls/CMakeLists.txt
index 378475dc46..1a70c4af74 100644
--- a/tests/auto/dbus/qdbuslocalcalls/CMakeLists.txt
+++ b/tests/auto/dbus/qdbuslocalcalls/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbuslocalcalls Test:
#####################################################################
-qt_add_test(tst_qdbuslocalcalls
+qt_internal_add_test(tst_qdbuslocalcalls
SOURCES
tst_qdbuslocalcalls.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/dbus/qdbusmarshall/qdbusmarshall/.prev_CMakeLists.txt b/tests/auto/dbus/qdbusmarshall/qdbusmarshall/.prev_CMakeLists.txt
index 9130f434b5..2b5d3a5398 100644
--- a/tests/auto/dbus/qdbusmarshall/qdbusmarshall/.prev_CMakeLists.txt
+++ b/tests/auto/dbus/qdbusmarshall/qdbusmarshall/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbusmarshall Test:
#####################################################################
-qt_add_test(tst_qdbusmarshall
+qt_internal_add_test(tst_qdbusmarshall
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../tst_qdbusmarshall.cpp
@@ -16,14 +16,14 @@ qt_add_test(tst_qdbusmarshall
## Scopes:
#####################################################################
-qt_extend_target(tst_qdbusmarshall CONDITION QT_FEATURE_dbus_linked
+qt_internal_extend_target(tst_qdbusmarshall CONDITION QT_FEATURE_dbus_linked
DEFINES
QT_LINKED_LIBDBUS
PUBLIC_LIBRARIES
dbus-1
)
-qt_extend_target(tst_qdbusmarshall CONDITION NOT QT_FEATURE_dbus_linked
+qt_internal_extend_target(tst_qdbusmarshall CONDITION NOT QT_FEATURE_dbus_linked
SOURCES
../../../../../src/dbus/qdbus_symbols.cpp
)
diff --git a/tests/auto/dbus/qdbusmarshall/qdbusmarshall/CMakeLists.txt b/tests/auto/dbus/qdbusmarshall/qdbusmarshall/CMakeLists.txt
index 86ef627276..2019292184 100644
--- a/tests/auto/dbus/qdbusmarshall/qdbusmarshall/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusmarshall/qdbusmarshall/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbusmarshall Test:
#####################################################################
-qt_add_test(tst_qdbusmarshall
+qt_internal_add_test(tst_qdbusmarshall
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../tst_qdbusmarshall.cpp
@@ -20,14 +20,14 @@ qt_add_test(tst_qdbusmarshall
# This test case interacts with dbus code directly via the private
# headers. The include path is also not exposed via Qt:DBus.
# special case end
-qt_extend_target(tst_qdbusmarshall CONDITION QT_FEATURE_dbus_linked
+qt_internal_extend_target(tst_qdbusmarshall CONDITION QT_FEATURE_dbus_linked
DEFINES
QT_LINKED_LIBDBUS
PUBLIC_LIBRARIES
dbus-1
)
-qt_extend_target(tst_qdbusmarshall CONDITION NOT QT_FEATURE_dbus_linked
+qt_internal_extend_target(tst_qdbusmarshall CONDITION NOT QT_FEATURE_dbus_linked
SOURCES
../../../../../src/dbus/qdbus_symbols.cpp
)
diff --git a/tests/auto/dbus/qdbusmarshall/qpong/CMakeLists.txt b/tests/auto/dbus/qdbusmarshall/qpong/CMakeLists.txt
index 28e96caf15..527d464b74 100644
--- a/tests/auto/dbus/qdbusmarshall/qpong/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusmarshall/qpong/CMakeLists.txt
@@ -4,7 +4,7 @@
## qpong Binary:
#####################################################################
-qt_add_executable(qpong
+qt_internal_add_executable(qpong
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
qpong.cpp
diff --git a/tests/auto/dbus/qdbusmetaobject/CMakeLists.txt b/tests/auto/dbus/qdbusmetaobject/CMakeLists.txt
index 9fe730c533..dec7ce5b27 100644
--- a/tests/auto/dbus/qdbusmetaobject/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusmetaobject/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbusmetaobject Test:
#####################################################################
-qt_add_test(tst_qdbusmetaobject
+qt_internal_add_test(tst_qdbusmetaobject
SOURCES
tst_qdbusmetaobject.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/dbus/qdbusmetatype/CMakeLists.txt b/tests/auto/dbus/qdbusmetatype/CMakeLists.txt
index d4878f681c..cd2295d831 100644
--- a/tests/auto/dbus/qdbusmetatype/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusmetatype/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbusmetatype Test:
#####################################################################
-qt_add_test(tst_qdbusmetatype
+qt_internal_add_test(tst_qdbusmetatype
SOURCES
tst_qdbusmetatype.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/dbus/qdbuspendingcall/CMakeLists.txt b/tests/auto/dbus/qdbuspendingcall/CMakeLists.txt
index 47c4261313..0f80718a6e 100644
--- a/tests/auto/dbus/qdbuspendingcall/CMakeLists.txt
+++ b/tests/auto/dbus/qdbuspendingcall/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbuspendingcall Test:
#####################################################################
-qt_add_test(tst_qdbuspendingcall
+qt_internal_add_test(tst_qdbuspendingcall
SOURCES
tst_qdbuspendingcall.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/dbus/qdbuspendingreply/CMakeLists.txt b/tests/auto/dbus/qdbuspendingreply/CMakeLists.txt
index 2ece3ac4bf..aea3c185e4 100644
--- a/tests/auto/dbus/qdbuspendingreply/CMakeLists.txt
+++ b/tests/auto/dbus/qdbuspendingreply/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbuspendingreply Test:
#####################################################################
-qt_add_test(tst_qdbuspendingreply
+qt_internal_add_test(tst_qdbuspendingreply
SOURCES
tst_qdbuspendingreply.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/dbus/qdbusreply/CMakeLists.txt b/tests/auto/dbus/qdbusreply/CMakeLists.txt
index 5f75e52d4f..2de7d0cb21 100644
--- a/tests/auto/dbus/qdbusreply/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusreply/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbusreply Test:
#####################################################################
-qt_add_test(tst_qdbusreply
+qt_internal_add_test(tst_qdbusreply
SOURCES
tst_qdbusreply.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/dbus/qdbusservicewatcher/CMakeLists.txt b/tests/auto/dbus/qdbusservicewatcher/CMakeLists.txt
index d4b16feebd..ed1b9246e6 100644
--- a/tests/auto/dbus/qdbusservicewatcher/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusservicewatcher/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbusservicewatcher Test:
#####################################################################
-qt_add_test(tst_qdbusservicewatcher
+qt_internal_add_test(tst_qdbusservicewatcher
SOURCES
tst_qdbusservicewatcher.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/dbus/qdbusthreading/CMakeLists.txt b/tests/auto/dbus/qdbusthreading/CMakeLists.txt
index f0a0bebb20..c4f75ab06e 100644
--- a/tests/auto/dbus/qdbusthreading/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusthreading/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbusthreading Test:
#####################################################################
-qt_add_test(tst_qdbusthreading
+qt_internal_add_test(tst_qdbusthreading
SOURCES
tst_qdbusthreading.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/dbus/qdbustype/CMakeLists.txt b/tests/auto/dbus/qdbustype/CMakeLists.txt
index a7d8104ec7..3bf0dea697 100644
--- a/tests/auto/dbus/qdbustype/CMakeLists.txt
+++ b/tests/auto/dbus/qdbustype/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbustype Test:
#####################################################################
-qt_add_test(tst_qdbustype
+qt_internal_add_test(tst_qdbustype
SOURCES
tst_qdbustype.cpp
PUBLIC_LIBRARIES
@@ -15,14 +15,14 @@ qt_add_test(tst_qdbustype
## Scopes:
#####################################################################
-qt_extend_target(tst_qdbustype CONDITION QT_FEATURE_dbus_linked
+qt_internal_extend_target(tst_qdbustype CONDITION QT_FEATURE_dbus_linked
DEFINES
QT_LINKED_LIBDBUS
PUBLIC_LIBRARIES
dbus-1
)
-qt_extend_target(tst_qdbustype CONDITION NOT QT_FEATURE_dbus_linked
+qt_internal_extend_target(tst_qdbustype CONDITION NOT QT_FEATURE_dbus_linked
SOURCES
../../../../src/dbus/qdbus_symbols.cpp
)
diff --git a/tests/auto/dbus/qdbusxmlparser/CMakeLists.txt b/tests/auto/dbus/qdbusxmlparser/CMakeLists.txt
index 7390c25cb4..bbb874dc61 100644
--- a/tests/auto/dbus/qdbusxmlparser/CMakeLists.txt
+++ b/tests/auto/dbus/qdbusxmlparser/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdbusxmlparser Test:
#####################################################################
-qt_add_test(tst_qdbusxmlparser
+qt_internal_add_test(tst_qdbusxmlparser
SOURCES
tst_qdbusxmlparser.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/image/qicoimageformat/CMakeLists.txt b/tests/auto/gui/image/qicoimageformat/CMakeLists.txt
index b97733003b..704c51a6be 100644
--- a/tests/auto/gui/image/qicoimageformat/CMakeLists.txt
+++ b/tests/auto/gui/image/qicoimageformat/CMakeLists.txt
@@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
icons/*)
list(APPEND test_data ${test_data_glob})
-qt_add_test(tst_qicoimageformat
+qt_internal_add_test(tst_qicoimageformat
SOURCES
tst_qicoimageformat.cpp
PUBLIC_LIBRARIES
@@ -40,7 +40,7 @@ if(ANDROID)
"icons/valid/yellow.cur"
)
- qt_add_resource(tst_qicoimageformat "qicoimageformat"
+ qt_internal_add_resource(tst_qicoimageformat "qicoimageformat"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/image/qicon/CMakeLists.txt b/tests/auto/gui/image/qicon/CMakeLists.txt
index 48ec1c348c..5f6b139205 100644
--- a/tests/auto/gui/image/qicon/CMakeLists.txt
+++ b/tests/auto/gui/image/qicon/CMakeLists.txt
@@ -30,7 +30,7 @@ file(GLOB_RECURSE test_data_glob
*.svgz)
list(APPEND test_data ${test_data_glob})
-qt_add_test(tst_qicon
+qt_internal_add_test(tst_qicon
SOURCES
tst_qicon.cpp
PUBLIC_LIBRARIES
@@ -69,7 +69,7 @@ set(tst_qicon_resource_files
"tst_qicon.cpp"
)
-qt_add_resource(tst_qicon "tst_qicon"
+qt_internal_add_resource(tst_qicon "tst_qicon"
PREFIX
"/"
FILES
@@ -79,7 +79,7 @@ set(qmake_immediate_resource_files
"tst_qicon.cpp"
)
-qt_add_resource(tst_qicon "qmake_immediate"
+qt_internal_add_resource(tst_qicon "qmake_immediate"
PREFIX
"/"
FILES
@@ -90,7 +90,7 @@ qt_add_resource(tst_qicon "qmake_immediate"
## Scopes:
#####################################################################
-qt_extend_target(tst_qicon CONDITION TARGET Qt::Widgets
+qt_internal_extend_target(tst_qicon CONDITION TARGET Qt::Widgets
PUBLIC_LIBRARIES
Qt::Widgets
)
diff --git a/tests/auto/gui/image/qiconhighdpi/CMakeLists.txt b/tests/auto/gui/image/qiconhighdpi/CMakeLists.txt
index 8113422c1e..989cf1f44d 100644
--- a/tests/auto/gui/image/qiconhighdpi/CMakeLists.txt
+++ b/tests/auto/gui/image/qiconhighdpi/CMakeLists.txt
@@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
icons/*)
list(APPEND test_data ${test_data_glob})
-qt_add_test(tst_qiconhighdpi
+qt_internal_add_test(tst_qiconhighdpi
SOURCES
tst_qiconhighdpi.cpp
PUBLIC_LIBRARIES
@@ -28,7 +28,7 @@ set(tst_qiconhighdpi_resource_files
"icons/testtheme/index.theme"
)
-qt_add_resource(tst_qiconhighdpi "tst_qiconhighdpi"
+qt_internal_add_resource(tst_qiconhighdpi "tst_qiconhighdpi"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/image/qimage/CMakeLists.txt b/tests/auto/gui/image/qimage/CMakeLists.txt
index a9e3b783a7..85f3fd1c76 100644
--- a/tests/auto/gui/image/qimage/CMakeLists.txt
+++ b/tests/auto/gui/image/qimage/CMakeLists.txt
@@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
images/*)
list(APPEND test_data ${test_data_glob})
-qt_add_test(tst_qimage
+qt_internal_add_test(tst_qimage
SOURCES
tst_qimage.cpp
PUBLIC_LIBRARIES
@@ -46,7 +46,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
"images/jpeg_exif_orientation_value_8.jpg"
)
- qt_add_resource(tst_qimage "qimage"
+ qt_internal_add_resource(tst_qimage "qimage"
PREFIX
"/"
FILES
@@ -54,13 +54,13 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
)
endif()
-qt_extend_target(tst_qimage CONDITION WIN32
+qt_internal_extend_target(tst_qimage CONDITION WIN32
PUBLIC_LIBRARIES
gdi32
user32
)
-qt_extend_target(tst_qimage CONDITION APPLE
+qt_internal_extend_target(tst_qimage CONDITION APPLE
PUBLIC_LIBRARIES
${FWCoreGraphics}
)
diff --git a/tests/auto/gui/image/qimageiohandler/CMakeLists.txt b/tests/auto/gui/image/qimageiohandler/CMakeLists.txt
index 53bfb384aa..4bbf2f5b01 100644
--- a/tests/auto/gui/image/qimageiohandler/CMakeLists.txt
+++ b/tests/auto/gui/image/qimageiohandler/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qimageiohandler Test:
#####################################################################
-qt_add_test(tst_qimageiohandler
+qt_internal_add_test(tst_qimageiohandler
SOURCES
tst_qimageiohandler.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/image/qimagereader/CMakeLists.txt b/tests/auto/gui/image/qimagereader/CMakeLists.txt
index a477252e73..dd15618370 100644
--- a/tests/auto/gui/image/qimagereader/CMakeLists.txt
+++ b/tests/auto/gui/image/qimagereader/CMakeLists.txt
@@ -14,7 +14,7 @@ file(GLOB_RECURSE test_data_glob
baseline/*)
list(APPEND test_data ${test_data_glob})
-qt_add_test(tst_qimagereader
+qt_internal_add_test(tst_qimagereader
SOURCES
tst_qimagereader.cpp
PUBLIC_LIBRARIES
@@ -35,7 +35,7 @@ set(qmake_immediate_resource_files
${resource_glob_0}
)
-qt_add_resource(tst_qimagereader "qmake_immediate"
+qt_internal_add_resource(tst_qimagereader "qmake_immediate"
PREFIX
"/"
FILES
@@ -56,7 +56,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
"images/trans.gif"
)
- qt_add_resource(tst_qimagereader "android_testdata"
+ qt_internal_add_resource(tst_qimagereader "android_testdata"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/image/qimagewriter/CMakeLists.txt b/tests/auto/gui/image/qimagewriter/CMakeLists.txt
index 9e5c7362a8..f7212eca3e 100644
--- a/tests/auto/gui/image/qimagewriter/CMakeLists.txt
+++ b/tests/auto/gui/image/qimagewriter/CMakeLists.txt
@@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
images/*)
list(APPEND test_data ${test_data_glob})
-qt_add_test(tst_qimagewriter
+qt_internal_add_test(tst_qimagewriter
SOURCES
tst_qimagewriter.cpp
PUBLIC_LIBRARIES
@@ -41,7 +41,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
"images/trolltech.gif"
)
- qt_add_resource(tst_qimagewriter "qimagewriter"
+ qt_internal_add_resource(tst_qimagewriter "qimagewriter"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/image/qmovie/CMakeLists.txt b/tests/auto/gui/image/qmovie/CMakeLists.txt
index 3e9b2ad100..545ee481d1 100644
--- a/tests/auto/gui/image/qmovie/CMakeLists.txt
+++ b/tests/auto/gui/image/qmovie/CMakeLists.txt
@@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
animations/*)
list(APPEND test_data ${test_data_glob})
-qt_add_test(tst_qmovie
+qt_internal_add_test(tst_qmovie
SOURCES
tst_qmovie.cpp
PUBLIC_LIBRARIES
@@ -25,7 +25,7 @@ set(resources_resource_files
"animations/trolltech.gif"
)
-qt_add_resource(tst_qmovie "resources"
+qt_internal_add_resource(tst_qmovie "resources"
PREFIX
"/"
FILES
@@ -40,17 +40,17 @@ qt_add_resource(tst_qmovie "resources"
## Scopes:
#####################################################################
-qt_extend_target(tst_qmovie CONDITION TARGET Qt::Widgets
+qt_internal_extend_target(tst_qmovie CONDITION TARGET Qt::Widgets
PUBLIC_LIBRARIES
Qt::Widgets
)
-qt_extend_target(tst_qmovie CONDITION QT_FEATURE_gif
+qt_internal_extend_target(tst_qmovie CONDITION QT_FEATURE_gif
DEFINES
QTEST_HAVE_GIF
)
-qt_extend_target(tst_qmovie CONDITION QT_FEATURE_jpeg
+qt_internal_extend_target(tst_qmovie CONDITION QT_FEATURE_jpeg
DEFINES
QTEST_HAVE_JPEG
)
diff --git a/tests/auto/gui/image/qpicture/CMakeLists.txt b/tests/auto/gui/image/qpicture/CMakeLists.txt
index f79c72974a..29bf68fa06 100644
--- a/tests/auto/gui/image/qpicture/CMakeLists.txt
+++ b/tests/auto/gui/image/qpicture/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpicture Test:
#####################################################################
-qt_add_test(tst_qpicture
+qt_internal_add_test(tst_qpicture
SOURCES
tst_qpicture.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/image/qpixmap/CMakeLists.txt b/tests/auto/gui/image/qpixmap/CMakeLists.txt
index b58609a760..1946715047 100644
--- a/tests/auto/gui/image/qpixmap/CMakeLists.txt
+++ b/tests/auto/gui/image/qpixmap/CMakeLists.txt
@@ -22,7 +22,7 @@ file(GLOB_RECURSE test_data_glob
images/*)
list(APPEND test_data ${test_data_glob})
-qt_add_test(tst_qpixmap
+qt_internal_add_test(tst_qpixmap
SOURCES
tst_qpixmap.cpp
PUBLIC_LIBRARIES
@@ -83,7 +83,7 @@ set(qpixmap_resource_files
"loadFromData/designer_rgb32.png"
)
-qt_add_resource(tst_qpixmap "qpixmap"
+qt_internal_add_resource(tst_qpixmap "qpixmap"
PREFIX
"/"
FILES
@@ -94,13 +94,13 @@ qt_add_resource(tst_qpixmap "qpixmap"
## Scopes:
#####################################################################
-qt_extend_target(tst_qpixmap CONDITION TARGET Qt::Widgets
+qt_internal_extend_target(tst_qpixmap CONDITION TARGET Qt::Widgets
PUBLIC_LIBRARIES
Qt::Widgets
Qt::WidgetsPrivate
)
-qt_extend_target(tst_qpixmap CONDITION WIN32
+qt_internal_extend_target(tst_qpixmap CONDITION WIN32
PUBLIC_LIBRARIES
gdi32
user32
diff --git a/tests/auto/gui/image/qpixmapcache/CMakeLists.txt b/tests/auto/gui/image/qpixmapcache/CMakeLists.txt
index 33c1faf865..9e99842e6e 100644
--- a/tests/auto/gui/image/qpixmapcache/CMakeLists.txt
+++ b/tests/auto/gui/image/qpixmapcache/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpixmapcache Test:
#####################################################################
-qt_add_test(tst_qpixmapcache
+qt_internal_add_test(tst_qpixmapcache
SOURCES
tst_qpixmapcache.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/itemmodels/qfilesystemmodel/CMakeLists.txt b/tests/auto/gui/itemmodels/qfilesystemmodel/CMakeLists.txt
index 595b30bd56..375eb5b245 100644
--- a/tests/auto/gui/itemmodels/qfilesystemmodel/CMakeLists.txt
+++ b/tests/auto/gui/itemmodels/qfilesystemmodel/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfilesystemmodel Test:
#####################################################################
-qt_add_test(tst_qfilesystemmodel
+qt_internal_add_test(tst_qfilesystemmodel
SOURCES
../../../../shared/emulationdetector.h
tst_qfilesystemmodel.cpp
diff --git a/tests/auto/gui/itemmodels/qstandarditem/CMakeLists.txt b/tests/auto/gui/itemmodels/qstandarditem/CMakeLists.txt
index 65f13a10c8..e5446d596a 100644
--- a/tests/auto/gui/itemmodels/qstandarditem/CMakeLists.txt
+++ b/tests/auto/gui/itemmodels/qstandarditem/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstandarditem Test:
#####################################################################
-qt_add_test(tst_qstandarditem
+qt_internal_add_test(tst_qstandarditem
SOURCES
tst_qstandarditem.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/itemmodels/qstandarditemmodel/CMakeLists.txt b/tests/auto/gui/itemmodels/qstandarditemmodel/CMakeLists.txt
index 08c97c4eac..49cbcbfa88 100644
--- a/tests/auto/gui/itemmodels/qstandarditemmodel/CMakeLists.txt
+++ b/tests/auto/gui/itemmodels/qstandarditemmodel/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstandarditemmodel Test:
#####################################################################
-qt_add_test(tst_qstandarditemmodel
+qt_internal_add_test(tst_qstandarditemmodel
SOURCES
tst_qstandarditemmodel.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/noqteventloop/CMakeLists.txt b/tests/auto/gui/kernel/noqteventloop/CMakeLists.txt
index 262b2ad2f2..9e47156add 100644
--- a/tests/auto/gui/kernel/noqteventloop/CMakeLists.txt
+++ b/tests/auto/gui/kernel/noqteventloop/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_noqteventloop Test:
#####################################################################
-qt_add_test(tst_noqteventloop
+qt_internal_add_test(tst_noqteventloop
SOURCES
tst_noqteventloop.cpp
PUBLIC_LIBRARIES
@@ -17,7 +17,7 @@ qt_add_test(tst_noqteventloop
## Scopes:
#####################################################################
-qt_extend_target(tst_noqteventloop CONDITION QT_FEATURE_dynamicgl AND WIN32
+qt_internal_extend_target(tst_noqteventloop CONDITION QT_FEATURE_dynamicgl AND WIN32
PUBLIC_LIBRARIES
user32
)
diff --git a/tests/auto/gui/kernel/qaction/CMakeLists.txt b/tests/auto/gui/kernel/qaction/CMakeLists.txt
index 70065156ca..ed0a0a8a5b 100644
--- a/tests/auto/gui/kernel/qaction/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qaction/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qaction_kernel Test:
#####################################################################
-qt_add_test(tst_qaction_kernel
+qt_internal_add_test(tst_qaction_kernel
SOURCES
tst_qaction.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qactiongroup/CMakeLists.txt b/tests/auto/gui/kernel/qactiongroup/CMakeLists.txt
index e313aebec5..10354f865c 100644
--- a/tests/auto/gui/kernel/qactiongroup/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qactiongroup/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qactiongroup_kernel Test:
#####################################################################
-qt_add_test(tst_qactiongroup_kernel
+qt_internal_add_test(tst_qactiongroup_kernel
SOURCES
tst_qactiongroup.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qaddpostroutine/CMakeLists.txt b/tests/auto/gui/kernel/qaddpostroutine/CMakeLists.txt
index 4af9ebedd5..454196ce1b 100644
--- a/tests/auto/gui/kernel/qaddpostroutine/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qaddpostroutine/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qaddpostroutine Test:
#####################################################################
-qt_add_test(tst_qaddpostroutine
+qt_internal_add_test(tst_qaddpostroutine
SOURCES
tst_qaddpostroutine.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qbackingstore/CMakeLists.txt b/tests/auto/gui/kernel/qbackingstore/CMakeLists.txt
index 55d53545bb..64ef31a0b5 100644
--- a/tests/auto/gui/kernel/qbackingstore/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qbackingstore/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qbackingstore Test:
#####################################################################
-qt_add_test(tst_qbackingstore
+qt_internal_add_test(tst_qbackingstore
SOURCES
tst_qbackingstore.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qclipboard/copier/.prev_CMakeLists.txt b/tests/auto/gui/kernel/qclipboard/copier/.prev_CMakeLists.txt
index 744bd3d654..69e313b1d1 100644
--- a/tests/auto/gui/kernel/qclipboard/copier/.prev_CMakeLists.txt
+++ b/tests/auto/gui/kernel/qclipboard/copier/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## copier Binary:
#####################################################################
-qt_add_executable(copier
+qt_internal_add_executable(copier
SOURCES
main.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt b/tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt
index ee3c7b1ab9..ef599b121e 100644
--- a/tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt
@@ -8,7 +8,7 @@
set(args OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
# special case end
-qt_add_executable(copier
+qt_internal_add_executable(copier
${args} # special case
SOURCES
main.cpp
diff --git a/tests/auto/gui/kernel/qclipboard/paster/.prev_CMakeLists.txt b/tests/auto/gui/kernel/qclipboard/paster/.prev_CMakeLists.txt
index 0f2fbb1b9b..fa0b9bc4a6 100644
--- a/tests/auto/gui/kernel/qclipboard/paster/.prev_CMakeLists.txt
+++ b/tests/auto/gui/kernel/qclipboard/paster/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## paster Binary:
#####################################################################
-qt_add_executable(paster
+qt_internal_add_executable(paster
SOURCES
main.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qclipboard/paster/CMakeLists.txt b/tests/auto/gui/kernel/qclipboard/paster/CMakeLists.txt
index 6ce4070af2..571ae4944e 100644
--- a/tests/auto/gui/kernel/qclipboard/paster/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qclipboard/paster/CMakeLists.txt
@@ -8,7 +8,7 @@
set(args OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
# special case end
-qt_add_executable(paster
+qt_internal_add_executable(paster
${args} # special case
SOURCES
main.cpp
diff --git a/tests/auto/gui/kernel/qclipboard/test/.prev_CMakeLists.txt b/tests/auto/gui/kernel/qclipboard/test/.prev_CMakeLists.txt
index e7c1313c7b..0e9fa8f40d 100644
--- a/tests/auto/gui/kernel/qclipboard/test/.prev_CMakeLists.txt
+++ b/tests/auto/gui/kernel/qclipboard/test/.prev_CMakeLists.txt
@@ -4,18 +4,19 @@
## tst_qclipboard Test:
#####################################################################
-add_qt_test(tst_qclipboard
+qt_internal_add_test(tst_qclipboard
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../tst_qclipboard.cpp
PUBLIC_LIBRARIES
Qt::Gui
+ Qt::GuiPrivate
)
## Scopes:
#####################################################################
-extend_target(tst_qclipboard CONDITION MACOS
+qt_internal_extend_target(tst_qclipboard CONDITION MACOS
PUBLIC_LIBRARIES
${FWAppKit}
)
diff --git a/tests/auto/gui/kernel/qclipboard/test/CMakeLists.txt b/tests/auto/gui/kernel/qclipboard/test/CMakeLists.txt
index 1e2c89e538..0e9fa8f40d 100644
--- a/tests/auto/gui/kernel/qclipboard/test/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qclipboard/test/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qclipboard Test:
#####################################################################
-qt_add_test(tst_qclipboard
+qt_internal_add_test(tst_qclipboard
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../tst_qclipboard.cpp
@@ -16,7 +16,7 @@ qt_add_test(tst_qclipboard
## Scopes:
#####################################################################
-qt_extend_target(tst_qclipboard CONDITION MACOS
+qt_internal_extend_target(tst_qclipboard CONDITION MACOS
PUBLIC_LIBRARIES
${FWAppKit}
)
diff --git a/tests/auto/gui/kernel/qcursor/CMakeLists.txt b/tests/auto/gui/kernel/qcursor/CMakeLists.txt
index 2c3cf28c1a..1304dd2ba2 100644
--- a/tests/auto/gui/kernel/qcursor/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qcursor/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qcursor Test:
#####################################################################
-qt_add_test(tst_qcursor
+qt_internal_add_test(tst_qcursor
SOURCES
tst_qcursor.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qdrag/CMakeLists.txt b/tests/auto/gui/kernel/qdrag/CMakeLists.txt
index 1b13df54d3..b03f82da39 100644
--- a/tests/auto/gui/kernel/qdrag/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qdrag/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qdrag Test:
#####################################################################
-qt_add_test(tst_qdrag
+qt_internal_add_test(tst_qdrag
SOURCES
tst_qdrag.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qevent/CMakeLists.txt b/tests/auto/gui/kernel/qevent/CMakeLists.txt
index 21a2ddad66..2bb22eb469 100644
--- a/tests/auto/gui/kernel/qevent/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qevent/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qevent Test:
#####################################################################
-qt_add_test(tst_qevent
+qt_internal_add_test(tst_qevent
SOURCES
tst_qevent.cpp
)
diff --git a/tests/auto/gui/kernel/qfileopenevent/qfileopeneventexternal/CMakeLists.txt b/tests/auto/gui/kernel/qfileopenevent/qfileopeneventexternal/CMakeLists.txt
index 0b9cd6d481..658a70619f 100644
--- a/tests/auto/gui/kernel/qfileopenevent/qfileopeneventexternal/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qfileopenevent/qfileopeneventexternal/CMakeLists.txt
@@ -4,7 +4,7 @@
## qfileopeneventexternal Binary:
#####################################################################
-qt_add_executable(qfileopeneventexternal
+qt_internal_add_executable(qfileopeneventexternal
GUI
SOURCES
qfileopeneventexternal.cpp
diff --git a/tests/auto/gui/kernel/qfileopenevent/test/CMakeLists.txt b/tests/auto/gui/kernel/qfileopenevent/test/CMakeLists.txt
index a306a3eae6..faa5e5acfc 100644
--- a/tests/auto/gui/kernel/qfileopenevent/test/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qfileopenevent/test/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfileopenevent Test:
#####################################################################
-qt_add_test(tst_qfileopenevent
+qt_internal_add_test(tst_qfileopenevent
SOURCES
tst_qfileopenevent.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qguiapplication/.prev_CMakeLists.txt b/tests/auto/gui/kernel/qguiapplication/.prev_CMakeLists.txt
index 0da40c5aa3..933957a839 100644
--- a/tests/auto/gui/kernel/qguiapplication/.prev_CMakeLists.txt
+++ b/tests/auto/gui/kernel/qguiapplication/.prev_CMakeLists.txt
@@ -8,7 +8,7 @@ endif()
## tst_qguiapplication Test:
#####################################################################
-qt_add_test(tst_qguiapplication
+qt_internal_add_test(tst_qguiapplication
SOURCES
tst_qcoreapplication.cpp tst_qcoreapplication.h
tst_qguiapplication.cpp
@@ -27,7 +27,7 @@ set(tst_qguiapplication_resource_files
"icons/usericon.png"
)
-qt_add_resource(tst_qguiapplication "tst_qguiapplication"
+qt_internal_add_resource(tst_qguiapplication "tst_qguiapplication"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/kernel/qguiapplication/CMakeLists.txt b/tests/auto/gui/kernel/qguiapplication/CMakeLists.txt
index 0347b3cc4a..ffd07cad26 100644
--- a/tests/auto/gui/kernel/qguiapplication/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qguiapplication/CMakeLists.txt
@@ -16,7 +16,7 @@ else()
endif()
# special case end
-qt_add_test(tst_qguiapplication
+qt_internal_add_test(tst_qguiapplication
VERSION ${target_version} # special case
SOURCES
../../../corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp ../../../corelib/kernel/qcoreapplication/tst_qcoreapplication.h # special case
@@ -36,7 +36,7 @@ set(tst_qguiapplication_resource_files
"icons/usericon.png"
)
-qt_add_resource(tst_qguiapplication "tst_qguiapplication"
+qt_internal_add_resource(tst_qguiapplication "tst_qguiapplication"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/kernel/qguieventdispatcher/CMakeLists.txt b/tests/auto/gui/kernel/qguieventdispatcher/CMakeLists.txt
index 14babc165c..b1c0508198 100644
--- a/tests/auto/gui/kernel/qguieventdispatcher/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qguieventdispatcher/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qguieventdispatcher Test:
#####################################################################
-qt_add_test(tst_qguieventdispatcher
+qt_internal_add_test(tst_qguieventdispatcher
SOURCES
../../../corelib/kernel/qeventdispatcher/tst_qeventdispatcher.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qguieventloop/.prev_CMakeLists.txt b/tests/auto/gui/kernel/qguieventloop/.prev_CMakeLists.txt
index 7fb82219a9..ec9441a1dc 100644
--- a/tests/auto/gui/kernel/qguieventloop/.prev_CMakeLists.txt
+++ b/tests/auto/gui/kernel/qguieventloop/.prev_CMakeLists.txt
@@ -4,12 +4,11 @@
## tst_qguieventloop Test:
#####################################################################
-add_qt_test(tst_qguieventloop
+qt_internal_add_test(tst_qguieventloop
SOURCES
../../../corelib/kernel/qeventloop/tst_qeventloop.cpp
- LIBRARIES
- Qt::CorePrivate
PUBLIC_LIBRARIES
+ Qt::CorePrivate
Qt::Gui
Qt::Network
)
@@ -17,12 +16,12 @@ add_qt_test(tst_qguieventloop
## Scopes:
#####################################################################
-extend_target(tst_qguieventloop CONDITION WIN32
+qt_internal_extend_target(tst_qguieventloop CONDITION WIN32
PUBLIC_LIBRARIES
user32
)
-extend_target(tst_qguieventloop CONDITION QT_FEATURE_glib
+qt_internal_extend_target(tst_qguieventloop CONDITION QT_FEATURE_glib
DEFINES
HAVE_GLIB
)
diff --git a/tests/auto/gui/kernel/qguieventloop/CMakeLists.txt b/tests/auto/gui/kernel/qguieventloop/CMakeLists.txt
index 8d62d716a5..ec9441a1dc 100644
--- a/tests/auto/gui/kernel/qguieventloop/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qguieventloop/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qguieventloop Test:
#####################################################################
-qt_add_test(tst_qguieventloop
+qt_internal_add_test(tst_qguieventloop
SOURCES
../../../corelib/kernel/qeventloop/tst_qeventloop.cpp
PUBLIC_LIBRARIES
@@ -16,12 +16,12 @@ qt_add_test(tst_qguieventloop
## Scopes:
#####################################################################
-qt_extend_target(tst_qguieventloop CONDITION WIN32
+qt_internal_extend_target(tst_qguieventloop CONDITION WIN32
PUBLIC_LIBRARIES
user32
)
-qt_extend_target(tst_qguieventloop CONDITION QT_FEATURE_glib
+qt_internal_extend_target(tst_qguieventloop CONDITION QT_FEATURE_glib
DEFINES
HAVE_GLIB
)
diff --git a/tests/auto/gui/kernel/qguimetatype/CMakeLists.txt b/tests/auto/gui/kernel/qguimetatype/CMakeLists.txt
index d124b08828..0887f05fc6 100644
--- a/tests/auto/gui/kernel/qguimetatype/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qguimetatype/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qguimetatype Test:
#####################################################################
-qt_add_test(tst_qguimetatype
+qt_internal_add_test(tst_qguimetatype
SOURCES
tst_qguimetatype.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qguitimer/.prev_CMakeLists.txt b/tests/auto/gui/kernel/qguitimer/.prev_CMakeLists.txt
deleted file mode 100644
index 8c2ec60bdf..0000000000
--- a/tests/auto/gui/kernel/qguitimer/.prev_CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-# Generated from qguitimer.pro.
-
-#####################################################################
-## tst_qguitimer Test:
-#####################################################################
-
-qt_add_test(tst_qguitimer
- SOURCES
- ../../../corelib/kernel/qtimer/tst_qtimer.cpp
- PUBLIC_LIBRARIES
- Qt::CorePrivate
- Qt::Gui
-)
diff --git a/tests/auto/gui/kernel/qguitimer/CMakeLists.txt b/tests/auto/gui/kernel/qguitimer/CMakeLists.txt
index 8c2ec60bdf..5375155a82 100644
--- a/tests/auto/gui/kernel/qguitimer/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qguitimer/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qguitimer Test:
#####################################################################
-qt_add_test(tst_qguitimer
+qt_internal_add_test(tst_qguitimer
SOURCES
../../../corelib/kernel/qtimer/tst_qtimer.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qguivariant/no_application/CMakeLists.txt b/tests/auto/gui/kernel/qguivariant/no_application/CMakeLists.txt
index 344b81bf6d..2e6f548f11 100644
--- a/tests/auto/gui/kernel/qguivariant/no_application/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qguivariant/no_application/CMakeLists.txt
@@ -4,7 +4,7 @@
## no_application Test:
#####################################################################
-qt_add_test(no_application
+qt_internal_add_test(no_application
SOURCES
main.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qguivariant/test/CMakeLists.txt b/tests/auto/gui/kernel/qguivariant/test/CMakeLists.txt
index 40671c920c..a3292511bd 100644
--- a/tests/auto/gui/kernel/qguivariant/test/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qguivariant/test/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qguivariant Test:
#####################################################################
-qt_add_test(tst_qguivariant
+qt_internal_add_test(tst_qguivariant
SOURCES
tst_qguivariant.cpp
INCLUDE_DIRECTORIES
@@ -18,7 +18,7 @@ set(qguivariant_resource_files
"data"
)
-qt_add_resource(tst_qguivariant "qguivariant"
+qt_internal_add_resource(tst_qguivariant "qguivariant"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/kernel/qhighdpiscaling/CMakeLists.txt b/tests/auto/gui/kernel/qhighdpiscaling/CMakeLists.txt
index 69cff9229f..9db351dbda 100644
--- a/tests/auto/gui/kernel/qhighdpiscaling/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qhighdpiscaling/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qhighdpiscaling Test:
#####################################################################
-qt_add_test(tst_qhighdpiscaling
+qt_internal_add_test(tst_qhighdpiscaling
SOURCES
tst_qhighdpiscaling.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qinputdevice/CMakeLists.txt b/tests/auto/gui/kernel/qinputdevice/CMakeLists.txt
index 5c368838ab..aea72357dd 100644
--- a/tests/auto/gui/kernel/qinputdevice/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qinputdevice/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qinputdevice Test:
#####################################################################
-qt_add_test(tst_qinputdevice
+qt_internal_add_test(tst_qinputdevice
SOURCES
tst_qinputdevice.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qinputmethod/CMakeLists.txt b/tests/auto/gui/kernel/qinputmethod/CMakeLists.txt
index bdd4940392..bbe8652e99 100644
--- a/tests/auto/gui/kernel/qinputmethod/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qinputmethod/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qinputmethod Test:
#####################################################################
-qt_add_test(tst_qinputmethod
+qt_internal_add_test(tst_qinputmethod
SOURCES
tst_qinputmethod.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qkeyevent/CMakeLists.txt b/tests/auto/gui/kernel/qkeyevent/CMakeLists.txt
index 3c48a6492b..bd9f602e56 100644
--- a/tests/auto/gui/kernel/qkeyevent/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qkeyevent/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qkeyevent Test:
#####################################################################
-qt_add_test(tst_qkeyevent
+qt_internal_add_test(tst_qkeyevent
SOURCES
tst_qkeyevent.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qkeysequence/CMakeLists.txt b/tests/auto/gui/kernel/qkeysequence/CMakeLists.txt
index f5a0c38fe4..9d0e25d356 100644
--- a/tests/auto/gui/kernel/qkeysequence/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qkeysequence/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qkeysequence Test:
#####################################################################
-qt_add_test(tst_qkeysequence
+qt_internal_add_test(tst_qkeysequence
SOURCES
tst_qkeysequence.cpp
PUBLIC_LIBRARIES
@@ -19,7 +19,7 @@ set(qkeysequence_resource_files
"qt_de.qm"
)
-qt_add_resource(tst_qkeysequence "qkeysequence"
+qt_internal_add_resource(tst_qkeysequence "qkeysequence"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/kernel/qmouseevent/CMakeLists.txt b/tests/auto/gui/kernel/qmouseevent/CMakeLists.txt
index c7cc51a465..baf9b83b55 100644
--- a/tests/auto/gui/kernel/qmouseevent/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qmouseevent/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmouseevent Test:
#####################################################################
-qt_add_test(tst_qmouseevent
+qt_internal_add_test(tst_qmouseevent
SOURCES
tst_qmouseevent.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qmouseevent_modal/CMakeLists.txt b/tests/auto/gui/kernel/qmouseevent_modal/CMakeLists.txt
index afe9fe33ed..698327736e 100644
--- a/tests/auto/gui/kernel/qmouseevent_modal/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qmouseevent_modal/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmouseevent_modal Test:
#####################################################################
-qt_add_test(tst_qmouseevent_modal
+qt_internal_add_test(tst_qmouseevent_modal
SOURCES
tst_qmouseevent_modal.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qopenglwindow/CMakeLists.txt b/tests/auto/gui/kernel/qopenglwindow/CMakeLists.txt
index 1a460a567f..d171716776 100644
--- a/tests/auto/gui/kernel/qopenglwindow/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qopenglwindow/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qopenglwindow Test:
#####################################################################
-qt_add_test(tst_qopenglwindow
+qt_internal_add_test(tst_qopenglwindow
SOURCES
tst_qopenglwindow.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qpalette/CMakeLists.txt b/tests/auto/gui/kernel/qpalette/CMakeLists.txt
index acb413007e..f69ac75a41 100644
--- a/tests/auto/gui/kernel/qpalette/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qpalette/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpalette Test:
#####################################################################
-qt_add_test(tst_qpalette
+qt_internal_add_test(tst_qpalette
SOURCES
tst_qpalette.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qpixelformat/CMakeLists.txt b/tests/auto/gui/kernel/qpixelformat/CMakeLists.txt
index 907564dc3d..e33600dd8c 100644
--- a/tests/auto/gui/kernel/qpixelformat/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qpixelformat/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpixelformat Test:
#####################################################################
-qt_add_test(tst_qpixelformat
+qt_internal_add_test(tst_qpixelformat
SOURCES
tst_qpixelformat.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qrasterwindow/CMakeLists.txt b/tests/auto/gui/kernel/qrasterwindow/CMakeLists.txt
index 6b34b71dac..82391cf18f 100644
--- a/tests/auto/gui/kernel/qrasterwindow/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qrasterwindow/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qrasterwindow Test:
#####################################################################
-qt_add_test(tst_qrasterwindow
+qt_internal_add_test(tst_qrasterwindow
SOURCES
tst_qrasterwindow.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qscreen/CMakeLists.txt b/tests/auto/gui/kernel/qscreen/CMakeLists.txt
index b073070155..9bed97cfcb 100644
--- a/tests/auto/gui/kernel/qscreen/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qscreen/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qscreen Test:
#####################################################################
-qt_add_test(tst_qscreen
+qt_internal_add_test(tst_qscreen
SOURCES
tst_qscreen.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qshortcut/CMakeLists.txt b/tests/auto/gui/kernel/qshortcut/CMakeLists.txt
index 8c3c2556fe..469ab47769 100644
--- a/tests/auto/gui/kernel/qshortcut/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qshortcut/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qshortcut_kernel Test:
#####################################################################
-qt_add_test(tst_qshortcut_kernel
+qt_internal_add_test(tst_qshortcut_kernel
SOURCES
tst_qshortcut.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qsurfaceformat/CMakeLists.txt b/tests/auto/gui/kernel/qsurfaceformat/CMakeLists.txt
index 1d319aaddd..f1fab57ebe 100644
--- a/tests/auto/gui/kernel/qsurfaceformat/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qsurfaceformat/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qsurfaceformat Test:
#####################################################################
-qt_add_test(tst_qsurfaceformat
+qt_internal_add_test(tst_qsurfaceformat
SOURCES
tst_qsurfaceformat.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qtouchevent/CMakeLists.txt b/tests/auto/gui/kernel/qtouchevent/CMakeLists.txt
index a2976c351f..e9a6271f58 100644
--- a/tests/auto/gui/kernel/qtouchevent/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qtouchevent/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtouchevent Test:
#####################################################################
-qt_add_test(tst_qtouchevent
+qt_internal_add_test(tst_qtouchevent
SOURCES
tst_qtouchevent.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/kernel/qwindow/CMakeLists.txt b/tests/auto/gui/kernel/qwindow/CMakeLists.txt
index 84b46b76f5..23671cc385 100644
--- a/tests/auto/gui/kernel/qwindow/CMakeLists.txt
+++ b/tests/auto/gui/kernel/qwindow/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qwindow Test:
#####################################################################
-qt_add_test(tst_qwindow
+qt_internal_add_test(tst_qwindow
SOURCES
tst_qwindow.cpp
PUBLIC_LIBRARIES
@@ -16,7 +16,7 @@ qt_add_test(tst_qwindow
## Scopes:
#####################################################################
-qt_extend_target(tst_qwindow CONDITION QT_FEATURE_dynamicgl AND WIN32
+qt_internal_extend_target(tst_qwindow CONDITION QT_FEATURE_dynamicgl AND WIN32
PUBLIC_LIBRARIES
user32
)
diff --git a/tests/auto/gui/math3d/qmatrixnxn/CMakeLists.txt b/tests/auto/gui/math3d/qmatrixnxn/CMakeLists.txt
index fb2c3ef813..5c54bd6b95 100644
--- a/tests/auto/gui/math3d/qmatrixnxn/CMakeLists.txt
+++ b/tests/auto/gui/math3d/qmatrixnxn/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qmatrixnxn Test:
#####################################################################
-qt_add_test(tst_qmatrixnxn
+qt_internal_add_test(tst_qmatrixnxn
SOURCES
tst_qmatrixnxn.cpp
DEFINES
diff --git a/tests/auto/gui/math3d/qquaternion/CMakeLists.txt b/tests/auto/gui/math3d/qquaternion/CMakeLists.txt
index dec4a3d352..fbeb76abdd 100644
--- a/tests/auto/gui/math3d/qquaternion/CMakeLists.txt
+++ b/tests/auto/gui/math3d/qquaternion/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qquaternion Test:
#####################################################################
-qt_add_test(tst_qquaternion
+qt_internal_add_test(tst_qquaternion
SOURCES
tst_qquaternion.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/math3d/qvectornd/CMakeLists.txt b/tests/auto/gui/math3d/qvectornd/CMakeLists.txt
index 7dd6fe0dcb..c29550463a 100644
--- a/tests/auto/gui/math3d/qvectornd/CMakeLists.txt
+++ b/tests/auto/gui/math3d/qvectornd/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qvectornd Test:
#####################################################################
-qt_add_test(tst_qvectornd
+qt_internal_add_test(tst_qvectornd
SOURCES
tst_qvectornd.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/painting/qbrush/CMakeLists.txt b/tests/auto/gui/painting/qbrush/CMakeLists.txt
index 64659bb07e..c8dad25d94 100644
--- a/tests/auto/gui/painting/qbrush/CMakeLists.txt
+++ b/tests/auto/gui/painting/qbrush/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qbrush Test:
#####################################################################
-qt_add_test(tst_qbrush
+qt_internal_add_test(tst_qbrush
SOURCES
tst_qbrush.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/painting/qcolor/CMakeLists.txt b/tests/auto/gui/painting/qcolor/CMakeLists.txt
index 0baa27ac11..87753803fb 100644
--- a/tests/auto/gui/painting/qcolor/CMakeLists.txt
+++ b/tests/auto/gui/painting/qcolor/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qcolor Test:
#####################################################################
-qt_add_test(tst_qcolor
+qt_internal_add_test(tst_qcolor
SOURCES
tst_qcolor.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/painting/qcolorspace/CMakeLists.txt b/tests/auto/gui/painting/qcolorspace/CMakeLists.txt
index ad719f3bca..9e3460d363 100644
--- a/tests/auto/gui/painting/qcolorspace/CMakeLists.txt
+++ b/tests/auto/gui/painting/qcolorspace/CMakeLists.txt
@@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob
resources/*)
list(APPEND test_data ${test_data_glob})
-qt_add_test(tst_qcolorspace
+qt_internal_add_test(tst_qcolorspace
SOURCES
tst_qcolorspace.cpp
PUBLIC_LIBRARIES
@@ -30,7 +30,7 @@ set(qmake_immediate_resource_files
${resource_glob_0}
)
-qt_add_resource(tst_qcolorspace "qmake_immediate"
+qt_internal_add_resource(tst_qcolorspace "qmake_immediate"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/painting/qpagelayout/CMakeLists.txt b/tests/auto/gui/painting/qpagelayout/CMakeLists.txt
index 15ffd4a000..913619461e 100644
--- a/tests/auto/gui/painting/qpagelayout/CMakeLists.txt
+++ b/tests/auto/gui/painting/qpagelayout/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpagelayout Test:
#####################################################################
-qt_add_test(tst_qpagelayout
+qt_internal_add_test(tst_qpagelayout
SOURCES
tst_qpagelayout.cpp
DEFINES
diff --git a/tests/auto/gui/painting/qpagesize/CMakeLists.txt b/tests/auto/gui/painting/qpagesize/CMakeLists.txt
index 706fa3e402..fc6fd931c2 100644
--- a/tests/auto/gui/painting/qpagesize/CMakeLists.txt
+++ b/tests/auto/gui/painting/qpagesize/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpagesize Test:
#####################################################################
-qt_add_test(tst_qpagesize
+qt_internal_add_test(tst_qpagesize
SOURCES
tst_qpagesize.cpp
DEFINES
diff --git a/tests/auto/gui/painting/qpaintengine/CMakeLists.txt b/tests/auto/gui/painting/qpaintengine/CMakeLists.txt
index 602bfe7316..b843135645 100644
--- a/tests/auto/gui/painting/qpaintengine/CMakeLists.txt
+++ b/tests/auto/gui/painting/qpaintengine/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpaintengine Test:
#####################################################################
-qt_add_test(tst_qpaintengine
+qt_internal_add_test(tst_qpaintengine
SOURCES
tst_qpaintengine.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/painting/qpainter/CMakeLists.txt b/tests/auto/gui/painting/qpainter/CMakeLists.txt
index 6b46db4385..bfb992c7b5 100644
--- a/tests/auto/gui/painting/qpainter/CMakeLists.txt
+++ b/tests/auto/gui/painting/qpainter/CMakeLists.txt
@@ -23,7 +23,7 @@ file(GLOB_RECURSE test_data_glob
list(APPEND test_data ${test_data_glob})
list(APPEND test_data "task217400.png")
-qt_add_test(tst_qpainter
+qt_internal_add_test(tst_qpainter
SOURCES
tst_qpainter.cpp
PUBLIC_LIBRARIES
@@ -36,7 +36,7 @@ qt_add_test(tst_qpainter
## Scopes:
#####################################################################
-qt_extend_target(tst_qpainter CONDITION TARGET Qt::Widgets
+qt_internal_extend_target(tst_qpainter CONDITION TARGET Qt::Widgets
PUBLIC_LIBRARIES
Qt::Widgets
Qt::WidgetsPrivate
@@ -229,7 +229,7 @@ if(ANDROID AND NOT ANDROID_EMBEDDED)
"task217400.png"
)
- qt_add_resource(tst_qpainter "testdata"
+ qt_internal_add_resource(tst_qpainter "testdata"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/painting/qpainterpath/CMakeLists.txt b/tests/auto/gui/painting/qpainterpath/CMakeLists.txt
index edc1ab14bf..47450c9146 100644
--- a/tests/auto/gui/painting/qpainterpath/CMakeLists.txt
+++ b/tests/auto/gui/painting/qpainterpath/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpainterpath Test:
#####################################################################
-qt_add_test(tst_qpainterpath
+qt_internal_add_test(tst_qpainterpath
SOURCES
tst_qpainterpath.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/painting/qpainterpathstroker/CMakeLists.txt b/tests/auto/gui/painting/qpainterpathstroker/CMakeLists.txt
index 1344682991..f4c301c42e 100644
--- a/tests/auto/gui/painting/qpainterpathstroker/CMakeLists.txt
+++ b/tests/auto/gui/painting/qpainterpathstroker/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpainterpathstroker Test:
#####################################################################
-qt_add_test(tst_qpainterpathstroker
+qt_internal_add_test(tst_qpainterpathstroker
SOURCES
tst_qpainterpathstroker.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/painting/qpathclipper/CMakeLists.txt b/tests/auto/gui/painting/qpathclipper/CMakeLists.txt
index 0cfaee06ec..191b1b8a93 100644
--- a/tests/auto/gui/painting/qpathclipper/CMakeLists.txt
+++ b/tests/auto/gui/painting/qpathclipper/CMakeLists.txt
@@ -8,7 +8,7 @@ endif()
## tst_qpathclipper Test:
#####################################################################
-qt_add_test(tst_qpathclipper
+qt_internal_add_test(tst_qpathclipper
SOURCES
paths.cpp paths.h
tst_qpathclipper.cpp
@@ -25,7 +25,7 @@ qt_add_test(tst_qpathclipper
## Scopes:
#####################################################################
-qt_extend_target(tst_qpathclipper CONDITION UNIX AND NOT APPLE AND NOT HAIKU AND NOT INTEGRITY
+qt_internal_extend_target(tst_qpathclipper CONDITION UNIX AND NOT APPLE AND NOT HAIKU AND NOT INTEGRITY
PUBLIC_LIBRARIES
m
)
diff --git a/tests/auto/gui/painting/qpdfwriter/CMakeLists.txt b/tests/auto/gui/painting/qpdfwriter/CMakeLists.txt
index 1f2cf3db27..c6eb5b1034 100644
--- a/tests/auto/gui/painting/qpdfwriter/CMakeLists.txt
+++ b/tests/auto/gui/painting/qpdfwriter/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpdfwriter Test:
#####################################################################
-qt_add_test(tst_qpdfwriter
+qt_internal_add_test(tst_qpdfwriter
SOURCES
tst_qpdfwriter.cpp
DEFINES
diff --git a/tests/auto/gui/painting/qpen/CMakeLists.txt b/tests/auto/gui/painting/qpen/CMakeLists.txt
index 076d15b1d1..321c40fa8f 100644
--- a/tests/auto/gui/painting/qpen/CMakeLists.txt
+++ b/tests/auto/gui/painting/qpen/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpen Test:
#####################################################################
-qt_add_test(tst_qpen
+qt_internal_add_test(tst_qpen
SOURCES
tst_qpen.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/painting/qpolygon/CMakeLists.txt b/tests/auto/gui/painting/qpolygon/CMakeLists.txt
index 83477e0689..a61529d397 100644
--- a/tests/auto/gui/painting/qpolygon/CMakeLists.txt
+++ b/tests/auto/gui/painting/qpolygon/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qpolygon Test:
#####################################################################
-qt_add_test(tst_qpolygon
+qt_internal_add_test(tst_qpolygon
SOURCES
tst_qpolygon.cpp
PUBLIC_LIBRARIES
@@ -14,7 +14,7 @@ qt_add_test(tst_qpolygon
## Scopes:
#####################################################################
-qt_extend_target(tst_qpolygon CONDITION UNIX AND NOT APPLE AND NOT HAIKU AND NOT INTEGRITY
+qt_internal_extend_target(tst_qpolygon CONDITION UNIX AND NOT APPLE AND NOT HAIKU AND NOT INTEGRITY
PUBLIC_LIBRARIES
m
)
diff --git a/tests/auto/gui/painting/qrangecollection/CMakeLists.txt b/tests/auto/gui/painting/qrangecollection/CMakeLists.txt
index ce25304c4a..d4aa7986a7 100644
--- a/tests/auto/gui/painting/qrangecollection/CMakeLists.txt
+++ b/tests/auto/gui/painting/qrangecollection/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qrangecollection Test:
#####################################################################
-qt_add_test(tst_qrangecollection
+qt_internal_add_test(tst_qrangecollection
SOURCES
tst_qrangecollection.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/painting/qregion/CMakeLists.txt b/tests/auto/gui/painting/qregion/CMakeLists.txt
index 8779fecd5e..9564e0719e 100644
--- a/tests/auto/gui/painting/qregion/CMakeLists.txt
+++ b/tests/auto/gui/painting/qregion/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qregion Test:
#####################################################################
-qt_add_test(tst_qregion
+qt_internal_add_test(tst_qregion
SOURCES
tst_qregion.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/painting/qtransform/CMakeLists.txt b/tests/auto/gui/painting/qtransform/CMakeLists.txt
index 07056be3ee..4d50e2cf33 100644
--- a/tests/auto/gui/painting/qtransform/CMakeLists.txt
+++ b/tests/auto/gui/painting/qtransform/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qtransform Test:
#####################################################################
-qt_add_test(tst_qtransform
+qt_internal_add_test(tst_qtransform
SOURCES
tst_qtransform.cpp
PUBLIC_LIBRARIES
@@ -14,7 +14,7 @@ qt_add_test(tst_qtransform
## Scopes:
#####################################################################
-qt_extend_target(tst_qtransform CONDITION UNIX AND NOT APPLE AND NOT HAIKU AND NOT INTEGRITY
+qt_internal_extend_target(tst_qtransform CONDITION UNIX AND NOT APPLE AND NOT HAIKU AND NOT INTEGRITY
PUBLIC_LIBRARIES
m
)
diff --git a/tests/auto/gui/qopengl/CMakeLists.txt b/tests/auto/gui/qopengl/CMakeLists.txt
index a32730fd70..3be29695a5 100644
--- a/tests/auto/gui/qopengl/CMakeLists.txt
+++ b/tests/auto/gui/qopengl/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qopengl Test:
#####################################################################
-qt_add_test(tst_qopengl
+qt_internal_add_test(tst_qopengl
SOURCES
tst_qopengl.cpp
PUBLIC_LIBRARIES
@@ -17,7 +17,7 @@ qt_add_test(tst_qopengl
## Scopes:
#####################################################################
-qt_extend_target(tst_qopengl CONDITION LINUX AND QT_FEATURE_xcb AND QT_FEATURE_xcb_glx_plugin
+qt_internal_extend_target(tst_qopengl CONDITION LINUX AND QT_FEATURE_xcb AND QT_FEATURE_xcb_glx_plugin
DEFINES
USE_GLX
)
diff --git a/tests/auto/gui/qopenglconfig/CMakeLists.txt b/tests/auto/gui/qopenglconfig/CMakeLists.txt
index 60fcdb67df..d193e15c2e 100644
--- a/tests/auto/gui/qopenglconfig/CMakeLists.txt
+++ b/tests/auto/gui/qopenglconfig/CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "buglist.json")
-qt_add_test(tst_qopenglconfig
+qt_internal_add_test(tst_qopenglconfig
SOURCES
tst_qopenglconfig.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/qvulkan/CMakeLists.txt b/tests/auto/gui/qvulkan/CMakeLists.txt
index e3a6643f3d..7cca165ed2 100644
--- a/tests/auto/gui/qvulkan/CMakeLists.txt
+++ b/tests/auto/gui/qvulkan/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qvulkan Test:
#####################################################################
-qt_add_test(tst_qvulkan
+qt_internal_add_test(tst_qvulkan
SOURCES
tst_qvulkan.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/rhi/qrhi/CMakeLists.txt b/tests/auto/gui/rhi/qrhi/CMakeLists.txt
index 8ea9bf36af..65d072c6b9 100644
--- a/tests/auto/gui/rhi/qrhi/CMakeLists.txt
+++ b/tests/auto/gui/rhi/qrhi/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qrhi Test:
#####################################################################
-qt_add_test(tst_qrhi
+qt_internal_add_test(tst_qrhi
SOURCES
tst_qrhi.cpp
PUBLIC_LIBRARIES
@@ -17,7 +17,7 @@ set(qrhi_resource_files
"data"
)
-qt_add_resource(tst_qrhi "qrhi"
+qt_internal_add_resource(tst_qrhi "qrhi"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/rhi/qshader/CMakeLists.txt b/tests/auto/gui/rhi/qshader/CMakeLists.txt
index ae35f7e84e..9a0e246aa4 100644
--- a/tests/auto/gui/rhi/qshader/CMakeLists.txt
+++ b/tests/auto/gui/rhi/qshader/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qshader Test:
#####################################################################
-qt_add_test(tst_qshader
+qt_internal_add_test(tst_qshader
SOURCES
tst_qshader.cpp
PUBLIC_LIBRARIES
@@ -17,7 +17,7 @@ set(qshader_resource_files
"data"
)
-qt_add_resource(tst_qshader "qshader"
+qt_internal_add_resource(tst_qshader "qshader"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/text/qabstracttextdocumentlayout/CMakeLists.txt b/tests/auto/gui/text/qabstracttextdocumentlayout/CMakeLists.txt
index 28df19d195..f78e1d81c7 100644
--- a/tests/auto/gui/text/qabstracttextdocumentlayout/CMakeLists.txt
+++ b/tests/auto/gui/text/qabstracttextdocumentlayout/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qabstracttextdocumentlayout Test:
#####################################################################
-qt_add_test(tst_qabstracttextdocumentlayout
+qt_internal_add_test(tst_qabstracttextdocumentlayout
SOURCES
tst_qabstracttextdocumentlayout.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/text/qcssparser/CMakeLists.txt b/tests/auto/gui/text/qcssparser/CMakeLists.txt
index dc86787c45..adb3e6269c 100644
--- a/tests/auto/gui/text/qcssparser/CMakeLists.txt
+++ b/tests/auto/gui/text/qcssparser/CMakeLists.txt
@@ -11,7 +11,7 @@ endif()
# Collect test data
list(APPEND test_data "testdata")
-qt_add_test(tst_qcssparser
+qt_internal_add_test(tst_qcssparser
SOURCES
tst_qcssparser.cpp
DEFINES
@@ -48,7 +48,7 @@ if(ANDROID)
"testdata/scanner/unicode/output"
)
- qt_add_resource(tst_qcssparser "testdata"
+ qt_internal_add_resource(tst_qcssparser "testdata"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/text/qfont/CMakeLists.txt b/tests/auto/gui/text/qfont/CMakeLists.txt
index b7e30318fb..eb1f9747b2 100644
--- a/tests/auto/gui/text/qfont/CMakeLists.txt
+++ b/tests/auto/gui/text/qfont/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfont Test:
#####################################################################
-qt_add_test(tst_qfont
+qt_internal_add_test(tst_qfont
SOURCES
tst_qfont.cpp
PUBLIC_LIBRARIES
@@ -18,7 +18,7 @@ set(testfont_resource_files
"weirdfont.otf"
)
-qt_add_resource(tst_qfont "testfont"
+qt_internal_add_resource(tst_qfont "testfont"
PREFIX
"/"
FILES
@@ -29,7 +29,7 @@ qt_add_resource(tst_qfont "testfont"
## Scopes:
#####################################################################
-qt_extend_target(tst_qfont CONDITION TARGET Qt::Widgets
+qt_internal_extend_target(tst_qfont CONDITION TARGET Qt::Widgets
PUBLIC_LIBRARIES
Qt::Widgets
)
diff --git a/tests/auto/gui/text/qfontcache/CMakeLists.txt b/tests/auto/gui/text/qfontcache/CMakeLists.txt
index 374854b410..fb93c91e0c 100644
--- a/tests/auto/gui/text/qfontcache/CMakeLists.txt
+++ b/tests/auto/gui/text/qfontcache/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfontcache Test:
#####################################################################
-qt_add_test(tst_qfontcache
+qt_internal_add_test(tst_qfontcache
SOURCES
tst_qfontcache.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/text/qfontdatabase/CMakeLists.txt b/tests/auto/gui/text/qfontdatabase/CMakeLists.txt
index f6ff9e8e7d..73ab56d49f 100644
--- a/tests/auto/gui/text/qfontdatabase/CMakeLists.txt
+++ b/tests/auto/gui/text/qfontdatabase/CMakeLists.txt
@@ -7,7 +7,7 @@
# Collect test data
list(APPEND test_data "LED_REAL.TTF")
-qt_add_test(tst_qfontdatabase
+qt_internal_add_test(tst_qfontdatabase
SOURCES
tst_qfontdatabase.cpp
PUBLIC_LIBRARIES
@@ -38,7 +38,7 @@ set(testdata_resource_files
"LED_REAL.TTF"
)
-qt_add_resource(tst_qfontdatabase "testdata"
+qt_internal_add_resource(tst_qfontdatabase "testdata"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/text/qfontmetrics/CMakeLists.txt b/tests/auto/gui/text/qfontmetrics/CMakeLists.txt
index b0b8eb3f42..d7a22671d6 100644
--- a/tests/auto/gui/text/qfontmetrics/CMakeLists.txt
+++ b/tests/auto/gui/text/qfontmetrics/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qfontmetrics Test:
#####################################################################
-qt_add_test(tst_qfontmetrics
+qt_internal_add_test(tst_qfontmetrics
SOURCES
tst_qfontmetrics.cpp
PUBLIC_LIBRARIES
@@ -22,7 +22,7 @@ set(testfont_resource_files
"ucs4font.ttf"
)
-qt_add_resource(tst_qfontmetrics "testfont"
+qt_internal_add_resource(tst_qfontmetrics "testfont"
PREFIX
"/fonts"
FILES
diff --git a/tests/auto/gui/text/qglyphrun/CMakeLists.txt b/tests/auto/gui/text/qglyphrun/CMakeLists.txt
index 7ea92f2924..b0585af16f 100644
--- a/tests/auto/gui/text/qglyphrun/CMakeLists.txt
+++ b/tests/auto/gui/text/qglyphrun/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qglyphrun Test:
#####################################################################
-qt_add_test(tst_qglyphrun
+qt_internal_add_test(tst_qglyphrun
SOURCES
tst_qglyphrun.cpp
PUBLIC_LIBRARIES
@@ -19,7 +19,7 @@ set(testdata_resource_files
"../../../shared/resources/test.ttf"
)
-qt_add_resource(tst_qglyphrun "testdata"
+qt_internal_add_resource(tst_qglyphrun "testdata"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/text/qinputcontrol/CMakeLists.txt b/tests/auto/gui/text/qinputcontrol/CMakeLists.txt
index f5cdd63ec0..048a96ef77 100644
--- a/tests/auto/gui/text/qinputcontrol/CMakeLists.txt
+++ b/tests/auto/gui/text/qinputcontrol/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qinputcontrol Test:
#####################################################################
-qt_add_test(tst_qinputcontrol
+qt_internal_add_test(tst_qinputcontrol
SOURCES
tst_qinputcontrol.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/gui/text/qrawfont/CMakeLists.txt b/tests/auto/gui/text/qrawfont/CMakeLists.txt
index f51d4ec13d..04db8d8760 100644
--- a/tests/auto/gui/text/qrawfont/CMakeLists.txt
+++ b/tests/auto/gui/text/qrawfont/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qrawfont Test:
#####################################################################
-qt_add_test(tst_qrawfont
+qt_internal_add_test(tst_qrawfont
SOURCES
tst_qrawfont.cpp
PUBLIC_LIBRARIES
@@ -23,7 +23,7 @@ set(testdata_resource_files
"testfont_os2_v1.ttf"
)
-qt_add_resource(tst_qrawfont "testdata"
+qt_internal_add_resource(tst_qrawfont "testdata"
PREFIX
"/"
FILES
diff --git a/tests/auto/gui/text/qstatictext/CMakeLists.txt b/tests/auto/gui/text/qstatictext/CMakeLists.txt
index 1c182b3659..a7ba4e392a 100644
--- a/tests/auto/gui/text/qstatictext/CMakeLists.txt
+++ b/tests/auto/gui/text/qstatictext/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qstatictext Test:
#####################################################################
-qt_add_test(tst_qstatictext
+qt_internal_add_test(tst_qstatictext
SOURCES
tst_qstatictext.cpp
PUBLIC_LIBRARIES
@@ -14,7 +14,7 @@ qt_add_test(tst_qstatictext
## Scopes:
#####################################################################
-qt_extend_target(tst_qstatictext CONDITION QT_FEATURE_private_tests
+qt_internal_extend_target(tst_qstatictext CONDITION QT_FEATURE_private_tests
PUBLIC_LIBRARIES
Qt::CorePrivate
Qt::GuiPrivate
diff --git a/tests/auto/gui/text/qsyntaxhighlighter/CMakeLists.txt b/tests/auto/gui/text/qsyntaxhighlighter/CMakeLists.txt
index 4c66cf94a7..9ac732cee0 100644
--- a/tests/auto/gui/text/qsyntaxhighlighter/CMakeLists.txt
+++ b/tests/auto/gui/text/qsyntaxhighlighter/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qsyntaxhighlighter Test:
#####################################################################
-qt_add_test(tst_qsyntaxhighlighter