[Qt-qml] Crash: Why does a QML application crash when stopped?
kai.koehne at nokia.com
kai.koehne at nokia.com
Thu Nov 10 16:49:51 CET 2011
> -----Original Message-----
> From: qt-qml-bounces+kai.koehne=nokia.com at qt.nokia.com [mailto:qt-
> qml-bounces+kai.koehne=nokia.com at qt.nokia.com] On Behalf Of ext
> sarvesh saran
> Sent: Thursday, November 10, 2011 4:20 PM
> To: Qt-qml at qt.nokia.com
> Subject: [Qt-qml] Crash: Why does a QML application crash when stopped?
>
> Hi,
>
> I created a new QML application in Qt creator:
>
> File->New->Qt Quick Application.
>
> An application was created for me. A 'main.qml' and a 'main.cpp' were also
> automatically generated.
>
> Now I run this application (I have not touched it or added any code). When I
> click 'stop' in the application output window (the red button in Qt creator..its
> in the application output window below) the application crashes with the
> below message: Any ideas why?? This does not happen with a Qt Console
> application.
When pressing the 'red' button you're letting Qt Creator terminate the application. This is sometimes handy, but by no means the 'expected' way an application is closed :)
> The program has unexpectedly finished.
If you want to avoid this warning you should close your app by clicking on the "Hello World" (which by default calls Qt.quit()), clicking the "x" in window decoration etc.
> C:\myapps\testcrash-build-simulator-
> Simulator_Qt_for_MinGW_4_4__Qt_SDK__Debug\debug\testcrash.exe
> exited with code 62097
>
>
>
>
>
>
>
> thanks,
>
> Sarvesh
More information about the Qt-qml
mailing list