1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

GCS- Fixes compile under Win.

This commit is contained in:
PT_Dreamer 2012-08-02 12:32:43 +01:00
parent c4d11c40bd
commit f0d6f78ba3

View File

@ -262,8 +262,9 @@ int main(int argc, char **argv)
rl.rlim_cur = rl.rlim_max;
setrlimit(RLIMIT_NOFILE, &rl);
#endif
#ifdef Q_OS_LINUX
QApplication::setAttribute(Qt::AA_X11InitThreads, true);
#endif
QApplication::setGraphicsSystem("raster");
SharedTools::QtSingleApplication app((QLatin1String(appNameC)), argc, argv);