main.cpp 305 B

123456789101112131415161718
  1. #include <QCoreApplication>
  2. #include <QTimer>
  3. #include "mcrpc.h"
  4. int main(int argc, char *argv[])
  5. {
  6. QCoreApplication app(argc, argv);
  7. QCoreApplication::setApplicationName("mcrpc");
  8. mcrpc instance;
  9. QTimer::singleShot(0, &instance, &mcrpc::run);
  10. return QCoreApplication::exec();
  11. }