e7118bd7fd
Fixes: QTBUG-78228 Change-Id: I3d4666a553e94de47e01d64551b8fe672994b137 Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
33 lines
721 B
CMake
33 lines
721 B
CMake
# Generated from qfontmetrics.pro.
|
|
|
|
#####################################################################
|
|
## tst_qfontmetrics Test:
|
|
#####################################################################
|
|
|
|
add_qt_test(tst_qfontmetrics
|
|
SOURCES
|
|
tst_qfontmetrics.cpp
|
|
LIBRARIES
|
|
Qt::CorePrivate
|
|
Qt::GuiPrivate
|
|
PUBLIC_LIBRARIES
|
|
Qt::Gui
|
|
)
|
|
|
|
# Resources:
|
|
set_source_files_properties("../../../shared/resources/testfont.ttf"
|
|
PROPERTIES QT_RESOURCE_ALIAS "testfont.ttf"
|
|
)
|
|
set(testfont_resource_files
|
|
"../../../shared/resources/testfont.ttf"
|
|
"ucs4font.ttf"
|
|
)
|
|
|
|
add_qt_resource(tst_qfontmetrics "testfont"
|
|
PREFIX
|
|
"/fonts"
|
|
FILES
|
|
${testfont_resource_files}
|
|
)
|
|
|