Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
5.9.3
-
None
-
Qt 5.9.3 MSVC 2015 32 bit, Windows 7 64bit, Qt Creator 4.5, QBS project
Description
Stumbled upon this after deleting .qmlc file after it got pulled into repository accidentally
When I launched a debug build from qt creator I was greeted by this assert
this happens on
quickView = new QQuickWidget;
quickView->rootContext()->setContextProperty("infoObject", &report);
auto url = QUrl::fromLocalFile("QML/detailed.qml");
bool validUrl = url.isValid();
// url is valid, I made sure of that, crash happens on the line below
quickView->setSource(url);
Launching in release build regenerates the "detailed.qmlc" and after that debug build also works alright. The moment I manually delete qmlc again the crash starts happening again.
Attachments
Issue Links
- is duplicated by
-
QTBUG-58837 QQmlComponent can no longer load local, relative URLs
-
- Closed
-