Use QQC2
This commit is contained in:
parent
ce6140ad80
commit
5f224c1cd9
|
@ -50,7 +50,7 @@
|
|||
|
||||
|
||||
import QtQuick 2.1
|
||||
import QtQuick.Controls 1.0
|
||||
import QtQuick.Controls 2.4
|
||||
|
||||
//! [0]
|
||||
import QtSensors 5.0
|
||||
|
@ -65,6 +65,10 @@ ApplicationWindow {
|
|||
visible: true
|
||||
readonly property double radians_to_degrees: 180 / Math.PI
|
||||
|
||||
Label {
|
||||
text: "Using QQC2"
|
||||
}
|
||||
|
||||
//! [1]
|
||||
Accelerometer {
|
||||
id: accel
|
||||
|
|
Loading…
Reference in New Issue