Tests: Turn manual widget tests into tests

...they do not need to be "executables" anymore

Change-Id: Ided0fa85ae891df66add47e59a9d7245f880213c
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Alessandro Portale
2021-06-11 16:24:11 +02:00
parent 7275402ce9
commit 9915418f90
4 changed files with 4 additions and 8 deletions

View File

@@ -1,8 +1,7 @@
add_qtc_executable(tst_manual_widgets_crumblepath
add_qtc_test(tst_manual_widgets_crumblepath
DEPENDS Qt5::Gui Utils Core
SOURCES
tst_manual_widgets_crumblepath.cpp
../common/themeselector.cpp ../common/themeselector.h
../common/themes.qrc
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)

View File

@@ -1,8 +1,7 @@
add_qtc_executable(tst_manual_widgets_infolabel
add_qtc_test(tst_manual_widgets_infolabel
DEPENDS Qt5::Gui Utils Core
SOURCES
tst_manual_widgets_infolabel.cpp
../common/themeselector.cpp ../common/themeselector.h
../common/themes.qrc
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)

View File

@@ -1,8 +1,7 @@
add_qtc_executable(tst_manual_widgets_manhattanstyle
add_qtc_test(tst_manual_widgets_manhattanstyle
DEPENDS Qt5::Gui Utils Core
SOURCES
tst_manual_widgets_manhattanstyle.cpp
../common/themeselector.cpp ../common/themeselector.h
../common/themes.qrc
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)

View File

@@ -1,9 +1,8 @@
add_qtc_executable(tst_manual_widgets_tracing
add_qtc_test(tst_manual_widgets_tracing
CONDITION TARGET Tracing
DEPENDS Tracing Utils Core Qt5::Gui Qt5::Quick
SOURCES
tst_manual_widgets_tracing.cpp
../common/themeselector.cpp ../common/themeselector.h
../common/themes.qrc
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)