mirror of
https://github.com/YikeStone/Qt-Advent.git
synced 2025-08-02 18:04:08 +05:30
12 lines
212 B
C++
12 lines
212 B
C++
#include <QCoreApplication>
|
|
#include<Loop.h>
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QCoreApplication a(argc, argv);
|
|
Loop b;
|
|
b.start();
|
|
int c = a.exec();
|
|
b.flag = 0;b.disconnect();
|
|
return c;
|
|
}
|