main.cpp 179 B

12345678910
  1. #include <singleapplication.h>
  2. int main(int argc, char *argv[])
  3. {
  4. SingleApplication app( argc, argv );
  5. qWarning() << "Started a new instance";
  6. return app.exec();
  7. }