From 30b374637070581f04fc75287a32be943b00d422 Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Wed, 5 Jun 2019 13:39:41 +0200 Subject: 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 Reviewed-by: Qt CMake Build Bot --- util/cmake/helper.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util/cmake/helper.py') 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. ] -- cgit v1.2.3