diff options
author | Janne Juntunen <janne.juntunen@qt.io> | 2022-01-07 15:32:51 +0200 |
---|---|---|
committer | Janne Juntunen <janne.juntunen@qt.io> | 2022-01-07 20:34:50 +0200 |
commit | 60c22f05e9d37744d65dc51a752a1cf2aa0a383b (patch) | |
tree | 5169b6704755cfa3e5dd36510b202eddb6f90d6b /tests/auto | |
parent | b4e15c9b30bb05918fb43b76763254b49e6d3c30 (diff) |
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>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/gui/image/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/gui/image/CMakeLists.txt b/tests/auto/gui/image/CMakeLists.txt index 14930536c9..27916d0409 100644 --- a/tests/auto/gui/image/CMakeLists.txt +++ b/tests/auto/gui/image/CMakeLists.txt @@ -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) |