![]() ![]() ![]() make sure that the output directory exists QStringList _args=QCoreApplication::arguments() OUTPUT_DIR=QDir::homePath()+FILE_SEP+"fet-results" Srand(unsigned(time(NULL))) //useless, I use randomKnuth(), but just in case I use somewhere rand() by mistake. QObject::connect(&qapplication, SIGNAL(lastWindowClosed()), &qapplication, SLOT(quit())) ![]() QCoreApplication qapplication(argc, argv) ![]()
0 Comments
Leave a Reply. |