From 8db2eded601ad5817a42c5230b157b091e2ffe90 Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Wed, 27 Dec 2017 20:27:45 +0900 Subject: Apply QtQuickControls2 style from platform AGL now set its own style through an environment variable. App doesn't need to take care of it any more. Change-Id: Id0d43e7c05328ed5fef0e3cca7c1ddac78e69b3d Signed-off-by: Tasuku Suzuki --- app/app.pro | 2 +- app/main.cpp | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/app.pro b/app/app.pro index 00c9c55..6cd3ead 100644 --- a/app/app.pro +++ b/app/app.pro @@ -1,5 +1,5 @@ TARGET = hvac -QT = quickcontrols2 qml +QT = quick qml SOURCES = main.cpp diff --git a/app/main.cpp b/app/main.cpp index 57c731e..574e9a5 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include @@ -34,8 +33,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")); -- cgit 1.2.3-korg