1
我按照步驟一步步運行了非常漂亮的Digia示例,以運行Qt/QML on Android。Android上的Qt/QML - onReadingChanged
當我點擊[建設]從IDE-QT,輸出看起來不錯:
Running steps for project bubble...
Configuration unchanged, skipping qmake step.
Starting: "/usr/bin/make"
make: Nothing to be done for `first'.
The process "/usr/bin/make" exited normally.
Elapsed time: 00:00.
[運行QMAKE]
Running steps for project bubble...
Starting: "/.../qt5/creator/Qt5.1.1/5.1.1/gcc_64/bin/qmake" /~/Desktop/bubble/bubble.pro -r -spec linux-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug
The process "/.../qt5/creator/Qt5.1.1/5.1.1/gcc_64/bin/qmake" exited normally.
[運行]
QML debugging is enabled. Only use this in a safe environment.
QQmlApplicationEngine failed to load component
qrc:///bubble.qml:38 Cannot assign to non-existent property "onReadingChanged"
我也閱讀qmlviewer在Qt5上沒有更多使用: No qmlviewer installed。
安裝了Android SDK NDK,並且該設備已啓用並處於開發人員模式,並且由於錯誤消息僅對QML抱怨,我猜這不應該是應用程序未運行的原因。
歡迎您提出任何建議。