私はこのサンプルコードを書きました:
import QtQuick 2.0
Rectangle {
width: 360
height: 360
Text {
text: qsTr("Hello World")
anchors.centerIn: parent
font.pixelSize: 55
}
MouseArea {
anchors.fill: parent
onClicked: {
Qt.quit();
}
}
}
これを実行すると、テキストとテキストを囲む色付きのドットが表示されます。
プラットフォーム: Windows 7: Qt 5.0.1
Q. 考えられる問題を指摘してもらえますか?
PS : これは私のモニターの問題ではありません。OS と同じマシンで ubuntu を使用しても問題なく動作します。