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());
2.1m questions
2.1m answers
60 comments
57.0k users