summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2017-12-15 16:59:25 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-12-16 18:14:05 +0000
commit2f43c64c0b55dbfc7ffa1d87e952d840c7f940e1 (patch)
treef2c5fe14ef96e58983d60e3f1520eee0f249d3c7 /app
parent39298a8142f140e23a38e2ed53274e7a3c3a93c7 (diff)
Remove setting Qt Quick Controsl 2 style
The style will be set through an environment variable https://gerrit.automotivelinux.org/gerrit/#/c/12055/ Change-Id: I64bad6432311fbc56984e85b0453820adb46d265 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Diffstat (limited to 'app')
-rw-r--r--app/app.pro3
-rw-r--r--app/main.cpp3
2 files changed, 1 insertions, 5 deletions
diff --git a/app/app.pro b/app/app.pro
index 1aa4da0..169258b 100644
--- a/app/app.pro
+++ b/app/app.pro
@@ -1,6 +1,5 @@
TARGET = dashboard
-QT = quickcontrols2
-
+QT = quick
HEADERS += \
translator.h
diff --git a/app/main.cpp b/app/main.cpp
index d7f15b5..7adc1f0 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -21,7 +21,6 @@
#include <QtQml/QQmlContext>
#include <QtQml/QQmlApplicationEngine>
#include <QtQuick/QQuickWindow>
-#include <QtQuickControls2/QQuickStyle>
#include "translator.h"
@@ -38,8 +37,6 @@ 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"));