1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00
GPXSee/src/main.cpp

18 lines
430 B
C++
Raw Normal View History

2017-11-26 18:54:03 +01:00
#include "GUI/app.h"
#include "GUI/timezoneinfo.h"
2015-10-05 01:43:48 +02:00
int main(int argc, char *argv[])
{
#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);
qRegisterMetaTypeStreamOperators<TimeZoneInfo>("TimeZoneInfo");
#else // QT6
qRegisterMetaType<TimeZoneInfo>("TimeZoneInfo");
#endif // QT6
2018-08-18 21:06:36 +02:00
App app(argc, argv);
return app.run();
2015-10-05 01:43:48 +02:00
}