Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.2.0 RC1
-
None
-
All
-
cf51cdb8fb002ae3602a4c886e7c67913d77373a
Description
In QQmlImportDatabase::importPlugin when passing the uri to
ep->typeLoader.initializeEngine(eiface, moduleId);
it uses
const char *moduleId = uri.toUtf8().constData();
to convert to a utf8 char*. This does not work, as the underlying QByteArray is destroyed as soon as the function call is done.