7a4b586f4b
It is no longer handled separately from Android.
This effectively reverts commit 6d50f746fe
Change-Id: Ic2d75b8c5a09895810913311ab2fe3355d4d2983
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
40 lines
883 B
CMake
40 lines
883 B
CMake
# Generated from qlayout.pro.
|
|
|
|
#####################################################################
|
|
## 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})
|
|
|
|
qt_internal_add_test(tst_qlayout
|
|
SOURCES
|
|
tst_qlayout.cpp
|
|
PUBLIC_LIBRARIES
|
|
Qt::Gui
|
|
Qt::TestPrivate
|
|
Qt::Widgets
|
|
Qt::WidgetsPrivate
|
|
TESTDATA ${test_data}
|
|
)
|
|
|
|
## Scopes:
|
|
#####################################################################
|
|
|
|
if(ANDROID)
|
|
# Resources:
|
|
set(testdata_resource_files
|
|
"baseline/smartmaxsize"
|
|
)
|
|
|
|
qt_internal_add_resource(tst_qlayout "testdata"
|
|
PREFIX
|
|
"/"
|
|
FILES
|
|
${testdata_resource_files}
|
|
)
|
|
endif()
|