qt6-bb10/tests/auto/tools/moc
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
..
Test.framework/Headers Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
task71021
testproject Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
.gitattributes
.gitignore
Header
assign-namespace.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
backslash-newlines.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
c-comments.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
cstyle-enums.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
cxx11-enums.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
cxx11-explicit-override-control.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
cxx11-final-classes.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
dir-in-include-path.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
dollars.h moc: Support the '$' character as an identifier 2013-03-02 12:58:18 +01:00
error-on-wrong-notify.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
escapes-in-string-literals.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
extraqualification.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
forgotten-qinterface.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
forward-declared-param.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
function-with-attributes.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
gadgetwithnoenums.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
interface-from-framework.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
interface-from-include.h moc: add unittest for --ignore-option-clashes 2013-07-30 09:36:25 +02:00
macro-on-cmdline.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
moc.pro moc: add -M<key=value> to ease static qml plugin linking 2013-09-13 11:48:08 +02:00
namespaced-flags.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
no-keywords.h use qtconcurrent instead of qtgui in test code 2013-06-10 21:12:01 +02:00
oldstyle-casts.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
os9-newlines.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
parse-boost.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
parse-defines.h Fix tst_moc when variadic macros are enabled 2013-03-17 10:57:49 +01:00
plugin_metadata.h moc: add -M<key=value> to ease static qml plugin linking 2013-09-13 11:48:08 +02:00
pp-dollar-signs.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
pure-virtual-signals.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qinvokable.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qprivateslots.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
single_function_keyword.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
slots-with-void-template.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
task87883.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
task189996.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
task192552.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
task234909.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
task240368.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
template-gtgt.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
trigraphs.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
tst_moc.cpp moc: add -M<key=value> to ease static qml plugin linking 2013-09-13 11:48:08 +02:00
unterminated-function-macro.h moc: Error out when detecting unterminated macro usage 2013-02-19 20:51:44 +01:00
using-namespaces.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
warn-on-multiple-qobject-subclasses.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
warn-on-property-without-read.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
win-newlines.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00