qt5base-lts/tests/auto/tools
Richard Moe Gustavsen 31b4461097 moc: add -M<key=value> to ease static qml plugin linking
A module plugin in qml belongs to a URI/namespace. This
uri is resolved run-time by QtDeclarative by knowing the
path of the qmldir that references the plugin.
For static plugins this becomes a problem, since we lost
the information regarding which plugin belongs to which
qmldir, since a static plugin has no file path.

To avoid pushing the responsibility of clarifying this
onto the application developer, it is better to embed this
information into the meta data of the plugins themselves.
Since this information can be resolved by the
build system, a new option to moc has been added:
-M<key=value>
that will let you add meta tags to the meta data from
the command line to each class that has an IID specified.
For the URI case, we can then e.g do:
-Muri=QtQuick.Controls -Muri=QtQuick.Controls.Private

Change-Id: I81a156660148fc94db6f3cac0473e9e1c8458c58
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2013-09-13 11:48:08 +02:00
..
moc moc: add -M<key=value> to ease static qml plugin linking 2013-09-13 11:48:08 +02:00
qdbuscpp2xml Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qdbusxml2cpp Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qmake change reporting of missing files 2013-08-20 22:56:12 +02:00
rcc RCC: Make auto-test pick up the right binary 2013-08-13 17:24:49 +02:00
uic Fix module name format in displayed code 2013-02-11 01:43:21 +01:00
tools.pro test: Disable tst_uic when -no-widgets is used 2013-04-22 16:24:44 +02:00