kossebau created this revision. kossebau added a reviewer: Plasma. Herald added projects: Frameworks, Build System. Herald added subscribers: kde-buildsystem, kde-frameworks-devel. kossebau requested review of this revision.
REVISION SUMMARY Having to maintain and sync the module identifier in multiple places and variants runs the chance of missing one place when changing it. Also is having to explicitly writing the qmldir file cumbersome when the buildsystem already has all needed information. For now there is just one macro, for the installation of C++ plugins. Future extension might be macros for the installation of QML files modules. Further extension could also allow to specifiy additional content of the qmldir, like "depends", "designersupported" & Co. REPOSITORY R240 Extra CMake Modules BRANCH addinstallqmlplugin REVISION DETAIL https://phabricator.kde.org/D20984 AFFECTED FILES docs/module/ECMInstallQmlModules.rst modules/ECMInstallQmlModules.cmake To: kossebau, #plasma Cc: kde-frameworks-devel, kde-buildsystem, bencreasy, michaelh, ngraham, bruns