summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2019-09-10 08:55:40 +0200
committerLiang Qi <liang.qi@qt.io>2019-09-10 14:23:23 +0000
commit7df0868ad59dd071f2ce2dd355488128fa56f645 (patch)
tree58f2193cf6dc41f2fc6d8a62a5d80e8fa948fb63
parentd289a47c7d496113b10377594a6a995bef3c6fe3 (diff)
cmake: enable tst_qpixmapcache
To verify -DFEATURE_developer_build=ON and QT_FEATURE_private_tests work as we expected. Change-Id: Id428dc0da4ee441b3a1a7f433c5bc2ef066dae9e Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--tests/auto/gui/image/CMakeLists.txt2
-rw-r--r--tests/auto/gui/image/qpixmapcache/CMakeLists.txt15
2 files changed, 16 insertions, 1 deletions
diff --git a/tests/auto/gui/image/CMakeLists.txt b/tests/auto/gui/image/CMakeLists.txt
index ea56c0474a..8636d74c15 100644
--- a/tests/auto/gui/image/CMakeLists.txt
+++ b/tests/auto/gui/image/CMakeLists.txt
@@ -4,7 +4,7 @@ endif()
# add_subdirectory("qicoimageformat")
# add_subdirectory("qpixmap")
if (QT_FEATURE_private_tests)
-# add_subdirectory("qpixmapcache")
+ add_subdirectory("qpixmapcache")
endif()
# add_subdirectory("qimage")
add_subdirectory("qimageiohandler")
diff --git a/tests/auto/gui/image/qpixmapcache/CMakeLists.txt b/tests/auto/gui/image/qpixmapcache/CMakeLists.txt
new file mode 100644
index 0000000000..bfdfdae2f3
--- /dev/null
+++ b/tests/auto/gui/image/qpixmapcache/CMakeLists.txt
@@ -0,0 +1,15 @@
+# Generated from qpixmapcache.pro.
+
+#####################################################################
+## tst_qpixmapcache Test:
+#####################################################################
+
+add_qt_test(tst_qpixmapcache
+ GUI
+ SOURCES
+ tst_qpixmapcache.cpp
+ LIBRARIES
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)