summaryrefslogtreecommitdiffstats
path: root/src/plugins/generic
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2019-07-18 09:38:37 +0200
committerLeander Beernaert <leander.beernaert@qt.io>2019-07-22 14:28:19 +0000
commit31341ad63abbf67fc6a058284e5f48c33a6c4e8f (patch)
treeb43292a826a276a22d9027a432f20caef777dfe6 /src/plugins/generic
parent9f40dddaaab969ab278aef9bb05bc077f8b1cee9 (diff)
Simplify add_qml_module code
Reduce the amount of code required to add a qml plugin to cmake by making add_qml_module wrap the add_qt_plugin code where required. add_qml_module will also create a dummy target so that qml files will appear as source files in an IDE when no cpp files are present. CXX_MODULE qmake parameter has been dropped in favor of an explicit IMPORT_VERSION parameter, since it was only used to determine the version when the IMPORT_VERSION was not specified. Change-Id: I4a4b626566720d04c62d246ca521db8c4a95b10f Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/plugins/generic')
0 files changed, 0 insertions, 0 deletions