Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QML application crashes; How to Debug?

Tags:

c++

qt

qml

There is a crash in my QML application. Is there any way to debug it to find where it initiates?

like image 875
Mosi Avatar asked Aug 12 '26 19:08

Mosi


1 Answers

Yes, check the "Enable QML" check box in Creator before debugging:

In the Run Settings, Debugger Settings section, select the Enable QML check box to enable QML debugging.

As mentioned though, if you have any C++ code, then the problem likely lies there, and so you shouldn't need to enable QML debugging; just debug the code as usual.

like image 133
Mitch Avatar answered Aug 15 '26 09:08

Mitch



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!