2021-06-15 22:12:41 +03:00
|
|
|
//#
|
|
|
|
//# Copyright (C) 2021-2021 QuasarApp.
|
|
|
|
//# Distributed under the GPLv3 software license, see the accompanying
|
|
|
|
//# Everyone is permitted to copy and distribute verbatim copies
|
|
|
|
//# of this license document, but changing it is not allowed.
|
|
|
|
//#
|
|
|
|
|
2021-05-27 10:52:30 +03:00
|
|
|
#include <QGuiApplication>
|
|
|
|
#include <QQmlApplicationEngine>
|
|
|
|
#include <QQmlContext>
|
2021-06-16 16:10:14 +03:00
|
|
|
#include <Crawl/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
|
|
|
}
|