Я установил 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