Ich habe Ubuntu SDK installiert wiedieser Leitfaden, aber jetzt möchte ich einen Ubuntu Touch-Emulator hinzufügen, allerdings ist die Geräteseite in der IDE leer, siehe Bildschirmaufnahme:
Ich verwende Ubuntu 14.04 LTS
Was mache ich falsch?
Antwort1
Ich bin in genau derselben Situation ... leere Geräteseite/Ubuntu 14.04.2 LTS. Beim Starten von qtcreator vom Terminal aus habe ich eine Fehlerverfolgung erhalten:
file:///usr/share/qtcreator/ubuntu/qml/devicespage.qml:2:1: Modul „Ubuntu.Components“ Version 1.0 ist nicht installiert
Es scheint, dass es für dieses Problem bereits ein Ticket gibt: 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