1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00
GPXSee/src/main.cpp

20 lines
481 B
C++
Raw Normal View History

#include "common/config.h"
2020-05-20 21:00:36 +02:00
#ifdef ENABLE_TIMEZONES
#include "GUI/timezoneinfo.h"
#endif // ENABLE_TIMEZONES
2017-11-26 18:54:03 +01:00
#include "GUI/app.h"
2015-10-05 01:43:48 +02:00
int main(int argc, char *argv[])
{
2018-08-18 21:06:36 +02:00
#ifdef ENABLE_HIDPI
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif // ENABLE_HIDPI
2020-05-20 21:00:36 +02:00
#ifdef ENABLE_TIMEZONES
qRegisterMetaTypeStreamOperators<TimeZoneInfo>("TimeZoneInfo");
#endif // ENABLE_TIMEZONES
2018-08-18 21:06:36 +02:00
App app(argc, argv);
return app.run();
2015-10-05 01:43:48 +02:00
}