summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/app.pro3
-rw-r--r--app/main.cpp3
2 files changed, 5 insertions, 1 deletions
diff --git a/app/app.pro b/app/app.pro
index 169258b..1aa4da0 100644
--- a/app/app.pro
+++ b/app/app.pro
@@ -1,5 +1,6 @@
TARGET = dashboard
-QT = quick
+QT = quickcontrols2
+
HEADERS += \
translator.h
diff --git a/app/main.cpp b/app/main.cpp
index 7adc1f0..d7f15b5 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -21,6 +21,7 @@
#include <QtQml/QQmlContext>
#include <QtQml/QQmlApplicationEngine>
#include <QtQuick/QQuickWindow>
+#include <QtQuickControls2/QQuickStyle>
#include "translator.h"
@@ -37,6 +38,8 @@ int main(int argc, char *argv[])
app.setOrganizationDomain(QStringLiteral("automotivelinux.org"));
app.setOrganizationName(QStringLiteral("AutomotiveGradeLinux"));
+ QQuickStyle::setStyle("AGL");
+
QCommandLineParser parser;
parser.addPositionalArgument("port", app.translate("main", "port for binding"));
parser.addPositionalArgument("secret", app.translate("main", "secret for binding"));