qt5base-lts/tests/auto
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
..
android Fix clean-up code in Android autotest script 2013-08-05 14:53:18 +02:00
bic/data test: Add 5.1.0 bic data for linux-gcc-ia32 2013-07-08 21:47:36 +02:00
cmake Teach CMake about Qt 5 plugins. 2013-09-10 14:38:18 +02:00
compilerwarnings/data Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concurrent QtConcurrent tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:25 +01:00
corelib Add a convenient way to get a type-erased smart pointer from a QVariant. 2013-09-11 12:24:42 +02:00
dbus Merge remote-tracking branch 'origin/stable' into dev 2013-08-27 22:51:09 +02:00
gui Remove Q_PACKED from structures that do not need to be packed 2013-09-13 11:47:06 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Merge remote-tracking branch 'origin/stable' into dev 2013-09-07 16:18:32 +02:00
opengl Fixed tst_qgl for fullscreen platforms 2013-08-07 09:01:36 +02:00
other Merge remote-tracking branch 'origin/stable' into dev 2013-08-14 09:06:31 +02:00
printsupport QPrintPreviewDialog: Prevent changing of page in resize handling. 2013-05-23 09:31:27 +02:00
shared Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
sql Remove Nokia-domains in commented-out test code. 2013-07-12 12:41:30 +02:00
testlib Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
tools moc: add -M<key=value> to ease static qml plugin linking 2013-09-13 11:48:08 +02:00
widgets Merge remote-tracking branch 'origin/stable' into dev 2013-09-07 16:18:32 +02:00
xml tests: Make the QT assignments more explicit 2013-08-21 19:05:52 +02:00
auto.pro Make the CMake tests run sequentially, not in parallel. 2013-07-08 14:48:03 +02:00
network-settings.h network test settings: support newer FTP server versions 2013-08-28 12:45:34 +02:00
qtest-config.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
test.pl Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00