fdf5d11ff6
Multiple tests use qt_internal_add_resource that copies the functionality that is already implemented inside the qt_internal_add_test function. Simplify these test by replacing the qt_internal_add_resource call with the new BUILTIN_TESTDATA option. Change-Id: I18475b817d6f87264f0de53817d6c26c5ccab4e2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
28 lines
702 B
CMake
28 lines
702 B
CMake
# Generated from qstylesheetstyle.pro.
|
|
|
|
#####################################################################
|
|
## tst_qstylesheetstyle Test:
|
|
#####################################################################
|
|
|
|
# Resources:
|
|
set(resources_resource_files
|
|
"images/testimage.png"
|
|
"images/testimage@2x.png"
|
|
)
|
|
|
|
qt_internal_add_test(tst_qstylesheetstyle
|
|
SOURCES
|
|
tst_qstylesheetstyle.cpp
|
|
PUBLIC_LIBRARIES
|
|
Qt::Gui
|
|
Qt::GuiPrivate
|
|
Qt::TestPrivate
|
|
Qt::Widgets
|
|
Qt::WidgetsPrivate
|
|
TESTDATA ${resources_resource_files}
|
|
BUILTIN_TESTDATA
|
|
)
|
|
|
|
#### Keys ignored in scope 1:.:.:qstylesheetstyle.pro:<TRUE>:
|
|
# _REQUIREMENTS = "qtConfig(private_tests)"
|