#include <QCoreApplication>
#include "MainProcess.h"
int main(int argc, char *argv[])
{
MainProcess mainProcess;
mainProcess.process();
return a.exec();
}
#include <QCoreApplication>
#include "MainProcess.h"
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
MainProcess mainProcess;
mainProcess.process();
return a.exec();
}
To copy to clipboard, switch view to plain text mode
I called
qApp->exit();
qApp->exit();
To copy to clipboard, switch view to plain text mode
Or
qApp->quit();
qApp->quit();
To copy to clipboard, switch view to plain text mode
But my console app don't exit.
Bookmarks