我已經安裝了 Ubuntu SDK本指南,但現在我想新增一個 Ubuntu Touch 模擬器,但是 IDE 中的「裝置」頁面是空白的,請參見螢幕截圖:
我使用的是 Ubuntu 14.04 LTS
我究竟做錯了什麼?
答案1
我的情況完全相同...空白設備頁面/Ubuntu 14.04.2 LTS。從終端啟動 qtcreator 時,我收到錯誤追蹤:
file:///usr/share/qtcreator/ubuntu/qml/devicespage.qml:2:1: 模組「Ubuntu.Components」版本 1.0 未安裝
好像已經有這個問題的票了: https://bugs.launchpad.net/ubuntu/+source/ubuntu-touch-meta/+bug/1419072
~$ qtcreator
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Follow Symbol Under Cursor" under id 187
file:///usr/share/qtcreator/ubuntu/qml/devicespage.qml:2:1: module "Ubuntu.Components" version 1.0 is not installed
import Ubuntu.Components 1.0
^
file:///usr/share/qtcreator/ubuntu/qml/publishpage.qml:2:1: module "Ubuntu.Components" version 1.0 is not installed
import Ubuntu.Components 1.0
^
file:///usr/share/qtcreator/welcomescreen/widgets/SessionItem.qml:51: ReferenceError: projectNameText is not defined
file:///usr/share/qtcreator/welcomescreen/develop.qml:93: ReferenceError: pageCaption is not defined
file:///usr/share/qtcreator/welcomescreen/widgets/PageLoader.qml:46: TypeError: Cannot read property 'height' of null
file:///usr/share/qtcreator/welcomescreen/widgets/PageLoader.qml:46: TypeError: Cannot read property 'height' of null
file:///usr/share/qtcreator/welcomescreen/widgets/PageLoader.qml:46: TypeError: Cannot read property 'height' of null
"application/x-goproject"
"application/x-goproject"
No go tool chain set from kit "Desktop".
No go tool chain set from kit "UbuntuSDK for armhf (GCC ubuntu-sdk-14.10-utopic)".
No go tool chain set from kit "Desktop".
No go tool chain set from kit "UbuntuSDK for armhf (GCC ubuntu-sdk-14.10-utopic)".
file:///usr/share/qtcreator/welcomescreen/widgets/SessionItem.qml:51: ReferenceError: projectNameText is not defined
file:///usr/share/qtcreator/welcomescreen/develop.qml:93: ReferenceError: pageCaption is not defined
QNetworkReplyImplPrivate::error: Internal problem, this method must only be called once.
load glyph failed err=6 face=0xe8cd00, glyph=2797