2021-05-27 10:52:30 +03:00
|
|
|
#include <QGuiApplication>
|
|
|
|
#include <QQmlApplicationEngine>
|
|
|
|
#include <QQmlContext>
|
2021-05-27 14:54:27 +03:00
|
|
|
#include <SnakeProject/clientapp.h>
|
2021-05-27 10:52:30 +03:00
|
|
|
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
|
2021-06-10 18:07:04 +03:00
|
|
|
QCoreApplication::setOrganizationName("QuasarApp");
|
|
|
|
QCoreApplication::setApplicationName("Snake");
|
|
|
|
|
2021-05-27 10:52:30 +03:00
|
|
|
QGuiApplication app(argc, argv);
|
|
|
|
QQmlApplicationEngine engine;
|
|
|
|
ClientApp client;
|
|
|
|
|
|
|
|
if (!client.init(&engine)) {
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
return app.exec();
|
2021-05-25 12:11:49 +03:00
|
|
|
}
|