> -----Original Message----- > From: [email protected] [mailto:qt- > [email protected]] On Behalf Of ext > sarvesh saran > Sent: Thursday, November 10, 2011 4:20 PM > To: [email protected] > 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 _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
