Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.4
-
-
b79b9e35334b3bdd41329f2ea74bc82f3f05ae52 (qt/qtdeclarative/5.12)
Description
inserting
import "qrc:/"
in any qml file will trigger an assert in QQmlEngine.cpp
QQml_isFileCaseCorrect(const QString &fileName, int lengthIn /* = -1 */)
as it gets called with an empty string, which doesn't get checked:
if (absolute[0] == QLatin1Char(':'))
It is a regression as same source used to work in Qt 5.9
A workaround for now is to
import "qrc:/."