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>
23 lines
513 B
CMake
23 lines
513 B
CMake
# Generated from qkeysequence.pro.
|
|
|
|
#####################################################################
|
|
## tst_qkeysequence Test:
|
|
#####################################################################
|
|
|
|
# Resources:
|
|
set(qkeysequence_resource_files
|
|
"keys_de.qm"
|
|
"qt_de.qm"
|
|
)
|
|
|
|
qt_internal_add_test(tst_qkeysequence
|
|
SOURCES
|
|
tst_qkeysequence.cpp
|
|
PUBLIC_LIBRARIES
|
|
Qt::CorePrivate
|
|
Qt::Gui
|
|
Qt::GuiPrivate
|
|
TESTDATA ${qkeysequence_resource_files}
|
|
BUILTIN_TESTDATA
|
|
)
|