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>
bb10
Liang Qi 2019-09-10 08:55:40 +02:00
parent d289a47c7d
commit 7df0868ad5
2 changed files with 16 additions and 1 deletions

View File

@ -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")

View File

@ -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
)