2018-09-09 15:05:52 +03:00
|
|
|
#include <QGuiApplication>
|
|
|
|
#include <QQmlApplicationEngine>
|
2018-11-14 23:15:36 +03:00
|
|
|
#include <QQmlContext>
|
2019-07-30 01:16:19 +03:00
|
|
|
#include "clientapp.h"
|
2019-07-28 23:37:40 +03:00
|
|
|
|
2018-09-09 15:05:52 +03:00
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
|
|
|
|
|
|
|
QGuiApplication app(argc, argv);
|
|
|
|
QQmlApplicationEngine engine;
|
2019-07-28 23:37:40 +03:00
|
|
|
ClientApp client;
|
2018-10-11 18:09:35 +03:00
|
|
|
|
2019-07-29 11:45:04 +03:00
|
|
|
if (!client.init(&engine)) {
|
2019-07-28 23:37:40 +03:00
|
|
|
return 1;
|
|
|
|
}
|
2018-11-25 03:24:41 +03:00
|
|
|
|
2018-09-09 15:05:52 +03:00
|
|
|
return app.exec();
|
|
|
|
}
|