2016-09-27 00:06:28 +00:00
|
|
|
#include <QGuiApplication>
|
|
|
|
#include <QQmlApplicationEngine>
|
|
|
|
#include <QQmlContext>
|
|
|
|
|
|
|
|
#include <QDebug>
|
|
|
|
|
|
|
|
#include <Qt>
|
2017-01-16 17:57:25 +00:00
|
|
|
#include <QZXing.h>
|
2017-01-29 15:54:16 +00:00
|
|
|
#include "application.h"
|
2016-09-27 00:06:28 +00:00
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
|
|
|
QGuiApplication app(argc, argv);
|
|
|
|
|
2017-01-16 17:57:25 +00:00
|
|
|
QZXing::registerQMLTypes();
|
2016-09-27 00:06:28 +00:00
|
|
|
|
2017-01-29 15:54:16 +00:00
|
|
|
Application customApp;
|
|
|
|
customApp.checkPermissions();
|
|
|
|
|
2016-09-27 00:06:28 +00:00
|
|
|
return app.exec();
|
|
|
|
}
|