From c9b7582a2e7ad9fcd03dd999c3b7a16b72803238 Mon Sep 17 00:00:00 2001 From: Matthew Vogt Date: Wed, 25 Jul 2012 16:59:17 +1000 Subject: Implement strict mode for qmldir modules Allow a module's qmldir to contain a module directive, which when present specifies 'strict mode' import processing. In strict mode, type registrations are only permitted into the namespace identified in the qmldir file's module directive. In addition, any type registrations to that namespace originating from other modules are treated as error conditions. Task-number: QTBUG-26551 Change-Id: I081bde2d3b83d3f28524440177fb2cd1ccee34ad Reviewed-by: Chris Adams Reviewed-by: Roberto Raggi --- src/imports/testlib/qmldir | 1 + 1 file changed, 1 insertion(+) (limited to 'src/imports/testlib') diff --git a/src/imports/testlib/qmldir b/src/imports/testlib/qmldir index 9e872f9683..d126464e9a 100644 --- a/src/imports/testlib/qmldir +++ b/src/imports/testlib/qmldir @@ -1,3 +1,4 @@ +module QtTest plugin qmltestplugin TestCase 1.0 TestCase.qml SignalSpy 1.0 SignalSpy.qml -- cgit v1.2.3