diff options
author | Leander Beernaert <leander.beernaert@qt.io> | 2019-06-05 13:39:41 +0200 |
---|---|---|
committer | Leander Beernaert <leander.beernaert@qt.io> | 2019-07-15 12:28:12 +0000 |
commit | 30b374637070581f04fc75287a32be943b00d422 (patch) | |
tree | b8f84973b3c7bc6ec488e9e27802890744d2ce10 /util/cmake/helper.py | |
parent | faac0ef8c6f418aab019d7eb96d32178cddab4be (diff) |
Add support for QML plugins
Add the necessary code to both the QtBuild and pro2cmake to be able
to handle qml plugins in qt declarative.
Add condition replacement for QTDIR_build to QT_BUILDING_QT so that
certain qml examples work correctly when being built in the build
directory.
Fix add_qt_resources not being updated during build after changes
were made. Files list used as dependencies were not populated.
Add missing module mappings for qtdeclarative.
Change-Id: I0f71d0a3a0e7e97ba96807950d11cffaee04d9b2
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Qt CMake Build Bot
Diffstat (limited to 'util/cmake/helper.py')
-rw-r--r-- | util/cmake/helper.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/cmake/helper.py b/util/cmake/helper.py index 3be4a505a7..fcd38883c3 100644 --- a/util/cmake/helper.py +++ b/util/cmake/helper.py @@ -176,6 +176,8 @@ _qt_library_map = [ LibraryMapping('xkbcommon_support', 'Qt6', 'Qt::XkbCommonSupport', extra = ['COMPONENTS', 'XkbCommonSupport']), LibraryMapping('xmlpatterns', 'Qt6', 'Qt::XmlPatterns', extra = ['COMPONENTS', 'XmlPatterns']), LibraryMapping('xml', 'Qt6', 'Qt::Xml', extra = ['COMPONENTS', 'Xml']), + LibraryMapping('qmlworkerscript', 'Qt6', 'Qt::QmlWorkerScript', extra = ['COMPONENTS', 'QmlWorkerScript']), + LibraryMapping('quickparticles', 'Qt6', 'Qt::QuickParticles', extra = ['COMPONENTS', 'QuickParticles']) # qtzlib: No longer supported. ] |