mirror of
https://gitlab.com/eql/lqml.git
synced 2026-01-26 06:20:39 -08:00
revisions for SailfishOS
This commit is contained in:
parent
a7c7b4d27f
commit
d553e5f305
14 changed files with 20 additions and 14 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include <QtQml/QQmlEngine>
|
||||
#include <QtQml/QQmlFileSelector>
|
||||
#include <QtQuick/QQuickView>
|
||||
#include <QtQuickControls2/QQuickStyle>
|
||||
#include <iostream>
|
||||
|
||||
#ifdef INI_WEBVIEW
|
||||
|
|
@ -68,6 +69,9 @@ int main(int argc, char* argv[]) {
|
|||
#ifdef NO_TEXT_HANDLES
|
||||
qputenv("QT_QPA_NO_TEXT_HANDLES", "1");
|
||||
#endif
|
||||
if (QFile::exists("/etc/sailfish-release")) { // SFOS
|
||||
QQuickStyle::setStyle("Basic");
|
||||
}
|
||||
#ifdef INI_WEBVIEW
|
||||
QtWebView::initialize();
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue