在MacOSX 10.14上使用Qt Quick(5.6.2)的黑色窗口

时间:2019-01-24 13:43:23

标签: macos qt qml qt5

这个简单的应用程序:

import QtQuick 2.6
import QtQuick.Window 2.2

Window
{
  visible: true
  width: 640
  height: 480
  title: qsTr("TEST BUG COLOR QT 5.6")
  color: "red"
}

在Windows上给出以下结果: enter image description here

但是在Mac OSX 10.14上给出以下结果: enter image description here

怎么了?

请注意,我没有使用新的黑暗模式。

更新:似乎与https://bugreports.qt.io/browse/QTBUG-71206

有关

0 个答案:

没有答案