您现在的位置是:网站首页> C/C++
QT Quick在liunx
- C/C++
- 2021-04-04
- 860人已阅读
摘要
QT Quick在liunx上的可看/usr/lib/arm-linux-gnueabihf/qt5/qml/Quick
树莓派上的QT
import QtQuick 2.7
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.0
ApplicationWindow {
visible: true;
width: 640;
height: 480;
title: qsTr("Hello World")
Rectangle{
anchors.fill: parent;
RowLayout{
id:list;
anchors.top: parent.top;
anchors.topMargin:20;
anchors.left: parent.left;
anchors.right: parent.right;
anchors.leftMargin:10;
anchors.rightMargin:10;
spacing: 20;
Button{
id:open;
text:"打开";
}
Button{
id:save;
text:"Save";
}
Button{
id:close;
text:"Close";
Layout.fillWidth: true;
}
}
}
}
上一篇:QT编译Android方法
下一篇:树莓派C所在的库和include