QML bug full screen on Windows and white screen when deploy Android

0

Good morning everyone!

There is a problem in the current version of Qt where full screen QML applications cause flashes and screen crashes when interacting with Windows interfaces, I solved this situation leaving the application not mobile, maximized and not full screen. It resolves to Windows, although the ideal one is full screen due to being a totally touch screen system.

To leave full screen in Windows I used a MainWindow as a base and instantiated a QQuickView via widget container, then left the MainWindow full screen. So far so good, Windows looks perfect but causes white screen on Android.

Is anyone going through this or have any tips on how to solve this problem?

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    QQuickView * view = new QQuickView();
    ui->centralwidget->layout()->addWidget(QWidget::createWindowContainer(view, this));
    view->setSource(QUrl("qrc:/MyRootQml.qml"));
    this->showFullScreen();
}
    
asked by anonymous 18.04.2018 / 15:46

0 answers