summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.prev_CMakeLists.txt19
-rw-r--r--CMakeLists.txt18
-rw-r--r--cmake/FindWrapJasper.cmake11
-rw-r--r--cmake/FindWrapWebP.cmake41
-rw-r--r--coin/module_config.yaml13
-rw-r--r--src/CMakeLists.txt4
-rw-r--r--src/imageformats/CMakeLists.txt2
-rw-r--r--src/imageformats/configure.cmake60
-rw-r--r--src/plugins/CMakeLists.txt3
-rw-r--r--src/plugins/imageformats/.prev_CMakeLists.txt27
-rw-r--r--src/plugins/imageformats/CMakeLists.txt38
-rw-r--r--src/plugins/imageformats/icns/.prev_CMakeLists.txt23
-rw-r--r--src/plugins/imageformats/icns/CMakeLists.txt23
-rw-r--r--src/plugins/imageformats/jp2/.prev_CMakeLists.txt23
-rw-r--r--src/plugins/imageformats/jp2/CMakeLists.txt23
-rw-r--r--src/plugins/imageformats/macheif/.prev_CMakeLists.txt29
-rw-r--r--src/plugins/imageformats/macheif/CMakeLists.txt35
-rw-r--r--src/plugins/imageformats/macjp2/CMakeLists.txt29
-rw-r--r--src/plugins/imageformats/mng/CMakeLists.txt23
-rw-r--r--src/plugins/imageformats/tga/.prev_CMakeLists.txt21
-rw-r--r--src/plugins/imageformats/tga/CMakeLists.txt21
-rw-r--r--src/plugins/imageformats/tiff/.prev_CMakeLists.txt23
-rw-r--r--src/plugins/imageformats/tiff/CMakeLists.txt36
-rw-r--r--src/plugins/imageformats/wbmp/.prev_CMakeLists.txt20
-rw-r--r--src/plugins/imageformats/wbmp/CMakeLists.txt20
-rw-r--r--src/plugins/imageformats/webp/.prev_CMakeLists.txt22
-rw-r--r--src/plugins/imageformats/webp/CMakeLists.txt23
-rw-r--r--tests/.prev_CMakeLists.txt10
-rw-r--r--tests/CMakeLists.txt10
-rw-r--r--tests/auto/CMakeLists.txt11
-rw-r--r--tests/auto/dds/CMakeLists.txt226
-rw-r--r--tests/auto/heif/CMakeLists.txt34
-rw-r--r--tests/auto/icns/CMakeLists.txt74
-rw-r--r--tests/auto/jp2/CMakeLists.txt34
-rw-r--r--tests/auto/mng/CMakeLists.txt46
-rw-r--r--tests/auto/tga/CMakeLists.txt30
-rw-r--r--tests/auto/tiff/CMakeLists.txt234
-rw-r--r--tests/auto/wbmp/CMakeLists.txt34
-rw-r--r--tests/auto/webp/CMakeLists.txt29
-rw-r--r--tests/benchmarks/CMakeLists.txt6
-rw-r--r--tests/benchmarks/mng/CMakeLists.txt47
-rw-r--r--tests/benchmarks/tiff/CMakeLists.txt235
42 files changed, 1690 insertions, 0 deletions
diff --git a/.prev_CMakeLists.txt b/.prev_CMakeLists.txt
new file mode 100644
index 0000000..cb76c1f
--- /dev/null
+++ b/.prev_CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from qtimageformats.pro.
+
+cmake_minimum_required(VERSION 3.15.0)
+
+project(imageformats_FIXME
+ VERSION 6.0.0
+ DESCRIPTION "Qt imageformats_FIXME Libraries"
+ HOMEPAGE_URL "https://qt.io/"
+ LANGUAGES CXX C
+)
+
+find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core SET_ME_TO_SOMETHING_USEFUL)
+find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS SET_ME_TO_SOMETHING_USEFUL)
+
+if(NOT TARGET Qt::Gui)
+ message(NOTICE "Skipping the build as the condition \"TARGET Qt::Gui\" is not met.")
+ return()
+endif()
+qt_build_repo()
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..961585c
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from qtimageformats.pro.
+
+cmake_minimum_required(VERSION 3.15.0)
+
+project(QtImageFormats # special case
+ VERSION 6.0.0
+ DESCRIPTION "Qt ImageFormats Libraries" # special case
+ HOMEPAGE_URL "https://qt.io/"
+ LANGUAGES CXX C
+)
+
+find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Gui) # special case
+
+if(NOT TARGET Qt::Gui)
+ message(NOTICE "Skipping the build as the condition \"TARGET Qt::Gui\" is not met.")
+ return()
+endif()
+qt_build_repo()
diff --git a/cmake/FindWrapJasper.cmake b/cmake/FindWrapJasper.cmake
new file mode 100644
index 0000000..e25d21b
--- /dev/null
+++ b/cmake/FindWrapJasper.cmake
@@ -0,0 +1,11 @@
+set(WrapJasper_FOUND OFF)
+find_package(Jasper)
+
+if(Jasper_FOUND)
+ set(WrapJasper_FOUND ON)
+
+ # Upstream package does not provide targets, only variables. So define a target.
+ add_library(WrapJasper::WrapJasper INTERFACE IMPORTED)
+ target_link_libraries(WrapJasper::WrapJasper INTERFACE ${JASPER_LIBRARIES})
+ target_include_directories(WrapJasper::WrapJasper INTERFACE ${JASPER_INCLUDE_DIR})
+endif()
diff --git a/cmake/FindWrapWebP.cmake b/cmake/FindWrapWebP.cmake
new file mode 100644
index 0000000..e4d0b33
--- /dev/null
+++ b/cmake/FindWrapWebP.cmake
@@ -0,0 +1,41 @@
+# Latest upstream package provides both CMake and autotools building.
+# Unfortunately Linux distros and homebrew build the package with autotools,
+# so they do not ship the CMake Config file, but only the pkg-config files.
+# vcpkg and Conan do ship Config files.
+# So try config files first, and then use the regular find_library / find_path dance with pkg-config
+# paths as hints.
+
+find_package(WebP QUIET)
+if(TARGET WebP::webp AND TARGET WebP::webpdemux)
+ set(WrapWebP_FOUND ON)
+ add_library(WrapWebP::WrapWebP INTERFACE IMPORTED)
+ target_link_libraries(WrapWebP::WrapWebP INTERFACE WebP::webp WebP::webpdemux)
+ return()
+endif()
+
+find_package(PkgConfig)
+pkg_check_modules(PC_WebP libwebp)
+pkg_check_modules(PC_WebPDemux libwebpdemux)
+
+find_library(WebP_LIBRARY NAMES "webp"
+ HINTS ${PC_WebP_LIBDIR})
+find_library(WebP_demux_LIBRARY NAMES "webpdemux"
+ HINTS ${PC_WebPDemux_LIBDIR})
+
+find_path(WebP_INCLUDE_DIR NAMES "webp/decode.h"
+ HINTS ${PC_WebP_INCLUDEDIR})
+find_path(WebP_demux_INCLUDE_DIR NAMES "webp/demux.h"
+ HINTS ${PC_WebPDemux_INCLUDEDIR})
+
+include(FindPackageHandleStandardArgs)
+find_package_handle_standard_args(WebP DEFAULT_MSG WebP_INCLUDE_DIR WebP_LIBRARY
+ WebP_demux_INCLUDE_DIR WebP_demux_LIBRARY)
+
+mark_as_advanced(WebP_INCLUDE_DIR WebP_LIBRARY WebP_INCLUDE_DIR WebP_demux_LIBRARY)
+if(WebP_FOUND)
+ set(WrapWebP_FOUND ON)
+ add_library(WrapWebP::WrapWebP INTERFACE IMPORTED)
+ target_link_libraries(WrapWebP::WrapWebP INTERFACE ${WebP_LIBRARY} ${WebP_demux_LIBRARY})
+ target_include_directories(WrapWebP::WrapWebP
+ INTERFACE ${WebP_INCLUDE_DIR} ${WebP_demux_INCLUDE_DIR})
+endif()
diff --git a/coin/module_config.yaml b/coin/module_config.yaml
new file mode 100644
index 0000000..9f29e11
--- /dev/null
+++ b/coin/module_config.yaml
@@ -0,0 +1,13 @@
+version: 1
+accept_configuration:
+ condition: property
+ property: host.os
+ equals_property: target.os
+
+build_instructions:
+ - !include "{{qt/qtbase}}/prepare_building_env.yaml"
+ - !include "{{qt/qtbase}}/cmake_module_build_instructions.yaml"
+ - !include "{{qt/qtbase}}/cmake_build_and_upload_test_artifacts.yaml"
+
+test_instructions:
+ - !include "{{qt/qtbase}}/cmake_regular_test_instructions.yaml"
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..e436fa0
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from src.pro.
+
+add_subdirectory(imageformats)
+add_subdirectory(plugins)
diff --git a/src/imageformats/CMakeLists.txt b/src/imageformats/CMakeLists.txt
new file mode 100644
index 0000000..989075a
--- /dev/null
+++ b/src/imageformats/CMakeLists.txt
@@ -0,0 +1,2 @@
+# Generated from imageformats.pro.
+
diff --git a/src/imageformats/configure.cmake b/src/imageformats/configure.cmake
new file mode 100644
index 0000000..3100bf6
--- /dev/null
+++ b/src/imageformats/configure.cmake
@@ -0,0 +1,60 @@
+
+
+#### Inputs
+
+# input tiff
+set(INPUT_tiff "undefined" CACHE STRING "")
+set_property(CACHE INPUT_tiff PROPERTY STRINGS undefined no qt system)
+
+# input webp
+set(INPUT_webp "undefined" CACHE STRING "")
+set_property(CACHE INPUT_webp PROPERTY STRINGS undefined no qt system)
+
+
+
+#### Libraries
+
+qt_find_package(WrapJasper PROVIDED_TARGETS WrapJasper::WrapJasper)
+qt_find_package(TIFF PROVIDED_TARGETS TIFF::TIFF)
+qt_find_package(WrapWebP PROVIDED_TARGETS WrapWebP::WrapWebP)
+
+
+#### Tests
+
+
+
+#### Features
+
+qt_feature("jasper" PRIVATE
+ LABEL "JasPer"
+ CONDITION QT_FEATURE_imageformatplugin AND WrapJasper_FOUND
+ DISABLE INPUT_jasper STREQUAL 'no'
+)
+qt_feature_definition("jasper" "QT_NO_IMAGEFORMAT_JASPER" NEGATE)
+qt_feature("mng" PRIVATE
+ LABEL "MNG"
+ CONDITION libs.mng OR FIXME
+ DISABLE INPUT_mng STREQUAL 'no'
+)
+qt_feature("tiff" PRIVATE
+ LABEL "TIFF"
+ CONDITION QT_FEATURE_imageformatplugin AND TIFF_FOUND
+ DISABLE INPUT_tiff STREQUAL 'no'
+)
+qt_feature("system_tiff" PRIVATE
+ LABEL " Using system libtiff"
+ CONDITION QT_FEATURE_tiff AND TIFF_FOUND
+ ENABLE INPUT_tiff STREQUAL 'system'
+ DISABLE INPUT_tiff STREQUAL 'qt'
+)
+qt_feature("webp" PRIVATE
+ LABEL "WEBP"
+ CONDITION QT_FEATURE_imageformatplugin AND WrapWebP_FOUND
+ DISABLE INPUT_webp STREQUAL 'no'
+)
+qt_feature("system_webp" PRIVATE
+ LABEL " Using system libwebp"
+ CONDITION QT_FEATURE_webp AND WrapWebP_FOUND
+ ENABLE INPUT_webp STREQUAL 'system'
+ DISABLE INPUT_webp STREQUAL 'qt'
+)
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
new file mode 100644
index 0000000..c1efdbc
--- /dev/null
+++ b/src/plugins/CMakeLists.txt
@@ -0,0 +1,3 @@
+# Generated from plugins.pro.
+
+add_subdirectory(imageformats)
diff --git a/src/plugins/imageformats/.prev_CMakeLists.txt b/src/plugins/imageformats/.prev_CMakeLists.txt
new file mode 100644
index 0000000..dfcc7e4
--- /dev/null
+++ b/src/plugins/imageformats/.prev_CMakeLists.txt
@@ -0,0 +1,27 @@
+# Generated from imageformats.pro.
+
+if(NOT WINRT)
+ add_subdirectory(tga)
+endif()
+add_subdirectory(wbmp)
+if(QT_FEATURE_tiff AND NOT WINRT)
+ add_subdirectory(tiff)
+endif()
+if(QT_FEATURE_webp AND NOT WINRT)
+ add_subdirectory(webp)
+endif()
+if(APPLE)
+ add_subdirectory(macheif)
+endif()
+if(QT_FEATURE_regularexpression)
+ add_subdirectory(icns)
+endif()
+if(QT_FEATURE_mng)
+ add_subdirectory(mng)
+endif()
+if(QT_FEATURE_jasper)
+ add_subdirectory(jp2)
+endif()
+if(APPLE AND NOT QT_FEATURE_jasper)
+ add_subdirectory(macjp2)
+endif()
diff --git a/src/plugins/imageformats/CMakeLists.txt b/src/plugins/imageformats/CMakeLists.txt
new file mode 100644
index 0000000..01855f4
--- /dev/null
+++ b/src/plugins/imageformats/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from imageformats.pro.
+
+# special case begin
+qt_feature_module_begin(
+ NO_MODULE
+ PUBLIC_FILE "qtimageformats-config.h"
+ PRIVATE_FILE "qtimageformats-config_p.h"
+)
+include(../../imageformats/configure.cmake)
+qt_feature_module_end(NO_MODULE)
+# special case end
+
+if(NOT WINRT)
+ add_subdirectory(tga)
+endif()
+add_subdirectory(wbmp)
+if(QT_FEATURE_tiff AND NOT WINRT)
+ add_subdirectory(tiff)
+endif()
+if(QT_FEATURE_webp AND NOT WINRT)
+ add_subdirectory(webp)
+endif()
+if(APPLE)
+ add_subdirectory(macheif)
+endif()
+if(QT_FEATURE_regularexpression)
+ add_subdirectory(icns)
+endif()
+if(QT_FEATURE_mng AND OFF) # special case TODO: FiXME
+ add_subdirectory(mng)
+endif()
+if(QT_FEATURE_jasper)
+ add_subdirectory(jp2)
+endif()
+if(APPLE AND NOT QT_FEATURE_jasper)
+ add_subdirectory(macjp2)
+endif()
+
diff --git a/src/plugins/imageformats/icns/.prev_CMakeLists.txt b/src/plugins/imageformats/icns/.prev_CMakeLists.txt
new file mode 100644
index 0000000..cde94c2
--- /dev/null
+++ b/src/plugins/imageformats/icns/.prev_CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from icns.pro.
+
+#####################################################################
+## qicns Plugin:
+#####################################################################
+
+add_qt_plugin(qicns
+ TYPE imageformats
+ CLASS_NAME QICNSPlugin
+ SOURCES
+ main.cpp
+ qicnshandler.cpp qicnshandler_p.h
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:icns.pro:<TRUE>:
+# OTHER_FILES = "icns.json"
+# _LOADED = "qt_plugin"
diff --git a/src/plugins/imageformats/icns/CMakeLists.txt b/src/plugins/imageformats/icns/CMakeLists.txt
new file mode 100644
index 0000000..cde94c2
--- /dev/null
+++ b/src/plugins/imageformats/icns/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from icns.pro.
+
+#####################################################################
+## qicns Plugin:
+#####################################################################
+
+add_qt_plugin(qicns
+ TYPE imageformats
+ CLASS_NAME QICNSPlugin
+ SOURCES
+ main.cpp
+ qicnshandler.cpp qicnshandler_p.h
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:icns.pro:<TRUE>:
+# OTHER_FILES = "icns.json"
+# _LOADED = "qt_plugin"
diff --git a/src/plugins/imageformats/jp2/.prev_CMakeLists.txt b/src/plugins/imageformats/jp2/.prev_CMakeLists.txt
new file mode 100644
index 0000000..f45df46
--- /dev/null
+++ b/src/plugins/imageformats/jp2/.prev_CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from jp2.pro.
+
+#####################################################################
+## qjp2 Plugin:
+#####################################################################
+
+add_qt_plugin(qjp2
+ TYPE imageformats
+ CLASS_NAME QJp2Plugin
+ SOURCES
+ main.cpp
+ qjp2handler.cpp qjp2handler_p.h
+ LIBRARIES
+ WrapJasper::WrapJasper
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:jp2.pro:<TRUE>:
+# OTHER_FILES = "jp2.json"
+# QT_FOR_CONFIG = "imageformats-private"
+# _LOADED = "qt_plugin"
diff --git a/src/plugins/imageformats/jp2/CMakeLists.txt b/src/plugins/imageformats/jp2/CMakeLists.txt
new file mode 100644
index 0000000..f45df46
--- /dev/null
+++ b/src/plugins/imageformats/jp2/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from jp2.pro.
+
+#####################################################################
+## qjp2 Plugin:
+#####################################################################
+
+add_qt_plugin(qjp2
+ TYPE imageformats
+ CLASS_NAME QJp2Plugin
+ SOURCES
+ main.cpp
+ qjp2handler.cpp qjp2handler_p.h
+ LIBRARIES
+ WrapJasper::WrapJasper
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:jp2.pro:<TRUE>:
+# OTHER_FILES = "jp2.json"
+# QT_FOR_CONFIG = "imageformats-private"
+# _LOADED = "qt_plugin"
diff --git a/src/plugins/imageformats/macheif/.prev_CMakeLists.txt b/src/plugins/imageformats/macheif/.prev_CMakeLists.txt
new file mode 100644
index 0000000..4ee32c7
--- /dev/null
+++ b/src/plugins/imageformats/macheif/.prev_CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from macheif.pro.
+
+#####################################################################
+## qmacheif Plugin:
+#####################################################################
+
+add_qt_plugin(qmacheif
+ TYPE imageformats
+ CLASS_NAME QMacHeifPlugin
+ SOURCES
+ ../shared/qiiofhelpers.cpp ../shared/qiiofhelpers_p.h
+ main.cpp
+ qmacheifhandler.cpp qmacheifhandler.h
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ ${FWCoreFoundation}
+ ${FWCoreGraphics}
+ ${FWImageIO}
+ Qt::Core
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:macheif.pro:<TRUE>:
+# OTHER_FILES = "macheif.json"
+# _LOADED = "qt_plugin"
diff --git a/src/plugins/imageformats/macheif/CMakeLists.txt b/src/plugins/imageformats/macheif/CMakeLists.txt
new file mode 100644
index 0000000..22631d7
--- /dev/null
+++ b/src/plugins/imageformats/macheif/CMakeLists.txt
@@ -0,0 +1,35 @@
+# Generated from macheif.pro.
+
+#####################################################################
+## qmacheif Plugin:
+#####################################################################
+
+# special case begin
+find_library(FWCoreFoundation CoreFoundation)
+find_library(FWCoreGraphics CoreGraphics)
+find_library(FWImageIO ImageIO)
+# special case end
+
+add_qt_plugin(qmacheif
+ TYPE imageformats
+ CLASS_NAME QMacHeifPlugin
+ SOURCES
+ ../shared/qiiofhelpers.cpp ../shared/qiiofhelpers_p.h
+ main.cpp
+ qmacheifhandler.cpp qmacheifhandler.h
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ ${FWCoreFoundation}
+ ${FWCoreGraphics}
+ ${FWImageIO}
+ Qt::Core
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:macheif.pro:<TRUE>:
+# OTHER_FILES = "macheif.json"
+# _LOADED = "qt_plugin"
diff --git a/src/plugins/imageformats/macjp2/CMakeLists.txt b/src/plugins/imageformats/macjp2/CMakeLists.txt
new file mode 100644
index 0000000..9fbb1a4
--- /dev/null
+++ b/src/plugins/imageformats/macjp2/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from macjp2.pro.
+
+#####################################################################
+## qmacjp2 Plugin:
+#####################################################################
+
+add_qt_plugin(qmacjp2
+ TYPE imageformats
+ CLASS_NAME QMacJp2Plugin
+ SOURCES
+ ../shared/qiiofhelpers.cpp ../shared/qiiofhelpers_p.h
+ main.cpp
+ qmacjp2handler.cpp qmacjp2handler.h
+ INCLUDE_DIRECTORIES
+ ../shared
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ ${FWCoreFoundation}
+ ${FWCoreGraphics}
+ ${FWImageIO}
+ Qt::Core
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:macjp2.pro:<TRUE>:
+# OTHER_FILES = "macjp2.json"
+# _LOADED = "qt_plugin"
diff --git a/src/plugins/imageformats/mng/CMakeLists.txt b/src/plugins/imageformats/mng/CMakeLists.txt
new file mode 100644
index 0000000..095f5a7
--- /dev/null
+++ b/src/plugins/imageformats/mng/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from mng.pro.
+
+#####################################################################
+## qmng Plugin:
+#####################################################################
+
+add_qt_plugin(qmng
+ TYPE imageformats
+ CLASS_NAME QMngPlugin
+ SOURCES
+ main.cpp
+ qmnghandler.cpp qmnghandler_p.h
+ LIBRARIES
+ mng
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:mng.pro:<TRUE>:
+# OTHER_FILES = "mng.json"
+# QT_FOR_CONFIG = "imageformats-private"
+# _LOADED = "qt_plugin"
diff --git a/src/plugins/imageformats/tga/.prev_CMakeLists.txt b/src/plugins/imageformats/tga/.prev_CMakeLists.txt
new file mode 100644
index 0000000..6f28762
--- /dev/null
+++ b/src/plugins/imageformats/tga/.prev_CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from tga.pro.
+
+#####################################################################
+## qtga Plugin:
+#####################################################################
+
+add_qt_plugin(qtga
+ TYPE imageformats
+ CLASS_NAME QTgaPlugin
+ SOURCES
+ main.cpp
+ qtgafile.cpp qtgafile.h
+ qtgahandler.cpp qtgahandler.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:tga.pro:<TRUE>:
+# OTHER_FILES = "tga.json"
+# _LOADED = "qt_plugin"
diff --git a/src/plugins/imageformats/tga/CMakeLists.txt b/src/plugins/imageformats/tga/CMakeLists.txt
new file mode 100644
index 0000000..6f28762
--- /dev/null
+++ b/src/plugins/imageformats/tga/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from tga.pro.
+
+#####################################################################
+## qtga Plugin:
+#####################################################################
+
+add_qt_plugin(qtga
+ TYPE imageformats
+ CLASS_NAME QTgaPlugin
+ SOURCES
+ main.cpp
+ qtgafile.cpp qtgafile.h
+ qtgahandler.cpp qtgahandler.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:tga.pro:<TRUE>:
+# OTHER_FILES = "tga.json"
+# _LOADED = "qt_plugin"
diff --git a/src/plugins/imageformats/tiff/.prev_CMakeLists.txt b/src/plugins/imageformats/tiff/.prev_CMakeLists.txt
new file mode 100644
index 0000000..3fb2da8
--- /dev/null
+++ b/src/plugins/imageformats/tiff/.prev_CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from tiff.pro.
+
+#####################################################################
+## qtiff Plugin:
+#####################################################################
+
+add_qt_plugin(qtiff
+ TYPE imageformats
+ CLASS_NAME QTiffPlugin
+ SOURCES
+ main.cpp
+ qtiffhandler.cpp qtiffhandler_p.h
+ LIBRARIES
+ TIFF::TIFF
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:tiff.pro:<TRUE>:
+# OTHER_FILES = "tiff.json"
+# QT_FOR_CONFIG = "imageformats-private"
+# _LOADED = "qt_plugin"
diff --git a/src/plugins/imageformats/tiff/CMakeLists.txt b/src/plugins/imageformats/tiff/CMakeLists.txt
new file mode 100644
index 0000000..5224c78
--- /dev/null
+++ b/src/plugins/imageformats/tiff/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from tiff.pro.
+
+#####################################################################
+## qtiff Plugin:
+#####################################################################
+
+# special case begin
+# Protect against case when ZLIB is found via QtGui in a static build,
+# which means that we can't do a qt_find_package() here due to CMake
+# complaining about not being able to make the ZLIB target global,
+# because ZLIB was found in the QtGui directory scope (root level) and
+# not in this directory scope.
+if(BUILD_SHARED_LIBS)
+ qt_find_package(ZLIB PROVIDED_TARGETS ZLIB::ZLIB)
+endif()
+# special case end
+
+add_qt_plugin(qtiff
+ TYPE imageformats
+ CLASS_NAME QTiffPlugin
+ SOURCES
+ main.cpp
+ qtiffhandler.cpp qtiffhandler_p.h
+ LIBRARIES
+ TIFF::TIFF
+ ZLIB::ZLIB # special case
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ TIFF::TIFF # special case
+)
+
+#### Keys ignored in scope 1:.:.:tiff.pro:<TRUE>:
+# OTHER_FILES = "tiff.json"
+# QT_FOR_CONFIG = "imageformats-private"
+# _LOADED = "qt_plugin"
diff --git a/src/plugins/imageformats/wbmp/.prev_CMakeLists.txt b/src/plugins/imageformats/wbmp/.prev_CMakeLists.txt
new file mode 100644
index 0000000..ae25820
--- /dev/null
+++ b/src/plugins/imageformats/wbmp/.prev_CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from wbmp.pro.
+
+#####################################################################
+## qwbmp Plugin:
+#####################################################################
+
+add_qt_plugin(qwbmp
+ TYPE imageformats
+ CLASS_NAME QWbmpPlugin
+ SOURCES
+ main.cpp
+ qwbmphandler.cpp qwbmphandler_p.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:wbmp.pro:<TRUE>:
+# OTHER_FILES = "wbmp.json"
+# _LOADED = "qt_plugin"
diff --git a/src/plugins/imageformats/wbmp/CMakeLists.txt b/src/plugins/imageformats/wbmp/CMakeLists.txt
new file mode 100644
index 0000000..ae25820
--- /dev/null
+++ b/src/plugins/imageformats/wbmp/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from wbmp.pro.
+
+#####################################################################
+## qwbmp Plugin:
+#####################################################################
+
+add_qt_plugin(qwbmp
+ TYPE imageformats
+ CLASS_NAME QWbmpPlugin
+ SOURCES
+ main.cpp
+ qwbmphandler.cpp qwbmphandler_p.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:wbmp.pro:<TRUE>:
+# OTHER_FILES = "wbmp.json"
+# _LOADED = "qt_plugin"
diff --git a/src/plugins/imageformats/webp/.prev_CMakeLists.txt b/src/plugins/imageformats/webp/.prev_CMakeLists.txt
new file mode 100644
index 0000000..c37829b
--- /dev/null
+++ b/src/plugins/imageformats/webp/.prev_CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from webp.pro.
+
+#####################################################################
+## qwebp Plugin:
+#####################################################################
+
+add_qt_plugin(qwebp
+ TYPE imageformats
+ CLASS_NAME QWebpPlugin
+ SOURCES
+ main.cpp
+ qwebphandler.cpp qwebphandler_p.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ WrapWebP::WrapWebP
+)
+
+#### Keys ignored in scope 1:.:.:webp.pro:<TRUE>:
+# OTHER_FILES = "webp.json"
+# QT_FOR_CONFIG = "imageformats-private"
+# _LOADED = "qt_plugin"
diff --git a/src/plugins/imageformats/webp/CMakeLists.txt b/src/plugins/imageformats/webp/CMakeLists.txt
new file mode 100644
index 0000000..4b6322e
--- /dev/null
+++ b/src/plugins/imageformats/webp/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from webp.pro.
+
+#####################################################################
+## qwebp Plugin:
+#####################################################################
+
+add_qt_plugin(qwebp
+ TYPE imageformats
+ CLASS_NAME QWebpPlugin
+ SOURCES
+ main.cpp
+ qwebphandler.cpp qwebphandler_p.h
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ WrapWebP::WrapWebP
+ Qt::Gui # special case
+)
+
+#### Keys ignored in scope 1:.:.:webp.pro:<TRUE>:
+# OTHER_FILES = "webp.json"
+# QT_FOR_CONFIG = "imageformats-private"
+# _LOADED = "qt_plugin"
diff --git a/tests/.prev_CMakeLists.txt b/tests/.prev_CMakeLists.txt
new file mode 100644
index 0000000..718724d
--- /dev/null
+++ b/tests/.prev_CMakeLists.txt
@@ -0,0 +1,10 @@
+# Generated from tests.pro.
+
+if(NOT TARGET Qt::Test)
+ cmake_minimum_required(VERSION 3.15.0)
+ project(imageformatsTests_FIXME VERSION 6.0.0 LANGUAGES C CXX)
+ find_package(Qt6 ${PROJECT_VERSION} REQUIRED COMPONENTS BuildInternals Core SET_ME_TO_SOMETHING_USEFUL)
+ find_package(Qt6 ${PROJECT_VERSION} OPTIONAL_COMPONENTS SET_ME_TO_SOMETHING_USEFUL)
+ qt_set_up_standalone_tests_build()
+endif()
+qt_build_tests()
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
new file mode 100644
index 0000000..5a389d6
--- /dev/null
+++ b/tests/CMakeLists.txt
@@ -0,0 +1,10 @@
+# Generated from tests.pro.
+
+if(NOT TARGET Qt::Test)
+ cmake_minimum_required(VERSION 3.15.0)
+ project(imageformatsTests_FIXME VERSION 6.0.0 LANGUAGES C CXX)
+ find_package(Qt6 ${PROJECT_VERSION} REQUIRED COMPONENTS BuildInternals Core Test) # special case
+ find_package(Qt6 ${PROJECT_VERSION} OPTIONAL_COMPONENTS Gui) # special case
+ qt_set_up_standalone_tests_build()
+endif()
+qt_build_tests()
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
new file mode 100644
index 0000000..b671097
--- /dev/null
+++ b/tests/auto/CMakeLists.txt
@@ -0,0 +1,11 @@
+# Generated from auto.pro.
+
+add_subdirectory(tga)
+add_subdirectory(wbmp)
+add_subdirectory(dds)
+add_subdirectory(icns)
+add_subdirectory(jp2)
+add_subdirectory(webp)
+add_subdirectory(heif)
+add_subdirectory(mng)
+add_subdirectory(tiff)
diff --git a/tests/auto/dds/CMakeLists.txt b/tests/auto/dds/CMakeLists.txt
new file mode 100644
index 0000000..9a25bcb
--- /dev/null
+++ b/tests/auto/dds/CMakeLists.txt
@@ -0,0 +1,226 @@
+# Generated from dds.pro.
+
+#####################################################################
+## tst_qdds Test:
+#####################################################################
+
+add_qt_test(tst_qdds
+ SOURCES
+ tst_qdds.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
+
+# Resources:
+set_source_files_properties("../../shared/images/dds/A16B16G16R16.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/A16B16G16R16.dds"
+)
+set_source_files_properties("../../shared/images/dds/A16B16G16R16F.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/A16B16G16R16F.dds"
+)
+set_source_files_properties("../../shared/images/dds/A1R5G5B5.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/A1R5G5B5.dds"
+)
+set_source_files_properties("../../shared/images/dds/A2B10G10R10.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/A2B10G10R10.dds"
+)
+set_source_files_properties("../../shared/images/dds/A2R10G10B10.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/A2R10G10B10.dds"
+)
+set_source_files_properties("../../shared/images/dds/A2W10V10U10.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/A2W10V10U10.dds"
+)
+set_source_files_properties("../../shared/images/dds/A32B32G32R32F.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/A32B32G32R32F.dds"
+)
+set_source_files_properties("../../shared/images/dds/A4L4.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/A4L4.dds"
+)
+set_source_files_properties("../../shared/images/dds/A4R4G4B4.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/A4R4G4B4.dds"
+)
+set_source_files_properties("../../shared/images/dds/A8.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/A8.dds"
+)
+set_source_files_properties("../../shared/images/dds/A8B8G8R8.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/A8B8G8R8.dds"
+)
+set_source_files_properties("../../shared/images/dds/A8L8.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/A8L8.dds"
+)
+set_source_files_properties("../../shared/images/dds/A8R3G3B2.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/A8R3G3B2.dds"
+)
+set_source_files_properties("../../shared/images/dds/A8R8G8B8.2.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/A8R8G8B8.2.dds"
+)
+set_source_files_properties("../../shared/images/dds/A8R8G8B8.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/A8R8G8B8.dds"
+)
+set_source_files_properties("../../shared/images/dds/ATI2.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/ATI2.dds"
+)
+set_source_files_properties("../../shared/images/dds/CxV8U8.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/CxV8U8.dds"
+)
+set_source_files_properties("../../shared/images/dds/DXT1.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/DXT1.dds"
+)
+set_source_files_properties("../../shared/images/dds/DXT2.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/DXT2.dds"
+)
+set_source_files_properties("../../shared/images/dds/DXT3.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/DXT3.dds"
+)
+set_source_files_properties("../../shared/images/dds/DXT4.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/DXT4.dds"
+)
+set_source_files_properties("../../shared/images/dds/DXT5.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/DXT5.dds"
+)
+set_source_files_properties("../../shared/images/dds/G16R16.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/G16R16.dds"
+)
+set_source_files_properties("../../shared/images/dds/G16R16F.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/G16R16F.dds"
+)
+set_source_files_properties("../../shared/images/dds/G32R32F.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/G32R32F.dds"
+)
+set_source_files_properties("../../shared/images/dds/G8R8_G8B8.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/G8R8_G8B8.dds"
+)
+set_source_files_properties("../../shared/images/dds/L16.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/L16.dds"
+)
+set_source_files_properties("../../shared/images/dds/L6V5U5.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/L6V5U5.dds"
+)
+set_source_files_properties("../../shared/images/dds/L8.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/L8.dds"
+)
+set_source_files_properties("../../shared/images/dds/P4.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/P4.dds"
+)
+set_source_files_properties("../../shared/images/dds/P8.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/P8.dds"
+)
+set_source_files_properties("../../shared/images/dds/Q16W16V16U16.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/Q16W16V16U16.dds"
+)
+set_source_files_properties("../../shared/images/dds/Q8W8V8U8.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/Q8W8V8U8.dds"
+)
+set_source_files_properties("../../shared/images/dds/R16F.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/R16F.dds"
+)
+set_source_files_properties("../../shared/images/dds/R32F.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/R32F.dds"
+)
+set_source_files_properties("../../shared/images/dds/R3G3B2.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/R3G3B2.dds"
+)
+set_source_files_properties("../../shared/images/dds/R5G6B5.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/R5G6B5.dds"
+)
+set_source_files_properties("../../shared/images/dds/R8G8B8.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/R8G8B8.dds"
+)
+set_source_files_properties("../../shared/images/dds/R8G8_B8G8.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/R8G8_B8G8.dds"
+)
+set_source_files_properties("../../shared/images/dds/RXGB.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/RXGB.dds"
+)
+set_source_files_properties("../../shared/images/dds/UYVY.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/UYVY.dds"
+)
+set_source_files_properties("../../shared/images/dds/V16U16.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/V16U16.dds"
+)
+set_source_files_properties("../../shared/images/dds/V8U8.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/V8U8.dds"
+)
+set_source_files_properties("../../shared/images/dds/X1R5G5B5.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/X1R5G5B5.dds"
+)
+set_source_files_properties("../../shared/images/dds/X4R4G4B4.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/X4R4G4B4.dds"
+)
+set_source_files_properties("../../shared/images/dds/X8B8G8R8.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/X8B8G8R8.dds"
+)
+set_source_files_properties("../../shared/images/dds/X8L8V8U8.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/X8L8V8U8.dds"
+)
+set_source_files_properties("../../shared/images/dds/X8R8G8B8.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/X8R8G8B8.dds"
+)
+set_source_files_properties("../../shared/images/dds/YUY2.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/YUY2.dds"
+)
+set_source_files_properties("../../shared/images/dds/mipmaps.dds"
+ PROPERTIES QT_RESOURCE_ALIAS "dds/mipmaps.dds"
+)
+set(dds_resource_files
+ "dds/A16B16G16R16.dds"
+ "dds/A16B16G16R16F.dds"
+ "dds/A1R5G5B5.dds"
+ "dds/A2B10G10R10.dds"
+ "dds/A2R10G10B10.dds"
+ "dds/A2W10V10U10.dds"
+ "dds/A32B32G32R32F.dds"
+ "dds/A4L4.dds"
+ "dds/A4R4G4B4.dds"
+ "dds/A8.dds"
+ "dds/A8B8G8R8.dds"
+ "dds/A8L8.dds"
+ "dds/A8R3G3B2.dds"
+ "dds/A8R8G8B8.2.dds"
+ "dds/A8R8G8B8.dds"
+ "dds/ATI2.dds"
+ "dds/CxV8U8.dds"
+ "dds/DXT1.dds"
+ "dds/DXT2.dds"
+ "dds/DXT3.dds"
+ "dds/DXT4.dds"
+ "dds/DXT5.dds"
+ "dds/G16R16.dds"
+ "dds/G16R16F.dds"
+ "dds/G32R32F.dds"
+ "dds/G8R8_G8B8.dds"
+ "dds/L16.dds"
+ "dds/L6V5U5.dds"
+ "dds/L8.dds"
+ "dds/P4.dds"
+ "dds/P8.dds"
+ "dds/Q16W16V16U16.dds"
+ "dds/Q8W8V8U8.dds"
+ "dds/R16F.dds"
+ "dds/R32F.dds"
+ "dds/R3G3B2.dds"
+ "dds/R5G6B5.dds"
+ "dds/R8G8B8.dds"
+ "dds/R8G8_B8G8.dds"
+ "dds/RXGB.dds"
+ "dds/UYVY.dds"
+ "dds/V16U16.dds"
+ "dds/V8U8.dds"
+ "dds/X1R5G5B5.dds"
+ "dds/X4R4G4B4.dds"
+ "dds/X8B8G8R8.dds"
+ "dds/X8L8V8U8.dds"
+ "dds/X8R8G8B8.dds"
+ "dds/YUY2.dds"
+ "dds/mipmaps.dds"
+)
+
+add_qt_resource(tst_qdds "dds"
+ PREFIX
+ "/"
+ BASE
+ "../../shared/images"
+ FILES
+ ${dds_resource_files}
+)
+
diff --git a/tests/auto/heif/CMakeLists.txt b/tests/auto/heif/CMakeLists.txt
new file mode 100644
index 0000000..c40e1f7
--- /dev/null
+++ b/tests/auto/heif/CMakeLists.txt
@@ -0,0 +1,34 @@
+# Generated from heif.pro.
+
+#####################################################################
+## tst_qheif Test:
+#####################################################################
+
+add_qt_test(tst_qheif
+ SOURCES
+ tst_qheif.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
+
+# Resources:
+set_source_files_properties("../../shared/images/heif/col320x480.heic"
+ PROPERTIES QT_RESOURCE_ALIAS "heif/col320x480.heic"
+)
+set_source_files_properties("../../shared/images/heif/newlogoCCW.heic"
+ PROPERTIES QT_RESOURCE_ALIAS "heif/newlogoCCW.heic"
+)
+set(heif_resource_files
+ "heif/col320x480.heic"
+ "heif/newlogoCCW.heic"
+)
+
+add_qt_resource(tst_qheif "heif"
+ PREFIX
+ "/"
+ BASE
+ "../../shared/images"
+ FILES
+ ${heif_resource_files}
+)
+
diff --git a/tests/auto/icns/CMakeLists.txt b/tests/auto/icns/CMakeLists.txt
new file mode 100644
index 0000000..0ab146b
--- /dev/null
+++ b/tests/auto/icns/CMakeLists.txt
@@ -0,0 +1,74 @@
+# Generated from icns.pro.
+
+#####################################################################
+## tst_qicns Test:
+#####################################################################
+
+add_qt_test(tst_qicns
+ SOURCES
+ tst_qicns.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
+
+# Resources:
+set_source_files_properties("../../shared/images/icns/test-32bit.icns"
+ PROPERTIES QT_RESOURCE_ALIAS "icns/test-32bit.icns"
+)
+set_source_files_properties("../../shared/images/icns/test-jp2.icns"
+ PROPERTIES QT_RESOURCE_ALIAS "icns/test-jp2.icns"
+)
+set_source_files_properties("../../shared/images/icns/test-legacy.icns"
+ PROPERTIES QT_RESOURCE_ALIAS "icns/test-legacy.icns"
+)
+set_source_files_properties("../../shared/images/icns/test-png.icns"
+ PROPERTIES QT_RESOURCE_ALIAS "icns/test-png.icns"
+)
+set_source_files_properties("../../shared/images/icns/test-variants.icns"
+ PROPERTIES QT_RESOURCE_ALIAS "icns/test-variants.icns"
+)
+set_source_files_properties("../../shared/images/icns/test-write-1024.png"
+ PROPERTIES QT_RESOURCE_ALIAS "icns/test-write-1024.png"
+)
+set_source_files_properties("../../shared/images/icns/test-write-128.png"
+ PROPERTIES QT_RESOURCE_ALIAS "icns/test-write-128.png"
+)
+set_source_files_properties("../../shared/images/icns/test-write-16.png"
+ PROPERTIES QT_RESOURCE_ALIAS "icns/test-write-16.png"
+)
+set_source_files_properties("../../shared/images/icns/test-write-256.png"
+ PROPERTIES QT_RESOURCE_ALIAS "icns/test-write-256.png"
+)
+set_source_files_properties("../../shared/images/icns/test-write-32.png"
+ PROPERTIES QT_RESOURCE_ALIAS "icns/test-write-32.png"
+)
+set_source_files_properties("../../shared/images/icns/test-write-512.png"
+ PROPERTIES QT_RESOURCE_ALIAS "icns/test-write-512.png"
+)
+set_source_files_properties("../../shared/images/icns/test-write-64.png"
+ PROPERTIES QT_RESOURCE_ALIAS "icns/test-write-64.png"
+)
+set(icns_resource_files
+ "icns/test-32bit.icns"
+ "icns/test-jp2.icns"
+ "icns/test-legacy.icns"
+ "icns/test-png.icns"
+ "icns/test-variants.icns"
+ "icns/test-write-1024.png"
+ "icns/test-write-128.png"
+ "icns/test-write-16.png"
+ "icns/test-write-256.png"
+ "icns/test-write-32.png"
+ "icns/test-write-512.png"
+ "icns/test-write-64.png"
+)
+
+add_qt_resource(tst_qicns "icns"
+ PREFIX
+ "/"
+ BASE
+ "../../shared/images"
+ FILES
+ ${icns_resource_files}
+)
+
diff --git a/tests/auto/jp2/CMakeLists.txt b/tests/auto/jp2/CMakeLists.txt
new file mode 100644
index 0000000..49383f7
--- /dev/null
+++ b/tests/auto/jp2/CMakeLists.txt
@@ -0,0 +1,34 @@
+# Generated from jp2.pro.
+
+#####################################################################
+## tst_qjp2 Test:
+#####################################################################
+
+add_qt_test(tst_qjp2
+ SOURCES
+ tst_qjp2.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
+
+# Resources:
+set_source_files_properties("../../shared/images/jp2/logo.bmp"
+ PROPERTIES QT_RESOURCE_ALIAS "jp2/logo.bmp"
+)
+set_source_files_properties("../../shared/images/jp2/logo.jp2"
+ PROPERTIES QT_RESOURCE_ALIAS "jp2/logo.jp2"
+)
+set(jp2_resource_files
+ "jp2/logo.bmp"
+ "jp2/logo.jp2"
+)
+
+add_qt_resource(tst_qjp2 "jp2"
+ PREFIX
+ "/"
+ BASE
+ "../../shared/images"
+ FILES
+ ${jp2_resource_files}
+)
+
diff --git a/tests/auto/mng/CMakeLists.txt b/tests/auto/mng/CMakeLists.txt
new file mode 100644
index 0000000..9bf7abb
--- /dev/null
+++ b/tests/auto/mng/CMakeLists.txt
@@ -0,0 +1,46 @@
+# Generated from mng.pro.
+
+#####################################################################
+## tst_qmng Test:
+#####################################################################
+
+add_qt_test(tst_qmng
+ SOURCES
+ tst_qmng.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
+
+# Resources:
+set_source_files_properties("../../shared/images/mng/animation.mng"
+ PROPERTIES QT_RESOURCE_ALIAS "mng/animation.mng"
+)
+set_source_files_properties("../../shared/images/mng/ball.mng"
+ PROPERTIES QT_RESOURCE_ALIAS "mng/ball.mng"
+)
+set_source_files_properties("../../shared/images/mng/corrupt.mng"
+ PROPERTIES QT_RESOURCE_ALIAS "mng/corrupt.mng"
+)
+set_source_files_properties("../../shared/images/mng/dutch.mng"
+ PROPERTIES QT_RESOURCE_ALIAS "mng/dutch.mng"
+)
+set_source_files_properties("../../shared/images/mng/fire.mng"
+ PROPERTIES QT_RESOURCE_ALIAS "mng/fire.mng"
+)
+set(mng_resource_files
+ "mng/animation.mng"
+ "mng/ball.mng"
+ "mng/corrupt.mng"
+ "mng/dutch.mng"
+ "mng/fire.mng"
+)
+
+add_qt_resource(tst_qmng "mng"
+ PREFIX
+ "/"
+ BASE
+ "../../shared/images"
+ FILES
+ ${mng_resource_files}
+)
+
diff --git a/tests/auto/tga/CMakeLists.txt b/tests/auto/tga/CMakeLists.txt
new file mode 100644
index 0000000..f6e1760
--- /dev/null
+++ b/tests/auto/tga/CMakeLists.txt
@@ -0,0 +1,30 @@
+# Generated from tga.pro.
+
+#####################################################################
+## tst_qtga Test:
+#####################################################################
+
+add_qt_test(tst_qtga
+ SOURCES
+ tst_qtga.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
+
+# Resources:
+set_source_files_properties("../../shared/images/tga/test-flag.tga"
+ PROPERTIES QT_RESOURCE_ALIAS "tga/test-flag.tga"
+)
+set(tga_resource_files
+ "tga/test-flag.tga"
+)
+
+add_qt_resource(tst_qtga "tga"
+ PREFIX
+ "/"
+ BASE
+ "../../shared/images"
+ FILES
+ ${tga_resource_files}
+)
+
diff --git a/tests/auto/tiff/CMakeLists.txt b/tests/auto/tiff/CMakeLists.txt
new file mode 100644
index 0000000..fa8fadd
--- /dev/null
+++ b/tests/auto/tiff/CMakeLists.txt
@@ -0,0 +1,234 @@
+# Generated from tiff.pro.
+
+#####################################################################
+## tst_qtiff Test:
+#####################################################################
+
+add_qt_test(tst_qtiff
+ SOURCES
+ tst_qtiff.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
+
+# Resources:
+set_source_files_properties("../../shared/images/tiff/16bpc.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/16bpc.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/colorful.bmp"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/colorful.bmp"
+)
+set_source_files_properties("../../shared/images/tiff/corrupt-data.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/corrupt-data.tif"
+)
+set_source_files_properties("../../shared/images/tiff/gray16.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/gray16.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/grayscale-ref.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/grayscale-ref.tif"
+)
+set_source_files_properties("../../shared/images/tiff/grayscale.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/grayscale.tif"
+)
+set_source_files_properties("../../shared/images/tiff/image.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/image.tif"
+)
+set_source_files_properties("../../shared/images/tiff/image_100dpi.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/image_100dpi.tif"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_1.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_1.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_2.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_2.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_3.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_3.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_4.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_4.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_5.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_5.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_6.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_6.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_7.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_7.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_8.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_8.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_1.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_1.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_2.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_2.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_3.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_3.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_4.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_4.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_5.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_5.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_6.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_6.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_7.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_7.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_8.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_8.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/multipage.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/multipage.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/oddsize_grayscale.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/oddsize_grayscale.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/oddsize_mono.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/oddsize_mono.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/original_grayscale.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/original_grayscale.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/original_indexed.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/original_indexed.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/original_mono.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/original_mono.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/original_rgb.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/original_rgb.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_1.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_1.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_2.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_2.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_3.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_3.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_4.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_4.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_5.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_5.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_6.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_6.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_7.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_7.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_8.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_8.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgba_adobedeflate_littleendian.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgba_adobedeflate_littleendian.tif"
+)
+set_source_files_properties("../../shared/images/tiff/rgba_lzw_littleendian.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgba_lzw_littleendian.tif"
+)
+set_source_files_properties("../../shared/images/tiff/rgba_nocompression_bigendian.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgba_nocompression_bigendian.tif"
+)
+set_source_files_properties("../../shared/images/tiff/rgba_nocompression_littleendian.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgba_nocompression_littleendian.tif"
+)
+set_source_files_properties("../../shared/images/tiff/rgba_packbits_littleendian.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgba_packbits_littleendian.tif"
+)
+set_source_files_properties("../../shared/images/tiff/rgba_zipdeflate_littleendian.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgba_zipdeflate_littleendian.tif"
+)
+set_source_files_properties("../../shared/images/tiff/teapot.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/teapot.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/tiled_grayscale.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/tiled_grayscale.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/tiled_indexed.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/tiled_indexed.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/tiled_mono.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/tiled_mono.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/tiled_oddsize_grayscale.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/tiled_oddsize_grayscale.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/tiled_oddsize_mono.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/tiled_oddsize_mono.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/tiled_rgb.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/tiled_rgb.tiff"
+)
+set(tiff_resource_files
+ "tiff/16bpc.tiff"
+ "tiff/colorful.bmp"
+ "tiff/corrupt-data.tif"
+ "tiff/gray16.tiff"
+ "tiff/grayscale-ref.tif"
+ "tiff/grayscale.tif"
+ "tiff/image.tif"
+ "tiff/image_100dpi.tif"
+ "tiff/indexed_orientation_1.tiff"
+ "tiff/indexed_orientation_2.tiff"
+ "tiff/indexed_orientation_3.tiff"
+ "tiff/indexed_orientation_4.tiff"
+ "tiff/indexed_orientation_5.tiff"
+ "tiff/indexed_orientation_6.tiff"
+ "tiff/indexed_orientation_7.tiff"
+ "tiff/indexed_orientation_8.tiff"
+ "tiff/mono_orientation_1.tiff"
+ "tiff/mono_orientation_2.tiff"
+ "tiff/mono_orientation_3.tiff"
+ "tiff/mono_orientation_4.tiff"
+ "tiff/mono_orientation_5.tiff"
+ "tiff/mono_orientation_6.tiff"
+ "tiff/mono_orientation_7.tiff"
+ "tiff/mono_orientation_8.tiff"
+ "tiff/multipage.tiff"
+ "tiff/oddsize_grayscale.tiff"
+ "tiff/oddsize_mono.tiff"
+ "tiff/original_grayscale.tiff"
+ "tiff/original_indexed.tiff"
+ "tiff/original_mono.tiff"
+ "tiff/original_rgb.tiff"
+ "tiff/rgb_orientation_1.tiff"
+ "tiff/rgb_orientation_2.tiff"
+ "tiff/rgb_orientation_3.tiff"
+ "tiff/rgb_orientation_4.tiff"
+ "tiff/rgb_orientation_5.tiff"
+ "tiff/rgb_orientation_6.tiff"
+ "tiff/rgb_orientation_7.tiff"
+ "tiff/rgb_orientation_8.tiff"
+ "tiff/rgba_adobedeflate_littleendian.tif"
+ "tiff/rgba_lzw_littleendian.tif"
+ "tiff/rgba_nocompression_bigendian.tif"
+ "tiff/rgba_nocompression_littleendian.tif"
+ "tiff/rgba_packbits_littleendian.tif"
+ "tiff/rgba_zipdeflate_littleendian.tif"
+ "tiff/teapot.tiff"
+ "tiff/tiled_grayscale.tiff"
+ "tiff/tiled_indexed.tiff"
+ "tiff/tiled_mono.tiff"
+ "tiff/tiled_oddsize_grayscale.tiff"
+ "tiff/tiled_oddsize_mono.tiff"
+ "tiff/tiled_rgb.tiff"
+)
+
+add_qt_resource(tst_qtiff "tiff"
+ PREFIX
+ "/"
+ BASE
+ "../../shared/images"
+ FILES
+ ${tiff_resource_files}
+)
+
diff --git a/tests/auto/wbmp/CMakeLists.txt b/tests/auto/wbmp/CMakeLists.txt
new file mode 100644
index 0000000..9b7a3fb
--- /dev/null
+++ b/tests/auto/wbmp/CMakeLists.txt
@@ -0,0 +1,34 @@
+# Generated from wbmp.pro.
+
+#####################################################################
+## tst_qwbmp Test:
+#####################################################################
+
+add_qt_test(tst_qwbmp
+ SOURCES
+ tst_qwbmp.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
+
+# Resources:
+set_source_files_properties("../../shared/images/wbmp/qt-logo-big.wbmp"
+ PROPERTIES QT_RESOURCE_ALIAS "wbmp/qt-logo-big.wbmp"
+)
+set_source_files_properties("../../shared/images/wbmp/qt-logo-small.wbmp"
+ PROPERTIES QT_RESOURCE_ALIAS "wbmp/qt-logo-small.wbmp"
+)
+set(wbmp_resource_files
+ "wbmp/qt-logo-big.wbmp"
+ "wbmp/qt-logo-small.wbmp"
+)
+
+add_qt_resource(tst_qwbmp "wbmp"
+ PREFIX
+ "/"
+ BASE
+ "../../shared/images"
+ FILES
+ ${wbmp_resource_files}
+)
+
diff --git a/tests/auto/webp/CMakeLists.txt b/tests/auto/webp/CMakeLists.txt
new file mode 100644
index 0000000..6c257ec
--- /dev/null
+++ b/tests/auto/webp/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from webp.pro.
+
+#####################################################################
+## tst_qwebp Test:
+#####################################################################
+
+add_qt_test(tst_qwebp
+ SOURCES
+ tst_qwebp.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
+
+# Resources:
+set(webp_resource_files
+ "images/kollada.png"
+ "images/kollada.webp"
+ "images/kollada_animation.webp"
+ "images/kollada_lossless.webp"
+ "images/kollada_noalpha.webp"
+)
+
+add_qt_resource(tst_qwebp "webp"
+ PREFIX
+ "/"
+ FILES
+ ${webp_resource_files}
+)
+
diff --git a/tests/benchmarks/CMakeLists.txt b/tests/benchmarks/CMakeLists.txt
new file mode 100644
index 0000000..14b22d3
--- /dev/null
+++ b/tests/benchmarks/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Generated from benchmarks.pro.
+
+if(ON)
+ add_subdirectory(mng)
+ add_subdirectory(tiff)
+endif()
diff --git a/tests/benchmarks/mng/CMakeLists.txt b/tests/benchmarks/mng/CMakeLists.txt
new file mode 100644
index 0000000..bbe61cf
--- /dev/null
+++ b/tests/benchmarks/mng/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from mng.pro.
+
+#####################################################################
+## tst_bench_qmng Binary:
+#####################################################################
+
+add_qt_executable(tst_bench_qmng
+ SOURCES
+ tst_qmng.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Test
+)
+
+# Resources:
+set_source_files_properties("../../shared/images/mng/animation.mng"
+ PROPERTIES QT_RESOURCE_ALIAS "mng/animation.mng"
+)
+set_source_files_properties("../../shared/images/mng/ball.mng"
+ PROPERTIES QT_RESOURCE_ALIAS "mng/ball.mng"
+)
+set_source_files_properties("../../shared/images/mng/corrupt.mng"
+ PROPERTIES QT_RESOURCE_ALIAS "mng/corrupt.mng"
+)
+set_source_files_properties("../../shared/images/mng/dutch.mng"
+ PROPERTIES QT_RESOURCE_ALIAS "mng/dutch.mng"
+)
+set_source_files_properties("../../shared/images/mng/fire.mng"
+ PROPERTIES QT_RESOURCE_ALIAS "mng/fire.mng"
+)
+set(mng_resource_files
+ "mng/animation.mng"
+ "mng/ball.mng"
+ "mng/corrupt.mng"
+ "mng/dutch.mng"
+ "mng/fire.mng"
+)
+
+add_qt_resource(tst_bench_qmng "mng"
+ PREFIX
+ "/"
+ BASE
+ "../../shared/images"
+ FILES
+ ${mng_resource_files}
+)
+
diff --git a/tests/benchmarks/tiff/CMakeLists.txt b/tests/benchmarks/tiff/CMakeLists.txt
new file mode 100644
index 0000000..20d9ce7
--- /dev/null
+++ b/tests/benchmarks/tiff/CMakeLists.txt
@@ -0,0 +1,235 @@
+# Generated from tiff.pro.
+
+#####################################################################
+## tst_bench_qtiff Binary:
+#####################################################################
+
+add_qt_executable(tst_bench_qtiff
+ SOURCES
+ tst_qtiff.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Test
+)
+
+# Resources:
+set_source_files_properties("../../shared/images/tiff/16bpc.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/16bpc.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/colorful.bmp"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/colorful.bmp"
+)
+set_source_files_properties("../../shared/images/tiff/corrupt-data.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/corrupt-data.tif"
+)
+set_source_files_properties("../../shared/images/tiff/gray16.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/gray16.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/grayscale-ref.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/grayscale-ref.tif"
+)
+set_source_files_properties("../../shared/images/tiff/grayscale.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/grayscale.tif"
+)
+set_source_files_properties("../../shared/images/tiff/image.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/image.tif"
+)
+set_source_files_properties("../../shared/images/tiff/image_100dpi.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/image_100dpi.tif"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_1.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_1.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_2.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_2.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_3.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_3.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_4.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_4.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_5.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_5.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_6.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_6.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_7.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_7.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/indexed_orientation_8.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/indexed_orientation_8.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_1.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_1.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_2.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_2.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_3.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_3.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_4.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_4.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_5.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_5.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_6.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_6.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_7.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_7.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/mono_orientation_8.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/mono_orientation_8.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/multipage.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/multipage.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/oddsize_grayscale.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/oddsize_grayscale.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/oddsize_mono.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/oddsize_mono.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/original_grayscale.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/original_grayscale.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/original_indexed.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/original_indexed.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/original_mono.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/original_mono.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/original_rgb.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/original_rgb.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_1.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_1.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_2.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_2.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_3.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_3.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_4.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_4.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_5.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_5.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_6.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_6.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_7.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_7.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgb_orientation_8.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgb_orientation_8.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/rgba_adobedeflate_littleendian.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgba_adobedeflate_littleendian.tif"
+)
+set_source_files_properties("../../shared/images/tiff/rgba_lzw_littleendian.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgba_lzw_littleendian.tif"
+)
+set_source_files_properties("../../shared/images/tiff/rgba_nocompression_bigendian.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgba_nocompression_bigendian.tif"
+)
+set_source_files_properties("../../shared/images/tiff/rgba_nocompression_littleendian.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgba_nocompression_littleendian.tif"
+)
+set_source_files_properties("../../shared/images/tiff/rgba_packbits_littleendian.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgba_packbits_littleendian.tif"
+)
+set_source_files_properties("../../shared/images/tiff/rgba_zipdeflate_littleendian.tif"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/rgba_zipdeflate_littleendian.tif"
+)
+set_source_files_properties("../../shared/images/tiff/teapot.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/teapot.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/tiled_grayscale.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/tiled_grayscale.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/tiled_indexed.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/tiled_indexed.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/tiled_mono.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/tiled_mono.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/tiled_oddsize_grayscale.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/tiled_oddsize_grayscale.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/tiled_oddsize_mono.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/tiled_oddsize_mono.tiff"
+)
+set_source_files_properties("../../shared/images/tiff/tiled_rgb.tiff"
+ PROPERTIES QT_RESOURCE_ALIAS "tiff/tiled_rgb.tiff"
+)
+set(tiff_resource_files
+ "tiff/16bpc.tiff"
+ "tiff/colorful.bmp"
+ "tiff/corrupt-data.tif"
+ "tiff/gray16.tiff"
+ "tiff/grayscale-ref.tif"
+ "tiff/grayscale.tif"
+ "tiff/image.tif"
+ "tiff/image_100dpi.tif"
+ "tiff/indexed_orientation_1.tiff"
+ "tiff/indexed_orientation_2.tiff"
+ "tiff/indexed_orientation_3.tiff"
+ "tiff/indexed_orientation_4.tiff"
+ "tiff/indexed_orientation_5.tiff"
+ "tiff/indexed_orientation_6.tiff"
+ "tiff/indexed_orientation_7.tiff"
+ "tiff/indexed_orientation_8.tiff"
+ "tiff/mono_orientation_1.tiff"
+ "tiff/mono_orientation_2.tiff"
+ "tiff/mono_orientation_3.tiff"
+ "tiff/mono_orientation_4.tiff"
+ "tiff/mono_orientation_5.tiff"
+ "tiff/mono_orientation_6.tiff"
+ "tiff/mono_orientation_7.tiff"
+ "tiff/mono_orientation_8.tiff"
+ "tiff/multipage.tiff"
+ "tiff/oddsize_grayscale.tiff"
+ "tiff/oddsize_mono.tiff"
+ "tiff/original_grayscale.tiff"
+ "tiff/original_indexed.tiff"
+ "tiff/original_mono.tiff"
+ "tiff/original_rgb.tiff"
+ "tiff/rgb_orientation_1.tiff"
+ "tiff/rgb_orientation_2.tiff"
+ "tiff/rgb_orientation_3.tiff"
+ "tiff/rgb_orientation_4.tiff"
+ "tiff/rgb_orientation_5.tiff"
+ "tiff/rgb_orientation_6.tiff"
+ "tiff/rgb_orientation_7.tiff"
+ "tiff/rgb_orientation_8.tiff"
+ "tiff/rgba_adobedeflate_littleendian.tif"
+ "tiff/rgba_lzw_littleendian.tif"
+ "tiff/rgba_nocompression_bigendian.tif"
+ "tiff/rgba_nocompression_littleendian.tif"
+ "tiff/rgba_packbits_littleendian.tif"
+ "tiff/rgba_zipdeflate_littleendian.tif"
+ "tiff/teapot.tiff"
+ "tiff/tiled_grayscale.tiff"
+ "tiff/tiled_indexed.tiff"
+ "tiff/tiled_mono.tiff"
+ "tiff/tiled_oddsize_grayscale.tiff"
+ "tiff/tiled_oddsize_mono.tiff"
+ "tiff/tiled_rgb.tiff"
+)
+
+add_qt_resource(tst_bench_qtiff "tiff"
+ PREFIX
+ "/"
+ BASE
+ "../../shared/images"
+ FILES
+ ${tiff_resource_files}
+)
+