Category : reload

I trying this code for reload my app #include <QThread> #include <QProcess> … // restart: qApp->quit(); QThread::msleep(5000); QProcess::startDetached(qApp->arguments()[0], qApp->arguments()); on my computer it is working. But on another not, because the app closing some sec and it will take differ times. What better alternative can i use? Source: Windows Que..

Read more