1 2 3 4 5 6 7 8 9
#include <singleapplication.h> int main(int argc, char *argv[]) { // Allow secondary instances SingleApplication app( argc, argv ); return app.exec(); }