Commit d9c90b30 authored by Linus Jahn's avatar Linus Jahn

Add qtquickcontrols2.conf with color green

parent 569ee7c5
......@@ -98,7 +98,6 @@ target_link_libraries(${PROJECT_NAME}
Qt5::Sql
Qt5::Qml
Qt5::Quick
Qt5::QuickControls2
Boost::signals
Boost::date_time
${SWIFTEN_LIBRARY}
......
......@@ -8,5 +8,7 @@
<file alias="qml/ChatPage.qml">src/qml/ChatPage.qml</file>
<file alias="qml/AboutPage.qml">src/qml/AboutPage.qml</file>
<file alias="qml/GlobalDrawer.qml">src/qml/GlobalDrawer.qml</file>
<file alias="qtquickcontrols2.conf">misc/qtquickcontrols2.conf</file>
</qresource>
</RCC>
[Controls]
Style=Material
[Universal]
Theme=System
Accent=Green
[Material]
Theme=Light
Accent=Green
Primary=Red
......@@ -27,7 +27,6 @@
#include <QLocale>
#include <QQmlApplicationEngine>
#include <QQuickView>
#include <QQuickStyle>
#include <QQmlContext>
#include <QStandardPaths>
#include <QSqlDatabase>
......@@ -175,7 +174,7 @@ int main(int argc, char *argv[])
//
#ifndef SAILFISH_OS
// QtQuickControls2 Style
QQuickStyle::setStyle("Material");
qputenv("QT_QUICK_CONTROLS_STYLE", "Material");
#endif
QQmlApplicationEngine engine;
......
......@@ -29,8 +29,6 @@ Kirigami.ApplicationWindow {
width: 960
height: 540
Material.accent: Material.Green
// signals
signal addContactDialogRequested()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment