summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2017-12-15 16:59:25 +0900
committerTasuku Suzuki <tasuku.suzuki@qt.io>2017-12-15 16:59:38 +0900
commitc19628aa696de048b34651dff85ccb0448ce2cd1 (patch)
tree34cbd6ae252bd504c302e61fb13aa32822fbbefe
parent1fc5b34801d033a50a683687b18f05e250fee9d4 (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>
-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 c0b0cad..97d4f64 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 ed393a4..a75e779 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"
@@ -43,8 +42,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"));