[SOLVED] [Moved] Close Application
-
Hi all,
sorry form my "Stupid Question" but i can't find the metod to Close main tread and close my application.Can explain me the solution?
Tnx e regard
-
qApp->exit()
-
but I have to import some FW?
-
Your question is rather general. Did you use "Qt Creator":http://doc.qt.nokia.com/qtcreator-2.3/creator-getting-started.html to generate a project using one of it's wizards?
What is FW in your dictionary?
-
You need to inlude this
@#include <QApplication>@
and call "qApp":http://doc.qt.nokia.com/latest/qapplication.html#qApp -> "quit()":http://doc.qt.nokia.com/latest/qcoreapplication.html#quit -
:) tnx rokemoon
tnx to all :)