diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-01-31 17:36:49 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2019-02-01 12:27:27 +0000 |
commit | 6d51f69bbf3d88f7da46586a01c26034850ce897 (patch) | |
tree | 319de483526712c1cf2a54cb595a38bba2fc4788 /src/plugins/imageformats | |
parent | 70419e31f9a8de172459a6e1cce67e816c7ddbed (diff) |
cmake: Build src/plugins/imageformats
Change-Id: I4bf09c50eebf71255590e9b17e637ce621d3cd40
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/imageformats')
-rw-r--r-- | src/plugins/imageformats/CMakeLists.txt | 11 | ||||
-rw-r--r-- | src/plugins/imageformats/gif/CMakeLists.txt | 14 | ||||
-rw-r--r-- | src/plugins/imageformats/ico/CMakeLists.txt | 15 | ||||
-rw-r--r-- | src/plugins/imageformats/jpeg/CMakeLists.txt | 19 |
4 files changed, 59 insertions, 0 deletions
diff --git a/src/plugins/imageformats/CMakeLists.txt b/src/plugins/imageformats/CMakeLists.txt new file mode 100644 index 0000000000..cd5c0347e5 --- /dev/null +++ b/src/plugins/imageformats/CMakeLists.txt @@ -0,0 +1,11 @@ +if(QT_FEATURE_gif) + add_subdirectory(gif) +endif() +if(QT_FEATURE_ico) + add_subdirectory(ico) +endif() +if(QT_FEATURE_jpeg) + add_subdirectory(jpeg) +endif() + + diff --git a/src/plugins/imageformats/gif/CMakeLists.txt b/src/plugins/imageformats/gif/CMakeLists.txt new file mode 100644 index 0000000000..efd910c3ff --- /dev/null +++ b/src/plugins/imageformats/gif/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from gif.pro. + +##################################################################### +## qgif Plugin: +##################################################################### + +add_qt_plugin(qgif + TYPE imageformats + SOURCES + main.cpp main.h + qgifhandler.cpp qgifhandler_p.h + LIBRARIES + Qt::Gui +) diff --git a/src/plugins/imageformats/ico/CMakeLists.txt b/src/plugins/imageformats/ico/CMakeLists.txt new file mode 100644 index 0000000000..52550eab60 --- /dev/null +++ b/src/plugins/imageformats/ico/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from ico.pro. + +##################################################################### +## qico Plugin: +##################################################################### + +add_qt_plugin(qico + TYPE imageformats + SOURCES + main.cpp main.h + qicohandler.cpp qicohandler.h + LIBRARIES + Qt::Gui + Qt::CorePrivate +) diff --git a/src/plugins/imageformats/jpeg/CMakeLists.txt b/src/plugins/imageformats/jpeg/CMakeLists.txt new file mode 100644 index 0000000000..f70c72b992 --- /dev/null +++ b/src/plugins/imageformats/jpeg/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from jpeg.pro. + +##################################################################### +## qjpeg Plugin: +##################################################################### + +find_package(JPEG) + +add_qt_plugin(qjpeg + TYPE imageformats + SOURCES + main.cpp main.h + qjpeghandler.cpp qjpeghandler_p.h + LIBRARIES + Qt::Gui + Qt::CorePrivate + Qt::GuiPrivate + JPEG::JPEG +) |