0ce443691f
The emulation detection has been usable only on qtbase tests, move it to QTest so that it can be used in other modules as well. Pick-to: 6.1 Change-Id: I4b2321b7856414d7b1cfd5e6b1405a633c6bb878 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
37 lines
737 B
CMake
37 lines
737 B
CMake
# Generated from qfont.pro.
|
|
|
|
#####################################################################
|
|
## tst_qfont Test:
|
|
#####################################################################
|
|
|
|
qt_internal_add_test(tst_qfont
|
|
SOURCES
|
|
tst_qfont.cpp
|
|
PUBLIC_LIBRARIES
|
|
Qt::CorePrivate
|
|
Qt::Gui
|
|
Qt::GuiPrivate
|
|
Qt::TestPrivate
|
|
)
|
|
|
|
# Resources:
|
|
set(testfont_resource_files
|
|
"weirdfont.otf"
|
|
)
|
|
|
|
qt_internal_add_resource(tst_qfont "testfont"
|
|
PREFIX
|
|
"/"
|
|
FILES
|
|
${testfont_resource_files}
|
|
)
|
|
|
|
|
|
## Scopes:
|
|
#####################################################################
|
|
|
|
qt_internal_extend_target(tst_qfont CONDITION TARGET Qt::Widgets
|
|
PUBLIC_LIBRARIES
|
|
Qt::Widgets
|
|
)
|