summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-12-09 14:59:40 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-12-10 21:19:01 +0000
commitaba6fcbbf64b1bd003b0c47144e2bcce43390f5d (patch)
tree6d6d2fe4d86c57c31e06e61f201d0b72c54a21e3 /tests
parent86b72d481f1d041b0250405d2805b229a4bb5efd (diff)
CMake: Regenerate projects using pro2cmake one last time
And fix up some wrong qmake project files Change-Id: I66cb82aeb9c1419a74df1a650fa78a511ade7443 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 2304acab5ff3bd3832c2e388cfdab27f2a95caa8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/.prev_CMakeLists.txt2
-rw-r--r--tests/auto/concurrent/CMakeLists.txt2
-rw-r--r--tests/auto/concurrent/qtconcurrentfiltermapgenerated/CMakeLists.txt5
-rw-r--r--tests/auto/corelib/global/qlogging/.prev_CMakeLists.txt1
-rw-r--r--tests/auto/corelib/global/qlogging/CMakeLists.txt13
-rw-r--r--tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/corelib/serialization/.prev_CMakeLists.txt17
-rw-r--r--tests/auto/corelib/text/.prev_CMakeLists.txt8
-rw-r--r--tests/auto/corelib/time/qdatetimeparser/CMakeLists.txt2
-rw-r--r--tests/auto/corelib/tools/containerapisymmetry/CMakeLists.txt3
-rw-r--r--tests/auto/gui/image/.prev_CMakeLists.txt19
-rw-r--r--tests/auto/gui/kernel/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/gui/kernel/CMakeLists.txt4
-rw-r--r--tests/auto/gui/kernel/kernel.pro2
-rw-r--r--tests/auto/gui/kernel/qhighdpiscaling/CMakeLists.txt14
-rw-r--r--tests/auto/gui/painting/.prev_CMakeLists.txt22
-rw-r--r--tests/auto/network/kernel/CMakeLists.txt12
-rw-r--r--tests/auto/network/kernel/kernel.pro8
-rw-r--r--tests/auto/network/socket/qlocalsocket/.prev_CMakeLists.txt4
-rw-r--r--tests/auto/network/socket/qlocalsocket/CMakeLists.txt5
-rw-r--r--tests/auto/other/android/.prev_CMakeLists.txt19
-rw-r--r--tests/auto/other/networkselftest/.prev_CMakeLists.txt16
-rw-r--r--tests/auto/other/networkselftest/CMakeLists.txt5
-rw-r--r--tests/auto/tools/.prev_CMakeLists.txt12
-rw-r--r--tests/auto/widgets/kernel/.prev_CMakeLists.txt28
-rw-r--r--tests/auto/xml/.prev_CMakeLists.txt5
-rw-r--r--tests/benchmarks/corelib/kernel/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/kernel/qwineventnotifier/CMakeLists.txt2
-rw-r--r--tests/manual/diaglib/diaglib.pri2
-rw-r--r--tests/manual/qtabletevent/regular_widgets/CMakeLists.txt2
31 files changed, 189 insertions, 59 deletions
diff --git a/tests/auto/.prev_CMakeLists.txt b/tests/auto/.prev_CMakeLists.txt
index b0539214c8..71fedfa275 100644
--- a/tests/auto/.prev_CMakeLists.txt
+++ b/tests/auto/.prev_CMakeLists.txt
@@ -14,7 +14,7 @@ endif()
if(TARGET Qt::Concurrent)
add_subdirectory(concurrent)
endif()
-if((((system("dbus-send --session --type=signal / local.AutotestCheck.Hello >_ss_QMAKE_SYSTEM_NULL_DEVICE 2>&1")) AND (TARGET Qt::DBus AND NOT CMAKE_CROSSCOMPILING AND NOT boot2qt))))
+if((((QT_FEATURE_dbus_linked) AND (TARGET Qt::DBus AND NOT CMAKE_CROSSCOMPILING AND NOT boot2qt) AND ((TARGET Qt::DBus AND NOT CMAKE_CROSSCOMPILING AND NOT boot2qt) AND (NOT (system("dbus-send --session --type=signal / local.AutotestCheck.Hello >_ss_QMAKE_SYSTEM_NULL_DEVICE 2>&1"))))) OR ((system("dbus-send --session --type=signal / local.AutotestCheck.Hello >_ss_QMAKE_SYSTEM_NULL_DEVICE 2>&1")) AND (TARGET Qt::DBus AND NOT CMAKE_CROSSCOMPILING AND NOT boot2qt))))
add_subdirectory(dbus)
endif()
if(TARGET Qt::Network)
diff --git a/tests/auto/concurrent/CMakeLists.txt b/tests/auto/concurrent/CMakeLists.txt
index ec8eea76aa..dce6effa55 100644
--- a/tests/auto/concurrent/CMakeLists.txt
+++ b/tests/auto/concurrent/CMakeLists.txt
@@ -1,8 +1,8 @@
# Generated from concurrent.pro.
add_subdirectory(qtconcurrentfilter)
-add_subdirectory(qtconcurrentfiltermapgenerated)
add_subdirectory(qtconcurrentiteratekernel)
+add_subdirectory(qtconcurrentfiltermapgenerated)
add_subdirectory(qtconcurrentmap)
add_subdirectory(qtconcurrentmedian)
add_subdirectory(qtconcurrentrun)
diff --git a/tests/auto/concurrent/qtconcurrentfiltermapgenerated/CMakeLists.txt b/tests/auto/concurrent/qtconcurrentfiltermapgenerated/CMakeLists.txt
index c2a11627ca..1933365e86 100644
--- a/tests/auto/concurrent/qtconcurrentfiltermapgenerated/CMakeLists.txt
+++ b/tests/auto/concurrent/qtconcurrentfiltermapgenerated/CMakeLists.txt
@@ -1,12 +1,13 @@
+# Generated from qtconcurrentfiltermapgenerated.pro.
+
#####################################################################
## tst_qtconcurrentfiltermapgenerated Test:
#####################################################################
qt_internal_add_test(tst_qtconcurrentfiltermapgenerated
SOURCES
- tst_qtconcurrentfiltermapgenerated.cpp
- tst_qtconcurrentfiltermapgenerated.h
tst_qtconcurrent_selected_tests.cpp
+ tst_qtconcurrentfiltermapgenerated.cpp tst_qtconcurrentfiltermapgenerated.h
PUBLIC_LIBRARIES
Qt::Concurrent
)
diff --git a/tests/auto/corelib/global/qlogging/.prev_CMakeLists.txt b/tests/auto/corelib/global/qlogging/.prev_CMakeLists.txt
index c95195c71e..aa5f3a533d 100644
--- a/tests/auto/corelib/global/qlogging/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/global/qlogging/.prev_CMakeLists.txt
@@ -2,3 +2,4 @@
add_subdirectory(app)
add_subdirectory(test)
+add_subdirectory(test_qmessagelogger)
diff --git a/tests/auto/corelib/global/qlogging/CMakeLists.txt b/tests/auto/corelib/global/qlogging/CMakeLists.txt
index 47ee7adca0..feeffd4fc5 100644
--- a/tests/auto/corelib/global/qlogging/CMakeLists.txt
+++ b/tests/auto/corelib/global/qlogging/CMakeLists.txt
@@ -1,29 +1,28 @@
# Generated from qlogging.pro.
-# This file is almost completely custom written # special case
+# This file is almost completely custom written
+# special case skip regeneration
qt_internal_add_executable(qlogging_helper
- NO_INSTALL # special case
- OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
+ NO_INSTALL
+ OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
SOURCES app/main.cpp
DEFINES QT_MESSAGELOGCONTEXT
LIBRARIES Qt::Core)
-# special case begin
# Fixes required for the backtrace stack to be correct
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU" AND NOT MINGW)
target_link_options(qlogging_helper PRIVATE -rdynamic)
endif()
set_target_properties(qlogging_helper PROPERTIES CXX_VISIBILITY_PRESET default)
-# special case end
qt_internal_add_test(tst_qlogging SOURCES tst_qlogging.cpp
DEFINES
QT_MESSAGELOGCONTEXT
QT_DISABLE_DEPRECATED_BEFORE=0
- HELPER_BINARY="${CMAKE_CURRENT_BINARY_DIR}/qlogging_helper" # special case
+ HELPER_BINARY="${CMAKE_CURRENT_BINARY_DIR}/qlogging_helper"
)
-target_compile_definitions(tst_qlogging PRIVATE QT_CMAKE_BUILD) # special case # to fix the binary name
+target_compile_definitions(tst_qlogging PRIVATE QT_CMAKE_BUILD) # to fix the binary name
qt_internal_add_test(tst_qmessagelogger SOURCES tst_qmessagelogger.cpp
DEFINES
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 b3c0879605..31ee565109 100644
--- a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-cache/.prev_CMakeLists.txt
@@ -17,7 +17,7 @@ qt_internal_add_test(tst_qmimedatabase-cache
)
# Resources:
-set_source_files_properties("/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes/mime/packages/freedesktop.org.xml"
+set_source_files_properties("/Volumes/T3/Dev/qt/qt5_cmake/worktrees/dev/qtbase/src/corelib/mimetypes/mime/packages/freedesktop.org.xml"
PROPERTIES QT_RESOURCE_ALIAS "freedesktop.org.xml"
)
set(mimetypes_resource_files
@@ -28,7 +28,7 @@ qt_internal_add_resource(tst_qmimedatabase-cache "mimetypes"
PREFIX
"/qt-project.org/qmime/packages"
BASE
- "/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes"
+ "/Volumes/T3/Dev/qt/qt5_cmake/worktrees/dev/qtbase/src/corelib/mimetypes"
FILES
${mimetypes_resource_files}
)
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 b1cabd0b7e..66d6e8414c 100644
--- a/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/mimetypes/qmimedatabase/qmimedatabase-xml/.prev_CMakeLists.txt
@@ -17,7 +17,7 @@ qt_internal_add_test(tst_qmimedatabase-xml
)
# Resources:
-set_source_files_properties("/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes/mime/packages/freedesktop.org.xml"
+set_source_files_properties("/Volumes/T3/Dev/qt/qt5_cmake/worktrees/dev/qtbase/src/corelib/mimetypes/mime/packages/freedesktop.org.xml"
PROPERTIES QT_RESOURCE_ALIAS "freedesktop.org.xml"
)
set(mimetypes_resource_files
@@ -28,7 +28,7 @@ qt_internal_add_resource(tst_qmimedatabase-xml "mimetypes"
PREFIX
"/qt-project.org/qmime/packages"
BASE
- "/Volumes/T3/Dev/qt/qt5_cmake/qtbase/src/corelib/mimetypes"
+ "/Volumes/T3/Dev/qt/qt5_cmake/worktrees/dev/qtbase/src/corelib/mimetypes"
FILES
${mimetypes_resource_files}
)
diff --git a/tests/auto/corelib/serialization/.prev_CMakeLists.txt b/tests/auto/corelib/serialization/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..59fe15de4c
--- /dev/null
+++ b/tests/auto/corelib/serialization/.prev_CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from serialization.pro.
+
+add_subdirectory(json)
+add_subdirectory(qcborstreamreader)
+add_subdirectory(qcborstreamwriter)
+add_subdirectory(qcborvalue)
+add_subdirectory(qcborvalue_json)
+if(TARGET Qt::Gui)
+ add_subdirectory(qdatastream)
+ add_subdirectory(qdatastream_core_pixmap)
+endif()
+if(TARGET Qt::Network)
+ add_subdirectory(qtextstream)
+endif()
+if(TARGET Qt::Network AND TARGET Qt::Xml AND NOT ANDROID)
+ add_subdirectory(qxmlstream)
+endif()
diff --git a/tests/auto/corelib/text/.prev_CMakeLists.txt b/tests/auto/corelib/text/.prev_CMakeLists.txt
index aa2b8f31b2..5ac3fa208a 100644
--- a/tests/auto/corelib/text/.prev_CMakeLists.txt
+++ b/tests/auto/corelib/text/.prev_CMakeLists.txt
@@ -1,20 +1,26 @@
# Generated from text.pro.
add_subdirectory(qbytearray)
+add_subdirectory(qbytearrayapisymmetry)
add_subdirectory(qbytearraylist)
add_subdirectory(qbytearraymatcher)
+add_subdirectory(qbytearrayview)
add_subdirectory(qbytedatabuffer)
add_subdirectory(qchar)
add_subdirectory(qcollator)
add_subdirectory(qlatin1string)
-add_subdirectory(qlocale)
add_subdirectory(qregularexpression)
add_subdirectory(qstring)
add_subdirectory(qstring_no_cast_from_bytearray)
add_subdirectory(qstringapisymmetry)
add_subdirectory(qstringbuilder)
+add_subdirectory(qstringconverter)
add_subdirectory(qstringiterator)
add_subdirectory(qstringlist)
add_subdirectory(qstringmatcher)
+add_subdirectory(qstringtokenizer)
add_subdirectory(qstringview)
add_subdirectory(qtextboundaryfinder)
+if(NOT ANDROID)
+ add_subdirectory(qlocale)
+endif()
diff --git a/tests/auto/corelib/time/qdatetimeparser/CMakeLists.txt b/tests/auto/corelib/time/qdatetimeparser/CMakeLists.txt
index df9fe43958..9bdeb62501 100644
--- a/tests/auto/corelib/time/qdatetimeparser/CMakeLists.txt
+++ b/tests/auto/corelib/time/qdatetimeparser/CMakeLists.txt
@@ -1,3 +1,5 @@
+# Generated from qdatetimeparser.pro.
+
#####################################################################
## tst_qdatetimeparser Test:
#####################################################################
diff --git a/tests/auto/corelib/tools/containerapisymmetry/CMakeLists.txt b/tests/auto/corelib/tools/containerapisymmetry/CMakeLists.txt
index f640996a53..68d6f4bc0e 100644
--- a/tests/auto/corelib/tools/containerapisymmetry/CMakeLists.txt
+++ b/tests/auto/corelib/tools/containerapisymmetry/CMakeLists.txt
@@ -8,3 +8,6 @@ qt_internal_add_test(tst_containerapisymmetry
SOURCES
tst_containerapisymmetry.cpp
)
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/gui/image/.prev_CMakeLists.txt b/tests/auto/gui/image/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..1eecb03af6
--- /dev/null
+++ b/tests/auto/gui/image/.prev_CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from image.pro.
+
+if(TARGET Qt::Network AND NOT ANDROID)
+ add_subdirectory(qimagereader)
+endif()
+add_subdirectory(qicoimageformat)
+add_subdirectory(qpixmap)
+add_subdirectory(qimage)
+add_subdirectory(qimageiohandler)
+add_subdirectory(qimagewriter)
+add_subdirectory(qmovie)
+add_subdirectory(qpicture)
+add_subdirectory(qiconhighdpi)
+if(QT_FEATURE_private_tests)
+ add_subdirectory(qpixmapcache)
+endif()
+if(NOT ANDROID)
+ add_subdirectory(qicon)
+endif()
diff --git a/tests/auto/gui/kernel/.prev_CMakeLists.txt b/tests/auto/gui/kernel/.prev_CMakeLists.txt
index 33c8b35391..85dc42305f 100644
--- a/tests/auto/gui/kernel/.prev_CMakeLists.txt
+++ b/tests/auto/gui/kernel/.prev_CMakeLists.txt
@@ -11,6 +11,7 @@ add_subdirectory(qevent)
add_subdirectory(qfileopenevent)
add_subdirectory(qguieventdispatcher)
add_subdirectory(qguitimer)
+add_subdirectory(qhighdpi)
add_subdirectory(qinputdevice)
add_subdirectory(qinputmethod)
add_subdirectory(qkeyevent)
@@ -35,9 +36,6 @@ if(QT_FEATURE_shortcut)
add_subdirectory(qkeysequence)
add_subdirectory(qshortcut)
endif()
-if(QT_FEATURE_highdpiscaling)
- add_subdirectory(qhighdpiscaling)
-endif()
if(TARGET Qt::Widgets)
add_subdirectory(qmouseevent_modal)
add_subdirectory(qtouchevent)
diff --git a/tests/auto/gui/kernel/CMakeLists.txt b/tests/auto/gui/kernel/CMakeLists.txt
index a22c0262c5..e19ee9a75c 100644
--- a/tests/auto/gui/kernel/CMakeLists.txt
+++ b/tests/auto/gui/kernel/CMakeLists.txt
@@ -11,6 +11,7 @@ add_subdirectory(qevent)
add_subdirectory(qfileopenevent)
add_subdirectory(qguieventdispatcher)
add_subdirectory(qguitimer)
+add_subdirectory(qhighdpi)
add_subdirectory(qinputdevice)
add_subdirectory(qinputmethod)
add_subdirectory(qkeyevent)
@@ -35,9 +36,6 @@ if(QT_FEATURE_shortcut)
add_subdirectory(qkeysequence)
add_subdirectory(qshortcut)
endif()
-if(QT_FEATURE_highdpiscaling)
- add_subdirectory(qhighdpi)
-endif()
if(TARGET Qt::Widgets)
add_subdirectory(qmouseevent_modal)
add_subdirectory(qtouchevent)
diff --git a/tests/auto/gui/kernel/kernel.pro b/tests/auto/gui/kernel/kernel.pro
index 82b7baba54..88108453b8 100644
--- a/tests/auto/gui/kernel/kernel.pro
+++ b/tests/auto/gui/kernel/kernel.pro
@@ -51,8 +51,6 @@ win32:qtHaveModule(network): SUBDIRS += noqteventloop
qaction \
qactiongroup
-!qtConfig(highdpiscaling): SUBDIRS -= qhighdpiscaling
-
!qtConfig(opengl): SUBDIRS -= qopenglwindow
android|uikit: SUBDIRS -= qclipboard
diff --git a/tests/auto/gui/kernel/qhighdpiscaling/CMakeLists.txt b/tests/auto/gui/kernel/qhighdpiscaling/CMakeLists.txt
deleted file mode 100644
index 9db351dbda..0000000000
--- a/tests/auto/gui/kernel/qhighdpiscaling/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-# Generated from qhighdpiscaling.pro.
-
-#####################################################################
-## tst_qhighdpiscaling Test:
-#####################################################################
-
-qt_internal_add_test(tst_qhighdpiscaling
- SOURCES
- tst_qhighdpiscaling.cpp
- PUBLIC_LIBRARIES
- Qt::CorePrivate
- Qt::Gui
- Qt::GuiPrivate
-)
diff --git a/tests/auto/gui/painting/.prev_CMakeLists.txt b/tests/auto/gui/painting/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..0cedaffebb
--- /dev/null
+++ b/tests/auto/gui/painting/.prev_CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from painting.pro.
+
+add_subdirectory(qpainterpath)
+add_subdirectory(qpainterpathstroker)
+add_subdirectory(qcolor)
+add_subdirectory(qbrush)
+add_subdirectory(qregion)
+add_subdirectory(qpagelayout)
+add_subdirectory(qpageranges)
+add_subdirectory(qpagesize)
+add_subdirectory(qpainter)
+add_subdirectory(qpdfwriter)
+add_subdirectory(qpen)
+add_subdirectory(qpaintengine)
+add_subdirectory(qtransform)
+add_subdirectory(qpolygon)
+if(NOT ANDROID)
+ add_subdirectory(qcolorspace)
+endif()
+if(QT_FEATURE_private_tests)
+ add_subdirectory(qpathclipper)
+endif()
diff --git a/tests/auto/network/kernel/CMakeLists.txt b/tests/auto/network/kernel/CMakeLists.txt
index 0b25020694..8b8960d0ae 100644
--- a/tests/auto/network/kernel/CMakeLists.txt
+++ b/tests/auto/network/kernel/CMakeLists.txt
@@ -1,14 +1,16 @@
+# Generated from kernel.pro.
+
add_subdirectory(qdnslookup)
add_subdirectory(qdnslookup_appless)
+add_subdirectory(qnetworkproxyfactory)
+add_subdirectory(qnetworkproxy)
add_subdirectory(qnetworkinterface)
add_subdirectory(qnetworkdatagram)
add_subdirectory(qnetworkaddressentry)
add_subdirectory(qhostaddress)
-
+if(QT_FEATURE_private_tests AND NOT MACOS)
+ add_subdirectory(qhostinfo)
+endif()
if(QT_FEATURE_private_tests)
add_subdirectory(qauthenticator)
-
- if(NOT MACOS)
- add_subdirectory(qhostinfo)
- endif()
endif()
diff --git a/tests/auto/network/kernel/kernel.pro b/tests/auto/network/kernel/kernel.pro
index c13378cc02..c701a7fdc0 100644
--- a/tests/auto/network/kernel/kernel.pro
+++ b/tests/auto/network/kernel/kernel.pro
@@ -9,12 +9,12 @@ SUBDIRS=\
qnetworkinterface \
qnetworkdatagram \
qnetworkaddressentry \
- qhostaddress \
+ qhostaddress
-osx: SUBDIRS -= \ # QTBUG-41847
- qhostinfo \
+# QTBUG-41847
+osx: SUBDIRS -= qhostinfo
!qtConfig(private_tests): SUBDIRS -= \
qauthenticator \
- qhostinfo \
+ qhostinfo
diff --git a/tests/auto/network/socket/qlocalsocket/.prev_CMakeLists.txt b/tests/auto/network/socket/qlocalsocket/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..97466174f9
--- /dev/null
+++ b/tests/auto/network/socket/qlocalsocket/.prev_CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from qlocalsocket.pro.
+
+add_subdirectory(test)
+add_subdirectory(socketprocess)
diff --git a/tests/auto/network/socket/qlocalsocket/CMakeLists.txt b/tests/auto/network/socket/qlocalsocket/CMakeLists.txt
index 23f2b833e2..b0eca25191 100644
--- a/tests/auto/network/socket/qlocalsocket/CMakeLists.txt
+++ b/tests/auto/network/socket/qlocalsocket/CMakeLists.txt
@@ -1,6 +1,7 @@
-# special case begin
-add_subdirectory(socketprocess)
+# Generated from qlocalsocket.pro.
+# add_subdirectory(test) # special case remove
+add_subdirectory(socketprocess)
qt_internal_add_test(tst_qlocalsocket
SOURCES
tst_qlocalsocket.cpp
diff --git a/tests/auto/other/android/.prev_CMakeLists.txt b/tests/auto/other/android/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..d58103679b
--- /dev/null
+++ b/tests/auto/other/android/.prev_CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from android.pro.
+
+#####################################################################
+## tst_android Test:
+#####################################################################
+
+qt_internal_add_test(tst_android
+ SOURCES
+ tst_android.cpp
+)
+
+if(ANDROID)
+ set_property(TARGET tst_android APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR
+ ${CMAKE_CURRENT_SOURCE_DIR}/testdata
+ )
+endif()
+
+#### Keys ignored in scope 1:.:.:android.pro:<TRUE>:
+# DISTFILES = "testdata/assets/test.txt"
diff --git a/tests/auto/other/networkselftest/.prev_CMakeLists.txt b/tests/auto/other/networkselftest/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..c1e1b6518b
--- /dev/null
+++ b/tests/auto/other/networkselftest/.prev_CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from networkselftest.pro.
+
+#####################################################################
+## tst_networkselftest Test:
+#####################################################################
+
+qt_internal_add_test(tst_networkselftest
+ SOURCES
+ tst_networkselftest.cpp
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::Network
+)
+
+#### Keys ignored in scope 1:.:.:networkselftest.pro:<TRUE>:
+# QT_TEST_SERVER_LIST = "cyrus" "vsftpd" "apache2" "ftp-proxy" "danted" "squid" "echo"
diff --git a/tests/auto/other/networkselftest/CMakeLists.txt b/tests/auto/other/networkselftest/CMakeLists.txt
index 7ccbbcdbb1..547e4afd7e 100644
--- a/tests/auto/other/networkselftest/CMakeLists.txt
+++ b/tests/auto/other/networkselftest/CMakeLists.txt
@@ -10,5 +10,8 @@ qt_internal_add_test(tst_networkselftest
PUBLIC_LIBRARIES
Qt::CorePrivate
Qt::Network
- QT_TEST_SERVER_LIST "danted" "squid" "apache2" "ftp-proxy" "vsftpd" "cyrus" "echo"
+ QT_TEST_SERVER_LIST "danted" "squid" "apache2" "ftp-proxy" "vsftpd" "cyrus" "echo" # special case
)
+
+#### Keys ignored in scope 1:.:.:networkselftest.pro:<TRUE>:
+# QT_TEST_SERVER_LIST = "cyrus" "vsftpd" "apache2" "ftp-proxy" "danted" "squid" "echo"
diff --git a/tests/auto/tools/.prev_CMakeLists.txt b/tests/auto/tools/.prev_CMakeLists.txt
index d6cc753db7..2b9dc41846 100644
--- a/tests/auto/tools/.prev_CMakeLists.txt
+++ b/tests/auto/tools/.prev_CMakeLists.txt
@@ -1,10 +1,12 @@
# Generated from tools.pro.
-add_subdirectory(qmakelib)
-add_subdirectory(qmake)
-add_subdirectory(moc)
-add_subdirectory(rcc)
-if(TARGET Qt::Widgets)
+if(NOT ANDROID AND NOT IOS)
+ add_subdirectory(qmakelib)
+ add_subdirectory(qmake)
+ add_subdirectory(moc)
+ add_subdirectory(rcc)
+endif()
+if(TARGET Qt::Widgets AND NOT ANDROID AND NOT IOS)
add_subdirectory(uic)
endif()
if(TARGET Qt::DBus)
diff --git a/tests/auto/widgets/kernel/.prev_CMakeLists.txt b/tests/auto/widgets/kernel/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..bb034d0d24
--- /dev/null
+++ b/tests/auto/widgets/kernel/.prev_CMakeLists.txt
@@ -0,0 +1,28 @@
+# Generated from kernel.pro.
+
+add_subdirectory(qapplication)
+add_subdirectory(qboxlayout)
+add_subdirectory(qformlayout)
+add_subdirectory(qgridlayout)
+add_subdirectory(qlayout)
+add_subdirectory(qstackedlayout)
+add_subdirectory(qtooltip)
+add_subdirectory(qwidget_window)
+add_subdirectory(qwidgetmetatype)
+add_subdirectory(qwidgetsvariant)
+add_subdirectory(qwindowcontainer)
+add_subdirectory(qsizepolicy)
+if(NOT APPLE)
+ add_subdirectory(qgesturerecognizer)
+endif()
+if(NOT ANDROID)
+ add_subdirectory(qwidget)
+endif()
+if(QT_FEATURE_shortcut)
+ add_subdirectory(qshortcut)
+endif()
+if(QT_FEATURE_action)
+ add_subdirectory(qaction)
+ add_subdirectory(qactiongroup)
+ add_subdirectory(qwidgetaction)
+endif()
diff --git a/tests/auto/xml/.prev_CMakeLists.txt b/tests/auto/xml/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..6b5465889f
--- /dev/null
+++ b/tests/auto/xml/.prev_CMakeLists.txt
@@ -0,0 +1,5 @@
+# Generated from xml.pro.
+
+if(NOT ANDROID)
+ add_subdirectory(dom)
+endif()
diff --git a/tests/benchmarks/corelib/kernel/CMakeLists.txt b/tests/benchmarks/corelib/kernel/CMakeLists.txt
index 556785fd62..4bfdc63823 100644
--- a/tests/benchmarks/corelib/kernel/CMakeLists.txt
+++ b/tests/benchmarks/corelib/kernel/CMakeLists.txt
@@ -9,6 +9,6 @@ if(TARGET Qt::Widgets)
add_subdirectory(qmetaobject)
add_subdirectory(qobject)
endif()
-if(win32_x_)
+if(WIN32)
add_subdirectory(qwineventnotifier)
endif()
diff --git a/tests/benchmarks/corelib/kernel/qwineventnotifier/CMakeLists.txt b/tests/benchmarks/corelib/kernel/qwineventnotifier/CMakeLists.txt
index a2bf2e9574..a581b1eaef 100644
--- a/tests/benchmarks/corelib/kernel/qwineventnotifier/CMakeLists.txt
+++ b/tests/benchmarks/corelib/kernel/qwineventnotifier/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_bench_qwineventnotifier Binary:
#####################################################################
-qt_add_benchmark(tst_bench_qwineventnotifier
+qt_internal_add_benchmark(tst_bench_qwineventnotifier
SOURCES
main.cpp
PUBLIC_LIBRARIES
diff --git a/tests/manual/diaglib/diaglib.pri b/tests/manual/diaglib/diaglib.pri
index 77ebf1b184..7ec657d9ab 100644
--- a/tests/manual/diaglib/diaglib.pri
+++ b/tests/manual/diaglib/diaglib.pri
@@ -12,7 +12,7 @@ HEADERS += \
win32: {
SOURCES += $$PWD/nativewindowdump_win.cpp
- QMAKE_LIBS += -luser32
+ LIBS += -luser32
} else {
SOURCES += $$PWD/nativewindowdump.cpp
}
diff --git a/tests/manual/qtabletevent/regular_widgets/CMakeLists.txt b/tests/manual/qtabletevent/regular_widgets/CMakeLists.txt
index b606fcabc2..786e061322 100644
--- a/tests/manual/qtabletevent/regular_widgets/CMakeLists.txt
+++ b/tests/manual/qtabletevent/regular_widgets/CMakeLists.txt
@@ -4,7 +4,7 @@
## regular_widgets Binary:
#####################################################################
-qt_internal_add_executable(regular_widgets
+qt_internal_add_manual_test(regular_widgets
GUI
SOURCES
main.cpp