0d177053b9
Change-Id: Ia24cf56b79ca6dacd370a7e397024e9b663e0167 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
36 lines
683 B
CMake
36 lines
683 B
CMake
# Generated from qfont.pro.
|
|
|
|
#####################################################################
|
|
## tst_qfont Test:
|
|
#####################################################################
|
|
|
|
add_qt_test(tst_qfont
|
|
SOURCES
|
|
tst_qfont.cpp
|
|
PUBLIC_LIBRARIES
|
|
Qt::CorePrivate
|
|
Qt::Gui
|
|
Qt::GuiPrivate
|
|
)
|
|
|
|
# Resources:
|
|
set(testfont_resource_files
|
|
"weirdfont.otf"
|
|
)
|
|
|
|
add_qt_resource(tst_qfont "testfont"
|
|
PREFIX
|
|
"/"
|
|
FILES
|
|
${testfont_resource_files}
|
|
)
|
|
|
|
|
|
## Scopes:
|
|
#####################################################################
|
|
|
|
extend_target(tst_qfont CONDITION TARGET Qt::Widgets
|
|
PUBLIC_LIBRARIES
|
|
Qt::Widgets
|
|
)
|