qt5base-lts/tests/auto/gui/image/CMakeLists.txt
Janne Juntunen 60c22f05e9 tst_QIcoImageFormat: move the test behind a feature flag
Do not build and run tst_QIcoImageFormat when QT_FEATURE_ico is
disabled. This test was failing on webOS since there is no
imageformatplugin for .ico when the feature is disabled.

Fixes: QTBUG-99633
Pick-to: 6.3
Change-Id: I410b351f773639c0c29e09d4d0b5bc6da13df1d9
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
2022-01-07 20:34:50 +02:00

24 lines
557 B
CMake

# Generated from image.pro.
# QTBUG-87669 # special case
if(TARGET Qt::Network AND NOT ANDROID)
add_subdirectory(qimagereader)
endif()
if(QT_FEATURE_ico)
add_subdirectory(qicoimageformat)
endif()
add_subdirectory(qpixmap)
add_subdirectory(qimage)
add_subdirectory(qimageiohandler)
add_subdirectory(qimagewriter)
add_subdirectory(qmovie)
add_subdirectory(qpicture)
add_subdirectory(qiconhighdpi)
if(QT_FEATURE_private_tests)
add_subdirectory(qpixmapcache)
endif()
# QTBUG-87669 # special case
if(NOT ANDROID)
add_subdirectory(qicon)
endif()