diff options
author | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2019-11-01 10:28:02 +0100 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2019-11-01 13:28:59 +0000 |
commit | e7118bd7fd42479014c9610c90fc1cd0014fd0c8 (patch) | |
tree | 072242b3e7230ff3201230dade36eb9617d89894 /tests/auto/gui/text/qfontmetrics/CMakeLists.txt | |
parent | 8931f4fe5f0f7420d66e92375583293f0b364543 (diff) |
cmake: add tests/auto/gui/text
Fixes: QTBUG-78228
Change-Id: I3d4666a553e94de47e01d64551b8fe672994b137
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/gui/text/qfontmetrics/CMakeLists.txt')
-rw-r--r-- | tests/auto/gui/text/qfontmetrics/CMakeLists.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/auto/gui/text/qfontmetrics/CMakeLists.txt b/tests/auto/gui/text/qfontmetrics/CMakeLists.txt new file mode 100644 index 0000000000..10ba5dd791 --- /dev/null +++ b/tests/auto/gui/text/qfontmetrics/CMakeLists.txt @@ -0,0 +1,32 @@ +# 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} +) + |