CMake: Make widgets tests standalone projects
Add the boilerplate standalone test prelude to each test, so that they can be opened with an IDE without the qt-cmake-standalone-test script, but directly with qt-cmake or cmake. Boilerplate was added using the following scripts: https://git.qt.io/alcroito/cmake_refactor Manual adjustments were made where the code was inserted in the wrong location. Task-number: QTBUG-93020 Change-Id: I3c0d1a63c474969e5eaee5fdbb1bb0229482fc5b Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
8450ab8dec
commit
68cb89c8b2
@ -5,6 +5,12 @@
|
|||||||
## tst_qcolordialog Test:
|
## tst_qcolordialog Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qcolordialog LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qcolordialog
|
qt_internal_add_test(tst_qcolordialog
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qcolordialog.cpp
|
tst_qcolordialog.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdialog Test:
|
## tst_qdialog Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdialog LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdialog
|
qt_internal_add_test(tst_qdialog
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdialog.cpp
|
tst_qdialog.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qerrormessage Test:
|
## tst_qerrormessage Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qerrormessage LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qerrormessage
|
qt_internal_add_test(tst_qerrormessage
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qerrormessage.cpp
|
tst_qerrormessage.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qfiledialog Test:
|
## tst_qfiledialog Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qfiledialog LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qfiledialog
|
qt_internal_add_test(tst_qfiledialog
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfiledialog.cpp
|
tst_qfiledialog.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qfiledialog2 Test:
|
## tst_qfiledialog2 Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qfiledialog2 LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qfiledialog2
|
qt_internal_add_test(tst_qfiledialog2
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfiledialog2.cpp
|
tst_qfiledialog2.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qfontdialog Test:
|
## tst_qfontdialog Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qfontdialog LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Resources:
|
# Resources:
|
||||||
set_source_files_properties("../../../shared/resources/test.ttf"
|
set_source_files_properties("../../../shared/resources/test.ttf"
|
||||||
PROPERTIES QT_RESOURCE_ALIAS "test.ttf"
|
PROPERTIES QT_RESOURCE_ALIAS "test.ttf"
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qinputdialog Test:
|
## tst_qinputdialog Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qinputdialog LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qinputdialog
|
qt_internal_add_test(tst_qinputdialog
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qinputdialog.cpp
|
tst_qinputdialog.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qmessagebox Test:
|
## tst_qmessagebox Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qmessagebox LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qmessagebox
|
qt_internal_add_test(tst_qmessagebox
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmessagebox.cpp
|
tst_qmessagebox.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qprogressdialog Test:
|
## tst_qprogressdialog Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qprogressdialog LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qprogressdialog
|
qt_internal_add_test(tst_qprogressdialog
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qprogressdialog.cpp
|
tst_qprogressdialog.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsidebar Test:
|
## tst_qsidebar Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsidebar LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsidebar
|
qt_internal_add_test(tst_qsidebar
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsidebar.cpp
|
tst_qsidebar.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qwizard Test:
|
## tst_qwizard Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qwizard LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Resources:
|
# Resources:
|
||||||
set(qwizard_resource_files
|
set(qwizard_resource_files
|
||||||
"images/background.png"
|
"images/background.png"
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicseffect Test:
|
## tst_qgraphicseffect Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicseffect LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicseffect
|
qt_internal_add_test(tst_qgraphicseffect
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicseffect.cpp
|
tst_qgraphicseffect.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qpixmapfilter Test:
|
## tst_qpixmapfilter Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qpixmapfilter LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qpixmapfilter
|
qt_internal_add_test(tst_qpixmapfilter
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qpixmapfilter.cpp
|
tst_qpixmapfilter.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicsanchorlayout Test:
|
## tst_qgraphicsanchorlayout Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicsanchorlayout LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicsanchorlayout
|
qt_internal_add_test(tst_qgraphicsanchorlayout
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicsanchorlayout.cpp
|
tst_qgraphicsanchorlayout.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicsanchorlayout1 Test:
|
## tst_qgraphicsanchorlayout1 Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicsanchorlayout1 LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicsanchorlayout1
|
qt_internal_add_test(tst_qgraphicsanchorlayout1
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicsanchorlayout1.cpp
|
tst_qgraphicsanchorlayout1.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicseffectsource Test:
|
## tst_qgraphicseffectsource Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicseffectsource LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicseffectsource
|
qt_internal_add_test(tst_qgraphicseffectsource
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicseffectsource.cpp
|
tst_qgraphicseffectsource.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicsgridlayout Test:
|
## tst_qgraphicsgridlayout Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicsgridlayout LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicsgridlayout
|
qt_internal_add_test(tst_qgraphicsgridlayout
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicsgridlayout.cpp
|
tst_qgraphicsgridlayout.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicsitem Test:
|
## tst_qgraphicsitem Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicsitem LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicsitem
|
qt_internal_add_test(tst_qgraphicsitem
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicsitem.cpp
|
tst_qgraphicsitem.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicsitemanimation Test:
|
## tst_qgraphicsitemanimation Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicsitemanimation LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicsitemanimation
|
qt_internal_add_test(tst_qgraphicsitemanimation
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicsitemanimation.cpp
|
tst_qgraphicsitemanimation.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicslayout Test:
|
## tst_qgraphicslayout Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicslayout LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicslayout
|
qt_internal_add_test(tst_qgraphicslayout
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicslayout.cpp
|
tst_qgraphicslayout.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicslayoutitem Test:
|
## tst_qgraphicslayoutitem Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicslayoutitem LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicslayoutitem
|
qt_internal_add_test(tst_qgraphicslayoutitem
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicslayoutitem.cpp
|
tst_qgraphicslayoutitem.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicslinearlayout Test:
|
## tst_qgraphicslinearlayout Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicslinearlayout LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicslinearlayout
|
qt_internal_add_test(tst_qgraphicslinearlayout
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicslinearlayout.cpp
|
tst_qgraphicslinearlayout.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicsobject Test:
|
## tst_qgraphicsobject Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicsobject LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicsobject
|
qt_internal_add_test(tst_qgraphicsobject
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicsobject.cpp
|
tst_qgraphicsobject.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicspixmapitem Test:
|
## tst_qgraphicspixmapitem Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicspixmapitem LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicspixmapitem
|
qt_internal_add_test(tst_qgraphicspixmapitem
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicspixmapitem.cpp
|
tst_qgraphicspixmapitem.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicspolygonitem Test:
|
## tst_qgraphicspolygonitem Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicspolygonitem LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicspolygonitem
|
qt_internal_add_test(tst_qgraphicspolygonitem
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicspolygonitem.cpp
|
tst_qgraphicspolygonitem.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicsproxywidget Test:
|
## tst_qgraphicsproxywidget Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicsproxywidget LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicsproxywidget
|
qt_internal_add_test(tst_qgraphicsproxywidget
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicsproxywidget.cpp
|
tst_qgraphicsproxywidget.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicsscene Test:
|
## tst_qgraphicsscene Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicsscene LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Resources:
|
# Resources:
|
||||||
|
|
||||||
set(testdata_resource_files
|
set(testdata_resource_files
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicssceneindex LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(NOT QT_FEATURE_private_tests)
|
if(NOT QT_FEATURE_private_tests)
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicstransform Test:
|
## tst_qgraphicstransform Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicstransform LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicstransform
|
qt_internal_add_test(tst_qgraphicstransform
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicstransform.cpp
|
tst_qgraphicstransform.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicsview Test:
|
## tst_qgraphicsview Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicsview LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicsview
|
qt_internal_add_test(tst_qgraphicsview
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicsview.cpp tst_qgraphicsview.h
|
tst_qgraphicsview.cpp tst_qgraphicsview.h
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgraphicswidget Test:
|
## tst_qgraphicswidget Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgraphicswidget LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgraphicswidget
|
qt_internal_add_test(tst_qgraphicswidget
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgraphicswidget.cpp
|
tst_qgraphicswidget.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qabstractitemview Test:
|
## tst_qabstractitemview Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qabstractitemview LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qabstractitemview
|
qt_internal_add_test(tst_qabstractitemview
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qabstractitemview.cpp
|
tst_qabstractitemview.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qcolumnview Test:
|
## tst_qcolumnview Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qcolumnview LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qcolumnview
|
qt_internal_add_test(tst_qcolumnview
|
||||||
SOURCES
|
SOURCES
|
||||||
../../../../shared/fakedirmodel.h
|
../../../../shared/fakedirmodel.h
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdatawidgetmapper Test:
|
## tst_qdatawidgetmapper Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdatawidgetmapper LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdatawidgetmapper
|
qt_internal_add_test(tst_qdatawidgetmapper
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdatawidgetmapper.cpp
|
tst_qdatawidgetmapper.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qfileiconprovider Test:
|
## tst_qfileiconprovider Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qfileiconprovider LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qfileiconprovider
|
qt_internal_add_test(tst_qfileiconprovider
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfileiconprovider.cpp
|
tst_qfileiconprovider.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qheaderview Test:
|
## tst_qheaderview Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qheaderview LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qheaderview
|
qt_internal_add_test(tst_qheaderview
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qheaderview.cpp
|
tst_qheaderview.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qitemdelegate Test:
|
## tst_qitemdelegate Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qitemdelegate LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qitemdelegate
|
qt_internal_add_test(tst_qitemdelegate
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qitemdelegate.cpp
|
tst_qitemdelegate.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qitemeditorfactory Test:
|
## tst_qitemeditorfactory Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qitemeditorfactory LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qitemeditorfactory
|
qt_internal_add_test(tst_qitemeditorfactory
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qitemeditorfactory.cpp
|
tst_qitemeditorfactory.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qitemview Test:
|
## tst_qitemview Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qitemview LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qitemview
|
qt_internal_add_test(tst_qitemview
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qitemview.cpp
|
tst_qitemview.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qlistview Test:
|
## tst_qlistview Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qlistview LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qlistview
|
qt_internal_add_test(tst_qlistview
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qlistview.cpp
|
tst_qlistview.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qlistwidget Test:
|
## tst_qlistwidget Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qlistwidget LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qlistwidget
|
qt_internal_add_test(tst_qlistwidget
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qlistwidget.cpp
|
tst_qlistwidget.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qtableview Test:
|
## tst_qtableview Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qtableview LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qtableview
|
qt_internal_add_test(tst_qtableview
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtableview.cpp
|
tst_qtableview.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qtablewidget Test:
|
## tst_qtablewidget Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qtablewidget LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qtablewidget
|
qt_internal_add_test(tst_qtablewidget
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtablewidget.cpp
|
tst_qtablewidget.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qtreeview Test:
|
## tst_qtreeview Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qtreeview LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qtreeview
|
qt_internal_add_test(tst_qtreeview
|
||||||
SOURCES
|
SOURCES
|
||||||
../../../../shared/fakedirmodel.h
|
../../../../shared/fakedirmodel.h
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qtreewidget Test:
|
## tst_qtreewidget Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qtreewidget LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qtreewidget
|
qt_internal_add_test(tst_qtreewidget
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtreewidget.cpp
|
tst_qtreewidget.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qtreewidgetitemiterator Test:
|
## tst_qtreewidgetitemiterator Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qtreewidgetitemiterator LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qtreewidgetitemiterator
|
qt_internal_add_test(tst_qtreewidgetitemiterator
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtreewidgetitemiterator.cpp
|
tst_qtreewidgetitemiterator.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qaction Test:
|
## tst_qaction Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qaction LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qaction
|
qt_internal_add_test(tst_qaction
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qaction.cpp
|
tst_qaction.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qactiongroup Test:
|
## tst_qactiongroup Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qactiongroup LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qactiongroup
|
qt_internal_add_test(tst_qactiongroup
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qactiongroup.cpp
|
tst_qactiongroup.cpp
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qapplication LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(desktopsettingsaware)
|
add_subdirectory(desktopsettingsaware)
|
||||||
add_subdirectory(modal)
|
add_subdirectory(modal)
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qboxlayout Test:
|
## tst_qboxlayout Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qboxlayout LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qboxlayout
|
qt_internal_add_test(tst_qboxlayout
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qboxlayout.cpp
|
tst_qboxlayout.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qformlayout Test:
|
## tst_qformlayout Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qformlayout LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qformlayout
|
qt_internal_add_test(tst_qformlayout
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qformlayout.cpp
|
tst_qformlayout.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgesturerecognizer Test:
|
## tst_qgesturerecognizer Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgesturerecognizer LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgesturerecognizer
|
qt_internal_add_test(tst_qgesturerecognizer
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgesturerecognizer.cpp
|
tst_qgesturerecognizer.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgridlayout Test:
|
## tst_qgridlayout Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgridlayout LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgridlayout
|
qt_internal_add_test(tst_qgridlayout
|
||||||
SOURCES
|
SOURCES
|
||||||
sortdialog.ui
|
sortdialog.ui
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qlayout Test:
|
## tst_qlayout Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qlayout LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Collect test data
|
# Collect test data
|
||||||
file(GLOB_RECURSE test_data_glob
|
file(GLOB_RECURSE test_data_glob
|
||||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qshortcut Test:
|
## tst_qshortcut Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qshortcut LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qshortcut
|
qt_internal_add_test(tst_qshortcut
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qshortcut.cpp
|
tst_qshortcut.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsizepolicy Test:
|
## tst_qsizepolicy Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsizepolicy LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsizepolicy
|
qt_internal_add_test(tst_qsizepolicy
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsizepolicy.cpp
|
tst_qsizepolicy.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qstackedlayout Test:
|
## tst_qstackedlayout Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qstackedlayout LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qstackedlayout
|
qt_internal_add_test(tst_qstackedlayout
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qstackedlayout.cpp
|
tst_qstackedlayout.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qtooltip Test:
|
## tst_qtooltip Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qtooltip LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qtooltip
|
qt_internal_add_test(tst_qtooltip
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtooltip.cpp
|
tst_qtooltip.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qwidget Test:
|
## tst_qwidget Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qwidget LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Resources:
|
# Resources:
|
||||||
set(qwidget_resource_files
|
set(qwidget_resource_files
|
||||||
"geometry-fullscreen.dat"
|
"geometry-fullscreen.dat"
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qwidget_window Test:
|
## tst_qwidget_window Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qwidget_window LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qwidget_window
|
qt_internal_add_test(tst_qwidget_window
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qwidget_window.cpp
|
tst_qwidget_window.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qwidgetaction Test:
|
## tst_qwidgetaction Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qwidgetaction LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qwidgetaction
|
qt_internal_add_test(tst_qwidgetaction
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qwidgetaction.cpp
|
tst_qwidgetaction.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qwidgetmetatype Test:
|
## tst_qwidgetmetatype Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qwidgetmetatype LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qwidgetmetatype
|
qt_internal_add_test(tst_qwidgetmetatype
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qwidgetmetatype.cpp
|
tst_qwidgetmetatype.cpp
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qwidgetrepaintmanager LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qwidgetrepaintmanager
|
qt_internal_add_test(tst_qwidgetrepaintmanager
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qwidgetrepaintmanager.cpp
|
tst_qwidgetrepaintmanager.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qwidgetsvariant Test:
|
## tst_qwidgetsvariant Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qwidgetsvariant LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qwidgetsvariant
|
qt_internal_add_test(tst_qwidgetsvariant
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qwidgetsvariant.cpp
|
tst_qwidgetsvariant.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qwindowcontainer Test:
|
## tst_qwindowcontainer Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qwindowcontainer LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qwindowcontainer
|
qt_internal_add_test(tst_qwindowcontainer
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qwindowcontainer.cpp
|
tst_qwindowcontainer.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qmacstyle Test:
|
## tst_qmacstyle Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qmacstyle LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qmacstyle
|
qt_internal_add_test(tst_qmacstyle
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmacstyle.cpp
|
tst_qmacstyle.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qstyle Test:
|
## tst_qstyle Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qstyle LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qstyle
|
qt_internal_add_test(tst_qstyle
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qstyle.cpp
|
tst_qstyle.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qstyleoption Test:
|
## tst_qstyleoption Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qstyleoption LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qstyleoption
|
qt_internal_add_test(tst_qstyleoption
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qstyleoption.cpp
|
tst_qstyleoption.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qstylesheetstyle Test:
|
## tst_qstylesheetstyle Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qstylesheetstyle LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Resources:
|
# Resources:
|
||||||
set(resources_resource_files
|
set(resources_resource_files
|
||||||
"images/testimage.png"
|
"images/testimage.png"
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qcompleter Test:
|
## tst_qcompleter Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qcompleter LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qcompleter
|
qt_internal_add_test(tst_qcompleter
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qcompleter.cpp
|
tst_qcompleter.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qscroller Test:
|
## tst_qscroller Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qscroller LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qscroller
|
qt_internal_add_test(tst_qscroller
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qscroller.cpp
|
tst_qscroller.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsystemtrayicon Test:
|
## tst_qsystemtrayicon Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsystemtrayicon LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsystemtrayicon
|
qt_internal_add_test(tst_qsystemtrayicon
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsystemtrayicon.cpp
|
tst_qsystemtrayicon.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qabstractbutton Test:
|
## tst_qabstractbutton Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qabstractbutton LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qabstractbutton
|
qt_internal_add_test(tst_qabstractbutton
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qabstractbutton.cpp
|
tst_qabstractbutton.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qabstractscrollarea Test:
|
## tst_qabstractscrollarea Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qabstractscrollarea LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qabstractscrollarea
|
qt_internal_add_test(tst_qabstractscrollarea
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qabstractscrollarea.cpp
|
tst_qabstractscrollarea.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qabstractslider Test:
|
## tst_qabstractslider Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qabstractslider LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qabstractslider
|
qt_internal_add_test(tst_qabstractslider
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qabstractslider.cpp
|
tst_qabstractslider.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qabstractspinbox Test:
|
## tst_qabstractspinbox Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qabstractspinbox LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qabstractspinbox
|
qt_internal_add_test(tst_qabstractspinbox
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qabstractspinbox.cpp
|
tst_qabstractspinbox.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qbuttongroup Test:
|
## tst_qbuttongroup Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qbuttongroup LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qbuttongroup
|
qt_internal_add_test(tst_qbuttongroup
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qbuttongroup.cpp
|
tst_qbuttongroup.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qcalendarwidget Test:
|
## tst_qcalendarwidget Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qcalendarwidget LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qcalendarwidget
|
qt_internal_add_test(tst_qcalendarwidget
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qcalendarwidget.cpp
|
tst_qcalendarwidget.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qcheckbox Test:
|
## tst_qcheckbox Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qcheckbox LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qcheckbox
|
qt_internal_add_test(tst_qcheckbox
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qcheckbox.cpp
|
tst_qcheckbox.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qcombobox Test:
|
## tst_qcombobox Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qcombobox LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Collect test data
|
# Collect test data
|
||||||
list(APPEND test_data "qtlogo.png")
|
list(APPEND test_data "qtlogo.png")
|
||||||
list(APPEND test_data "qtlogoinverted.png")
|
list(APPEND test_data "qtlogoinverted.png")
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qcommandlinkbutton Test:
|
## tst_qcommandlinkbutton Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qcommandlinkbutton LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qcommandlinkbutton
|
qt_internal_add_test(tst_qcommandlinkbutton
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qcommandlinkbutton.cpp
|
tst_qcommandlinkbutton.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdatetimeedit Test:
|
## tst_qdatetimeedit Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdatetimeedit LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdatetimeedit
|
qt_internal_add_test(tst_qdatetimeedit
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdatetimeedit.cpp
|
tst_qdatetimeedit.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdial Test:
|
## tst_qdial Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdial LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdial
|
qt_internal_add_test(tst_qdial
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdial.cpp
|
tst_qdial.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdialogbuttonbox Test:
|
## tst_qdialogbuttonbox Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdialogbuttonbox LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdialogbuttonbox
|
qt_internal_add_test(tst_qdialogbuttonbox
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdialogbuttonbox.cpp
|
tst_qdialogbuttonbox.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdockwidget Test:
|
## tst_qdockwidget Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdockwidget LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdockwidget
|
qt_internal_add_test(tst_qdockwidget
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdockwidget.cpp
|
tst_qdockwidget.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdoublespinbox Test:
|
## tst_qdoublespinbox Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdoublespinbox LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdoublespinbox
|
qt_internal_add_test(tst_qdoublespinbox
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdoublespinbox.cpp
|
tst_qdoublespinbox.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qfocusframe Test:
|
## tst_qfocusframe Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qfocusframe LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qfocusframe
|
qt_internal_add_test(tst_qfocusframe
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfocusframe.cpp
|
tst_qfocusframe.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qfontcombobox Test:
|
## tst_qfontcombobox Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qfontcombobox LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qfontcombobox
|
qt_internal_add_test(tst_qfontcombobox
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfontcombobox.cpp
|
tst_qfontcombobox.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qframe Test:
|
## tst_qframe Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qframe LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Collect test data
|
# Collect test data
|
||||||
file(GLOB_RECURSE test_data_glob
|
file(GLOB_RECURSE test_data_glob
|
||||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qgroupbox Test:
|
## tst_qgroupbox Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qgroupbox LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qgroupbox
|
qt_internal_add_test(tst_qgroupbox
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qgroupbox.cpp
|
tst_qgroupbox.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qkeysequenceedit Test:
|
## tst_qkeysequenceedit Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qkeysequenceedit LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qkeysequenceedit
|
qt_internal_add_test(tst_qkeysequenceedit
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qkeysequenceedit.cpp
|
tst_qkeysequenceedit.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qlabel Test:
|
## tst_qlabel Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qlabel LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Collect test data
|
# Collect test data
|
||||||
file(GLOB_RECURSE test_data_glob
|
file(GLOB_RECURSE test_data_glob
|
||||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qlcdnumber Test:
|
## tst_qlcdnumber Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qlcdnumber LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qlcdnumber
|
qt_internal_add_test(tst_qlcdnumber
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qlcdnumber.cpp
|
tst_qlcdnumber.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qlineedit Test:
|
## tst_qlineedit Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qlineedit LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qlineedit
|
qt_internal_add_test(tst_qlineedit
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qlineedit.cpp
|
tst_qlineedit.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qmainwindow Test:
|
## tst_qmainwindow Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qmainwindow LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qmainwindow
|
qt_internal_add_test(tst_qmainwindow
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmainwindow.cpp
|
tst_qmainwindow.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qmdiarea Test:
|
## tst_qmdiarea Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qmdiarea LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qmdiarea
|
qt_internal_add_test(tst_qmdiarea
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmdiarea.cpp
|
tst_qmdiarea.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qmdisubwindow Test:
|
## tst_qmdisubwindow Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qmdisubwindow LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qmdisubwindow
|
qt_internal_add_test(tst_qmdisubwindow
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmdisubwindow.cpp
|
tst_qmdisubwindow.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qmenu Test:
|
## tst_qmenu Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qmenu LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qmenu
|
qt_internal_add_test(tst_qmenu
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmenu.cpp
|
tst_qmenu.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qmenubar Test:
|
## tst_qmenubar Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qmenubar LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qmenubar
|
qt_internal_add_test(tst_qmenubar
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qmenubar.cpp
|
tst_qmenubar.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qopenglwidget Test:
|
## tst_qopenglwidget Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qopenglwidget LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qopenglwidget
|
qt_internal_add_test(tst_qopenglwidget
|
||||||
LOWDPI
|
LOWDPI
|
||||||
SOURCES
|
SOURCES
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user