Solved QT Creator Crashes (Segmentation fault).
-
Hello!
I recently got into QTQuick with QTCreator on linux.
I'm currently using Fedora 28 with everything up to date.
I've been working with QTCreator for the last 2 hours and I've already encountered 6-8 crashed.
It doesn't seem to happen on an exact moment but it's usually when I'm using the QML designer.
I've tried to look for logs but the only thing that seems to be relevant is this message in the console when it crashes :QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings Empty filename passed to function QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings ... (lines skipped) QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings void QmlDesigner::RewriterTransaction::commit() No rewriter attached void QmlDesigner::RewriterTransaction::commit() No rewriter attached void QmlDesigner::RewriterTransaction::commit() No rewriter attached QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings Empty filename passed to function QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings ... (lines skipped) QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings Empty filename passed to function QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings [1] 3489 segmentation fault (core dumped) qtcreator
I genuinely can't tell why and it's really bothering because I cannot work for more than a few minutes/Seconds at a time...
-
Hi @furest,
which version of Creator is this? (Help > About Qt Creator)
-
Hi!
I'm using the latest available I think... Here's a screenshot of the about box :
-
-
Sure thing!
I've uninstalled it through dnf (package manager of fedora) and i'm currently trying through the online installer.
I will come back once it's done!Thank you for the advise!
-
Hello again!
I've been testing for a bit more than an hour now and it still haven't crashed. Yay! I guess we can say it's fixed.
Thank you for the hint.