|
|
@ -28,6 +28,7 @@ |
|
|
|
#include <QFontDatabase> |
|
|
|
#include <QFontDatabase> |
|
|
|
#include <QQuickWindow> |
|
|
|
#include <QQuickWindow> |
|
|
|
#include <QQuickImageProvider> |
|
|
|
#include <QQuickImageProvider> |
|
|
|
|
|
|
|
#include <QQuickStyle> |
|
|
|
|
|
|
|
|
|
|
|
#ifdef QGC_ENABLE_BLUETOOTH |
|
|
|
#ifdef QGC_ENABLE_BLUETOOTH |
|
|
|
#include <QBluetoothLocalDevice> |
|
|
|
#include <QBluetoothLocalDevice> |
|
|
@ -218,6 +219,11 @@ QGCApplication::QGCApplication(int &argc, char* argv[], bool unitTesting) |
|
|
|
} |
|
|
|
} |
|
|
|
permFile.close(); |
|
|
|
permFile.close(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Set default QtQuick style if not configured
|
|
|
|
|
|
|
|
if (QString(getenv("QT_QUICK_CONTROLS_STYLE")).isEmpty()) { |
|
|
|
|
|
|
|
QQuickStyle::setStyle("Universal"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|