Use ISO-8859-1 as the fallback encoding rather than UTF-8
[GPXSee.git] / src / main.cpp
blobd0067146c26e82b1c8210c1d6b937e8ebe9597e7
1 #include "GUI/app.h"
2 #include "GUI/timezoneinfo.h"
4 int main(int argc, char *argv[])
6 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
7 QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
8 QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
10 qRegisterMetaTypeStreamOperators<TimeZoneInfo>("TimeZoneInfo");
11 #else // QT6
12 qRegisterMetaType<TimeZoneInfo>("TimeZoneInfo");
13 #endif // QT6
15 App app(argc, argv);
16 return app.run();