cmake: Build src/plugins/imageformats
Change-Id: I4bf09c50eebf71255590e9b17e637ce621d3cd40 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
parent
70419e31f9
commit
6d51f69bbf
@ -1,3 +1,4 @@
|
||||
if(QT_FEATURE_gui)
|
||||
add_subdirectory(imageformats)
|
||||
add_subdirectory(platforms)
|
||||
endif()
|
||||
|
11
src/plugins/imageformats/CMakeLists.txt
Normal file
11
src/plugins/imageformats/CMakeLists.txt
Normal file
@ -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()
|
||||
|
||||
|
14
src/plugins/imageformats/gif/CMakeLists.txt
Normal file
14
src/plugins/imageformats/gif/CMakeLists.txt
Normal file
@ -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
|
||||
)
|
15
src/plugins/imageformats/ico/CMakeLists.txt
Normal file
15
src/plugins/imageformats/ico/CMakeLists.txt
Normal file
@ -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
|
||||
)
|
19
src/plugins/imageformats/jpeg/CMakeLists.txt
Normal file
19
src/plugins/imageformats/jpeg/CMakeLists.txt
Normal file
@ -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
|
||||
)
|
Loading…
Reference in New Issue
Block a user