Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.11.1
-
None
Description
On linux, you cannot add a qrc file to the QML2_IMPORT_PATH environment variable (which you would do to add the import paths to all qml engines).
The reason is the linux seperator, which is ":". In function QQmlImportDatabase::QQmlImportDatabase(QQmlEngine *e) the qrc files (which look like qrc:\myfolder\etc) are split into qrc and \myfolder\etc.
This is a problem in case you get an engine for free, where you cannot add an import path yourself (e.g. when using the Qt Virtual Keyboard).