Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.1.2
-
None
-
macOS 11.5
Ubuntu 20.04
-
-
9738d49b65b63da2a26035ad250f48fac182dfad (qt/qtdeclarative/dev) 5c246264d9d61307cf4e2004457923198c5bb7bd (qt/qtdeclarative/6.2)
Description
This code works (shows the button) in Qt 5.15.2:
import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Window 2.15 Window { width: 640 height: 480 visible: true Button { anchors.centerIn: parent text: 'Button' background: Rectangle { color: 'red' } } }
This code shows no button in Qt 6.1.2:
import QtQuick import QtQuick.Controls import QtQuick.Window Window { width: 640 height: 480 visible: true Button { anchors.centerIn: parent text: 'Button' background: Rectangle { color: 'red' } } }