Add dummy_imports for qmlimportscanner to find the correct dependencies
Otherwise, some dependencies won't be fulfilled and the following will fail: component.setData("import QtQml\nQtObject{}", QUrl()) Pick-to: 6.2 6.3 Task-number: QTBUG-97056 Change-Id: If53c77b992a01051d7e83378723000615be9dfe8 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
parent
8487781809
commit
91930dd3d7
|
@ -0,0 +1,7 @@
|
|||
// This file exists for the sole purpose for qmlimportscanner to find
|
||||
// which modules it needs to extract for deployment.
|
||||
// Otherwise, it fails to find the imports that are expressed in C++
|
||||
|
||||
import QtQml
|
||||
|
||||
QtObject { } // This is needed in order to keep importscanner happy
|
|
@ -0,0 +1,7 @@
|
|||
// This file exists for the sole purpose for qmlimportscanner to find
|
||||
// which modules it needs to extract for deployment.
|
||||
// Otherwise, it fails to find the imports that are expressed in C++
|
||||
|
||||
import QtQml
|
||||
|
||||
QtObject { } // This is needed in order to keep importscanner happy
|
Loading…
Reference in New Issue