0

How can I show my v-play (a qt quick extension) "app" type as a fullscreen app in all platforms and specially in android? my main.cpp code:

QApplication app(argc, argv);
VPApplication vplay;
vplay.setPreservePlatformFonts(true);
QQmlApplicationEngine engine;
vplay.initialize(&engine);
vplay.setMainQmlFileName(QStringLiteral("qrc:/qml/Main.qml"));
QtWebView::initialize();
engine.load(QUrl(vplay.mainQmlFileName()));

my main.qml code:

import VPlayApps 1.0
import QtQuick 2.0
App {
     id: app
    }
alexleutgoeb
  • 3,123
  • 3
  • 20
  • 31
Addr3ss
  • 21
  • 4

1 Answers1

1

try this:

App {
    id: app
    onInitTheme: {
        Theme.colors.statusBarStyle = Theme.colors.statusBarStyleHidden
    }
}

hope this helpful to you :)

zhou plus
  • 53
  • 1
  • 6