summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/graphicsview
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-09-22 10:16:58 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-09-23 16:59:06 +0200
commit403213240c7b2dc09378e1cb8c147131e368f90c (patch)
treeff86910332629fe5e2fab59a30fb863a5febb366 /tests/auto/widgets/graphicsview
parente0c62a48b8a826a46a143e57e94b2a0ea73c7cae (diff)
CMake: Regenerate projects to use new qt_internal_ API
Modify special case locations to use the new API as well. Clean up some stale .prev files that are not needed anymore. Clean up some project files that are not used anymore. Task-number: QTBUG-86815 Change-Id: I9947da921f98686023c6bb053dfcc101851276b5 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests/auto/widgets/graphicsview')
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsanchorlayout/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsanchorlayout1/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicseffectsource/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsgridlayout/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsitem/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsitemanimation/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicslayout/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicslayoutitem/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicslinearlayout/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsobject/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicspixmapitem/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicspolygonitem/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsproxywidget/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsscene/.prev_CMakeLists.txt8
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsscene/CMakeLists.txt8
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicssceneindex/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicstransform/CMakeLists.txt2
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsview/CMakeLists.txt4
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicswidget/CMakeLists.txt2
19 files changed, 27 insertions, 27 deletions
diff --git a/tests/auto/widgets/graphicsview/qgraphicsanchorlayout/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicsanchorlayout/CMakeLists.txt
index 8bf6a5b5ad..1d1e576299 100644
--- a/tests/auto/widgets/graphicsview/qgraphicsanchorlayout/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicsanchorlayout/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicsanchorlayout Test:
#####################################################################
-qt_add_test(tst_qgraphicsanchorlayout
+qt_internal_add_test(tst_qgraphicsanchorlayout
SOURCES
tst_qgraphicsanchorlayout.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/widgets/graphicsview/qgraphicsanchorlayout1/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicsanchorlayout1/CMakeLists.txt
index a945cbf86f..11d2767c9e 100644
--- a/tests/auto/widgets/graphicsview/qgraphicsanchorlayout1/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicsanchorlayout1/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicsanchorlayout1 Test:
#####################################################################
-qt_add_test(tst_qgraphicsanchorlayout1
+qt_internal_add_test(tst_qgraphicsanchorlayout1
SOURCES
tst_qgraphicsanchorlayout1.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/widgets/graphicsview/qgraphicseffectsource/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicseffectsource/CMakeLists.txt
index a508934554..5a4fda8234 100644
--- a/tests/auto/widgets/graphicsview/qgraphicseffectsource/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicseffectsource/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicseffectsource Test:
#####################################################################
-qt_add_test(tst_qgraphicseffectsource
+qt_internal_add_test(tst_qgraphicseffectsource
SOURCES
tst_qgraphicseffectsource.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/widgets/graphicsview/qgraphicsgridlayout/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicsgridlayout/CMakeLists.txt
index 778f30d7bf..0554d62807 100644
--- a/tests/auto/widgets/graphicsview/qgraphicsgridlayout/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicsgridlayout/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicsgridlayout Test:
#####################################################################
-qt_add_test(tst_qgraphicsgridlayout
+qt_internal_add_test(tst_qgraphicsgridlayout
SOURCES
tst_qgraphicsgridlayout.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/widgets/graphicsview/qgraphicsitem/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicsitem/CMakeLists.txt
index 013315c9b2..02a667eb9c 100644
--- a/tests/auto/widgets/graphicsview/qgraphicsitem/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicsitem/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicsitem Test:
#####################################################################
-qt_add_test(tst_qgraphicsitem
+qt_internal_add_test(tst_qgraphicsitem
SOURCES
tst_qgraphicsitem.cpp
DEFINES
@@ -21,7 +21,7 @@ qt_add_test(tst_qgraphicsitem
## Scopes:
#####################################################################
-qt_extend_target(tst_qgraphicsitem CONDITION WIN32
+qt_internal_extend_target(tst_qgraphicsitem CONDITION WIN32
PUBLIC_LIBRARIES
user32
)
diff --git a/tests/auto/widgets/graphicsview/qgraphicsitemanimation/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicsitemanimation/CMakeLists.txt
index 63adc2ea78..48bb84d1bb 100644
--- a/tests/auto/widgets/graphicsview/qgraphicsitemanimation/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicsitemanimation/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicsitemanimation Test:
#####################################################################
-qt_add_test(tst_qgraphicsitemanimation
+qt_internal_add_test(tst_qgraphicsitemanimation
SOURCES
tst_qgraphicsitemanimation.cpp
DEFINES
diff --git a/tests/auto/widgets/graphicsview/qgraphicslayout/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicslayout/CMakeLists.txt
index f11bcfe0a1..768898549e 100644
--- a/tests/auto/widgets/graphicsview/qgraphicslayout/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicslayout/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicslayout Test:
#####################################################################
-qt_add_test(tst_qgraphicslayout
+qt_internal_add_test(tst_qgraphicslayout
SOURCES
tst_qgraphicslayout.cpp
DEFINES
diff --git a/tests/auto/widgets/graphicsview/qgraphicslayoutitem/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicslayoutitem/CMakeLists.txt
index 36d7177f22..d927ec59aa 100644
--- a/tests/auto/widgets/graphicsview/qgraphicslayoutitem/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicslayoutitem/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicslayoutitem Test:
#####################################################################
-qt_add_test(tst_qgraphicslayoutitem
+qt_internal_add_test(tst_qgraphicslayoutitem
SOURCES
tst_qgraphicslayoutitem.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/widgets/graphicsview/qgraphicslinearlayout/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicslinearlayout/CMakeLists.txt
index 96dbadc4b9..6c2e734348 100644
--- a/tests/auto/widgets/graphicsview/qgraphicslinearlayout/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicslinearlayout/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicslinearlayout Test:
#####################################################################
-qt_add_test(tst_qgraphicslinearlayout
+qt_internal_add_test(tst_qgraphicslinearlayout
SOURCES
tst_qgraphicslinearlayout.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/widgets/graphicsview/qgraphicsobject/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicsobject/CMakeLists.txt
index f999e13162..9b7bf4c63c 100644
--- a/tests/auto/widgets/graphicsview/qgraphicsobject/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicsobject/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicsobject Test:
#####################################################################
-qt_add_test(tst_qgraphicsobject
+qt_internal_add_test(tst_qgraphicsobject
SOURCES
tst_qgraphicsobject.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/widgets/graphicsview/qgraphicspixmapitem/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicspixmapitem/CMakeLists.txt
index 8cb278720b..a848a8dd77 100644
--- a/tests/auto/widgets/graphicsview/qgraphicspixmapitem/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicspixmapitem/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicspixmapitem Test:
#####################################################################
-qt_add_test(tst_qgraphicspixmapitem
+qt_internal_add_test(tst_qgraphicspixmapitem
SOURCES
tst_qgraphicspixmapitem.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/widgets/graphicsview/qgraphicspolygonitem/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicspolygonitem/CMakeLists.txt
index 5742353892..8a3c88a8a2 100644
--- a/tests/auto/widgets/graphicsview/qgraphicspolygonitem/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicspolygonitem/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicspolygonitem Test:
#####################################################################
-qt_add_test(tst_qgraphicspolygonitem
+qt_internal_add_test(tst_qgraphicspolygonitem
SOURCES
tst_qgraphicspolygonitem.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/widgets/graphicsview/qgraphicsproxywidget/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicsproxywidget/CMakeLists.txt
index 67509dae98..a1bf1270c2 100644
--- a/tests/auto/widgets/graphicsview/qgraphicsproxywidget/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicsproxywidget/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicsproxywidget Test:
#####################################################################
-qt_add_test(tst_qgraphicsproxywidget
+qt_internal_add_test(tst_qgraphicsproxywidget
SOURCES
tst_qgraphicsproxywidget.cpp
DEFINES
diff --git a/tests/auto/widgets/graphicsview/qgraphicsscene/.prev_CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicsscene/.prev_CMakeLists.txt
index 3208cf2b36..4e44e45824 100644
--- a/tests/auto/widgets/graphicsview/qgraphicsscene/.prev_CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicsscene/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicsscene Test:
#####################################################################
-qt_add_test(tst_qgraphicsscene
+qt_internal_add_test(tst_qgraphicsscene
SOURCES
tst_qgraphicsscene.cpp
DEFINES
@@ -23,7 +23,7 @@ set(images_resource_files
"Ash_European.jpg"
)
-qt_add_resource(tst_qgraphicsscene "images"
+qt_internal_add_resource(tst_qgraphicsscene "images"
PREFIX
"/"
FILES
@@ -60,7 +60,7 @@ set(testdata_resource_files
"testData/render/topright-topleft-untransformed.png"
)
-qt_add_resource(tst_qgraphicsscene "testdata"
+qt_internal_add_resource(tst_qgraphicsscene "testdata"
PREFIX
"/"
FILES
@@ -71,7 +71,7 @@ qt_add_resource(tst_qgraphicsscene "testdata"
## Scopes:
#####################################################################
-qt_extend_target(tst_qgraphicsscene CONDITION WIN32
+qt_internal_extend_target(tst_qgraphicsscene CONDITION WIN32
PUBLIC_LIBRARIES
user32
)
diff --git a/tests/auto/widgets/graphicsview/qgraphicsscene/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicsscene/CMakeLists.txt
index b17d328446..cf71701669 100644
--- a/tests/auto/widgets/graphicsview/qgraphicsscene/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicsscene/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicsscene Test:
#####################################################################
-qt_add_test(tst_qgraphicsscene
+qt_internal_add_test(tst_qgraphicsscene
LOWDPI # special case
SOURCES
tst_qgraphicsscene.cpp
@@ -24,7 +24,7 @@ set(images_resource_files
"Ash_European.jpg"
)
-qt_add_resource(tst_qgraphicsscene "images"
+qt_internal_add_resource(tst_qgraphicsscene "images"
PREFIX
"/"
FILES
@@ -61,7 +61,7 @@ set(testdata_resource_files
"testData/render/topright-topleft-untransformed.png"
)
-qt_add_resource(tst_qgraphicsscene "testdata"
+qt_internal_add_resource(tst_qgraphicsscene "testdata"
PREFIX
"/"
FILES
@@ -72,7 +72,7 @@ qt_add_resource(tst_qgraphicsscene "testdata"
## Scopes:
#####################################################################
-qt_extend_target(tst_qgraphicsscene CONDITION WIN32
+qt_internal_extend_target(tst_qgraphicsscene CONDITION WIN32
PUBLIC_LIBRARIES
user32
)
diff --git a/tests/auto/widgets/graphicsview/qgraphicssceneindex/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicssceneindex/CMakeLists.txt
index 607bcd0ea4..f95e618a16 100644
--- a/tests/auto/widgets/graphicsview/qgraphicssceneindex/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicssceneindex/CMakeLists.txt
@@ -8,7 +8,7 @@ endif()
## tst_qgraphicssceneindex Test:
#####################################################################
-qt_add_test(tst_qgraphicssceneindex
+qt_internal_add_test(tst_qgraphicssceneindex
SOURCES
tst_qgraphicssceneindex.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/widgets/graphicsview/qgraphicstransform/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicstransform/CMakeLists.txt
index a3a19931e6..12ba7dd834 100644
--- a/tests/auto/widgets/graphicsview/qgraphicstransform/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicstransform/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicstransform Test:
#####################################################################
-qt_add_test(tst_qgraphicstransform
+qt_internal_add_test(tst_qgraphicstransform
SOURCES
tst_qgraphicstransform.cpp
PUBLIC_LIBRARIES
diff --git a/tests/auto/widgets/graphicsview/qgraphicsview/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicsview/CMakeLists.txt
index c8ead072a2..be9c4a3bc4 100644
--- a/tests/auto/widgets/graphicsview/qgraphicsview/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicsview/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicsview Test:
#####################################################################
-qt_add_test(tst_qgraphicsview
+qt_internal_add_test(tst_qgraphicsview
SOURCES
tst_qgraphicsview.cpp tst_qgraphicsview.h
tst_qgraphicsview_2.cpp
@@ -25,7 +25,7 @@ qt_add_test(tst_qgraphicsview
## Scopes:
#####################################################################
-qt_extend_target(tst_qgraphicsview CONDITION QT_FEATURE_opengl
+qt_internal_extend_target(tst_qgraphicsview CONDITION QT_FEATURE_opengl
PUBLIC_LIBRARIES
Qt::OpenGL
Qt::OpenGLWidgets
diff --git a/tests/auto/widgets/graphicsview/qgraphicswidget/CMakeLists.txt b/tests/auto/widgets/graphicsview/qgraphicswidget/CMakeLists.txt
index d519985662..8cf7f92cc3 100644
--- a/tests/auto/widgets/graphicsview/qgraphicswidget/CMakeLists.txt
+++ b/tests/auto/widgets/graphicsview/qgraphicswidget/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qgraphicswidget Test:
#####################################################################
-qt_add_test(tst_qgraphicswidget
+qt_internal_add_test(tst_qgraphicswidget
SOURCES
tst_qgraphicswidget.cpp
PUBLIC_LIBRARIES