1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import QtQuick import QtQuick.Window Window { width: 640 height: 480 visible: true title: "Hello World" Text { anchors.centerIn: parent font.pointSize: 16 text: "Now I have CMakeLists.txt. Thanks!" } TestComponent { } }