2019-10-21 07:47:12 +00:00
|
|
|
# Generated from qlayout.pro.
|
2018-10-24 13:20:27 +00:00
|
|
|
|
2019-10-21 07:47:12 +00:00
|
|
|
#####################################################################
|
|
|
|
## tst_qlayout Test:
|
|
|
|
#####################################################################
|
|
|
|
|
|
|
|
# Collect test data
|
|
|
|
file(GLOB_RECURSE test_data_glob
|
|
|
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
baseline/*)
|
|
|
|
list(APPEND test_data ${test_data_glob})
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_test(tst_qlayout
|
2019-10-21 07:47:12 +00:00
|
|
|
SOURCES
|
|
|
|
tst_qlayout.cpp
|
|
|
|
PUBLIC_LIBRARIES
|
|
|
|
Qt::Gui
|
2020-02-12 09:24:49 +00:00
|
|
|
Qt::TestPrivate
|
2019-10-21 07:47:12 +00:00
|
|
|
Qt::Widgets
|
2020-02-12 09:24:49 +00:00
|
|
|
Qt::WidgetsPrivate
|
2019-10-21 07:47:12 +00:00
|
|
|
TESTDATA ${test_data}
|
|
|
|
)
|
|
|
|
|
|
|
|
## Scopes:
|
|
|
|
#####################################################################
|
|
|
|
|
|
|
|
if(ANDROID AND NOT ANDROID_EMBEDDED)
|
|
|
|
# Resources:
|
|
|
|
set(testdata_resource_files
|
|
|
|
"baseline/smartmaxsize"
|
|
|
|
)
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_resource(tst_qlayout "testdata"
|
2019-10-21 07:47:12 +00:00
|
|
|
PREFIX
|
|
|
|
"/"
|
|
|
|
FILES
|
|
|
|
${testdata_resource_files}
|
|
|
|
)
|
|
|
|
endif()
|