cmake: imageformats plugin needs an if guard

And add TODO for all the other missing plugins

Change-Id: Ic1d3cb7398198aea37ccb4ed6c16fc64e454036a
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Albert Astals Cid 2019-02-11 17:55:32 +01:00
parent f9b78445a9
commit 8d05d88ab9

View File

@ -1,10 +1,28 @@
if (QT_FEATURE_sql)
# TODO add_subdirectory(sqldrivers)
endif()
if(QT_FEATURE_network AND QT_FEATURE_bearermanagement)
# TODO add_subdirectory(bearer)
endif()
if(QT_FEATURE_gui) if(QT_FEATURE_gui)
add_subdirectory(imageformats)
add_subdirectory(platforms) add_subdirectory(platforms)
add_subdirectory(platformthemes) add_subdirectory(platformthemes)
add_subdirectory(platforminputcontexts) add_subdirectory(platforminputcontexts)
if (QT_FEATURE_imageformatplugin)
add_subdirectory(imageformats)
endif()
if (NOT ANDROID AND QT_FEATURE_library) if (NOT ANDROID AND QT_FEATURE_library)
add_subdirectory(generic) add_subdirectory(generic)
endif() endif()
endif() endif()
if (QT_FEATURE_widgets)
# TODO add_subdirectory(styles)
endif()
if (NOT WINRT AND QT_FEATURE_printsupport)
# TODO add_subdirectory(printsupport)
endif()