PDA

View Full Version : How to obain segfault backtrace of QML app



mut
16th August 2016, 07:21
Hello

I have compiled qt from the sources using ./configure -release -force-debug-info
Then I added CONFIG+= debug in my myapp.pro
How can I print the segfault backtrace of my applicaiton to see where it is crashing:
- when the main.qml is started from qmlscene
- when the app is standalone i.e. started as ./myapp

Thanks

Mut

anda_skoa
17th August 2016, 19:03
You either run the application in the debugger or you analyize the dumped core (at least on Linux).

Just to be sure: you have C++ based QML types that segfault, right?

Cheers,
_