started to test some styling stuff

This commit is contained in:
Dorian Zedler 2019-07-14 12:49:05 +02:00
parent 0dabf8d576
commit 7aaf38cc6c
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,4 @@
QT += quick qml quickcontrols2 purchasing
QT += quick qml quickcontrols2 purchasing widgets
CONFIG += c++11
android {

View file

@ -21,6 +21,7 @@
#include <QtQml/QQmlContext>
#include <QQmlApplicationEngine>
#include <QIcon>
#include <QStyleFactory>
#include "headers/serverconn.h"
#include "headers/appsettings.h"
@ -32,6 +33,7 @@ int main(int argc, char *argv[])
QGuiApplication app(argc, argv);
qDebug() << QStyleFactory::keys();
QQuickStyle::setStyle("Material");
QIcon::setFallbackSearchPaths(QIcon::fallbackSearchPaths() << ":/resources/shared/icons");
QIcon::setThemeName("bluerock");