diff --git a/mirage.pro b/mirage.pro index 7646f47e..599563ea 100644 --- a/mirage.pro +++ b/mirage.pro @@ -1,5 +1,5 @@ # widgets: Make native file dialogs available to QML (must use QApplication) -QT = quick widgets +QT = quick quickcontrols2 widgets DEFINES += QT_DEPRECATED_WARNINGS CONFIG += warn_off c++11 release TEMPLATE = app diff --git a/src/main.cpp b/src/main.cpp index 3c1aae8f..01639f23 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include "../submodules/RadialBarDemo/radialbar.h" @@ -16,6 +17,9 @@ int main(int argc, char *argv[]) { + // Force a default universal QML style, we have our own theming mechanism + qputenv("QT_STYLE_OVERRIDE","Fusion"); + // Define some basic info about the app before creating the QApplication QApplication::setOrganizationName("mirage"); QApplication::setApplicationName("mirage");