diff options
author | Jean-Michaël Celerier <jeanmichael.celerier@gmail.com> | 2019-05-03 16:03:15 +0200 |
---|---|---|
committer | Jean-Michaël Celerier <jean-michael.celerier@kdab.com> | 2019-06-04 10:08:07 +0000 |
commit | 0900298d466e819dd6d8fd39c0be333dc09af189 (patch) | |
tree | 9ced8b95aa4bf26916564426105f841433c73273 /src | |
parent | 9e6781b69e19f66cb56b1875c583da4682909a85 (diff) |
cmake: register plug-ins, create dependencies file
This commit introduces infrastructure work to allow static builds of Qt
to handle importing of plug-ins.
Change-Id: Ife0ca3ca7276ea8ec96fe0eb6adf934fad7620ec
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/CMakeLists.txt | 10 | ||||
-rw-r--r-- | src/plugins/imageformats/ico/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/sql/CMakeLists.txt | 2 |
3 files changed, 14 insertions, 0 deletions
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index b3f5a880b1..50e966d34d 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -39,6 +39,16 @@ endif() # special case end add_qt_module(Gui + PLUGIN_TYPES + platforms + platforms/darwin + xcbglintegrations + platformthemes + platforminputcontexts + generic + iconengines + imageformats + egldeviceintegrations FEATURE_DEPENDENCIES # special case: Qt::Network # special case: SOURCES diff --git a/src/plugins/imageformats/ico/CMakeLists.txt b/src/plugins/imageformats/ico/CMakeLists.txt index 160b440dff..976ab98266 100644 --- a/src/plugins/imageformats/ico/CMakeLists.txt +++ b/src/plugins/imageformats/ico/CMakeLists.txt @@ -13,6 +13,8 @@ add_qt_plugin(qico Qt::GuiPrivate # special case PUBLIC_LIBRARIES # special case Qt::Gui # special case + CLASS_NAME + QICOPlugin ) #### Keys ignored in scope 1:.:.:ico.pro:<TRUE>: diff --git a/src/sql/CMakeLists.txt b/src/sql/CMakeLists.txt index f84d12dc12..8f728e7079 100644 --- a/src/sql/CMakeLists.txt +++ b/src/sql/CMakeLists.txt @@ -5,6 +5,8 @@ ##################################################################### add_qt_module(Sql + PLUGIN_TYPES + sqldrivers SOURCES kernel/qsqlcachedresult.cpp kernel/qsqlcachedresult_p.h kernel/qsqldatabase.cpp kernel/qsqldatabase.h |