Ok please don't focus on number of arg !!!
If I use this code :
int main(int argc, char *argv[])
{
FlashLoader w;
w.show();
return a.exec();
}
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
FlashLoader w;
w.show();
return a.exec();
}
To copy to clipboard, switch view to plain text mode
and in my pro file
CONFIG += console
CONFIG += console
To copy to clipboard, switch view to plain text mode
If I run in Debug or Release mode through QTcreator I have no console open
If I run directly the exe, I have always console present
Bookmarks