Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0
-
None
-
Linux amd64
-
d73497f136fbfad5d367e5af429adb7d38af6dfe (qt/qtdeclarative/5.12)
Description
The following code segfaults for me :
int main(int argc, char** argv) { QCoreApplication app(argc, argv); QQmlEngine eng; QQmlComponent comp; comp.setData("import QtQuick 1.0; QtObject { }", QUrl("")); }
I have to set (rightfully) the parent of QQmlComponent (
QQmlComponent comp{&eng};
) but I don't think that it should crash.