Commit d4a08c9c authored by Camilo Higuita's avatar Camilo Higuita

initialize web stuff for the link previewer

parent 5f8590ad
......@@ -10,9 +10,11 @@
#ifdef Q_OS_ANDROID
#include <QGuiApplication>
#include <QtWebView/QtWebView>
#include <QIcon>
#else
#include <QApplication>
#include <QtWebEngine>
#endif
#include "mauikit/src/mauikit.h"
......@@ -27,9 +29,10 @@ int main(int argc, char *argv[])
#ifdef Q_OS_ANDROID
QGuiApplication app(argc, argv);
QIcon::setThemeName("Luv");
QQuickStyle::setStyle("material");
QtWebView::initialize();
#else
QApplication app(argc, argv);
QtWebEngine::initialize();
#endif
#ifdef STATIC_KIRIGAMI
......
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