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/qfont | |
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/qfont')
-rw-r--r-- | tests/auto/gui/text/qfont/CMakeLists.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/auto/gui/text/qfont/CMakeLists.txt b/tests/auto/gui/text/qfont/CMakeLists.txt new file mode 100644 index 0000000000..1f063ab8b2 --- /dev/null +++ b/tests/auto/gui/text/qfont/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from qfont.pro. + +##################################################################### +## tst_qfont Test: +##################################################################### + +add_qt_test(tst_qfont + SOURCES + tst_qfont.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) + +# 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 +) |