i just asking myself how to restart my own qt application?
Can somebody please show me an example?
To restart application, try:
#include <QApplication> #include <QProcess> ... // restart: qApp->quit(); QProcess::startDetached(qApp->arguments()[0], qApp->arguments());
1.4m articles
1.4m replys
5 comments
57.0k users