mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 13:41:16 +01:00
18 lines
430 B
C++
18 lines
430 B
C++
#include "GUI/app.h"
|
|
#include "GUI/timezoneinfo.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
|
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
|
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
|
|
|
qRegisterMetaTypeStreamOperators<TimeZoneInfo>("TimeZoneInfo");
|
|
#else // QT6
|
|
qRegisterMetaType<TimeZoneInfo>("TimeZoneInfo");
|
|
#endif // QT6
|
|
|
|
App app(argc, argv);
|
|
return app.run();
|
|
}
|