Single instance application
Unsolved
General and Desktop
-
wrote on 23 Mar 2024, 18:08 last edited by
Good morning,
I'd like to know what's the best approach of having only one instance running of my Qt5 based application.
Thank you -
Good morning,
I'd like to know what's the best approach of having only one instance running of my Qt5 based application.
Thank youwrote on 23 Mar 2024, 18:32 last edited by JonB@franco-amato
- There is an old one but I believe kept up-to-date,
QtSingleApplication
at https://code.qt.io/cgit/qt-solutions/qt-solutions.git/. - There are various alternatives in https://stackoverflow.com/questions/5006547/qt-best-practice-for-a-single-instance-app-protection/.
- See https://github.com/itay-grudev/SingleApplication for code which claims to be superior to
QtSingleApplication
.
- There is an old one but I believe kept up-to-date,
1/2