2017-11-26 18:54:03 +01:00
|
|
|
#include "GUI/app.h"
|
2020-12-28 16:08:36 +01:00
|
|
|
#include "GUI/timezoneinfo.h"
|
2015-10-05 01:43:48 +02:00
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
2020-12-22 22:09:09 +01:00
|
|
|
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
2018-08-18 21:06:36 +02:00
|
|
|
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
|
|
|
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
2020-12-28 16:08:36 +01:00
|
|
|
|
|
|
|
qRegisterMetaTypeStreamOperators<TimeZoneInfo>("TimeZoneInfo");
|
|
|
|
#else // QT6
|
|
|
|
qRegisterMetaType<TimeZoneInfo>("TimeZoneInfo");
|
2020-12-22 22:09:09 +01:00
|
|
|
#endif // QT6
|
2018-08-18 21:06:36 +02:00
|
|
|
|
2016-04-29 21:13:38 +02:00
|
|
|
App app(argc, argv);
|
2018-11-02 20:01:19 +01:00
|
|
|
return app.run();
|
2015-10-05 01:43:48 +02:00
|
|
|
}
|