我想在-w
文件中禁用所有警告(标有黄色)
我已尝试将Build Phases
标记添加到Objective-C
,但它无法正常工作。
在Swift
它可行,但如何在import QtQuick 2.5
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.1
Item {
id: root
width: 250
property alias id: id.text
property alias name: name.text
property alias status: status.text
property alias statusReason: statusReason.text
property alias comments: comments.text
ColumnLayout {
id: mainLayout
RowLayout {
id: first
Label {
text: "المُعرِّف : "
}
Label {
id: id
text: "N/A"
}
}
RowLayout {
id: second
Label {
text: "القاعة : "
}
Label {
id: name
text: "N/A"
}
}
RowLayout {
Label {
text: "الحالة : "
}
Label {
id: status
text: "N/A"
}
}
RowLayout {
Label {
text: "السبب : "
}
Label {
id: statusReason
text: "N/A"
}
}
RowLayout {
Label {
text: "تعليقات : "
}
Label {
id: comments
text: "N/A"
}
}
}
}
?