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>
This commit is contained in:
parent
b4e15c9b30
commit
60c22f05e9
@ -4,7 +4,9 @@
|
||||
if(TARGET Qt::Network AND NOT ANDROID)
|
||||
add_subdirectory(qimagereader)
|
||||
endif()
|
||||
add_subdirectory(qicoimageformat)
|
||||
if(QT_FEATURE_ico)
|
||||
add_subdirectory(qicoimageformat)
|
||||
endif()
|
||||
add_subdirectory(qpixmap)
|
||||
add_subdirectory(qimage)
|
||||
add_subdirectory(qimageiohandler)
|
||||
|
Loading…
Reference in New Issue
Block a user