Problèmes liés à l’installation du kit d’outils QML: «dépendances non résolues: qt-components-ubuntu:…»

Je suis les instructions sur la page du développement d’applications Ubuntu: http://developer.ubuntu.com/get-started/gomobile/


Commande 1 :

sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-beta1 && sudo apt-get update && sudo apt-get install qt5-meta-full && echo 'export PATH=/opt/qt5/bin:$PATH' >> ~/.bashrc 

Sortie 1 :

 ... Fetched 745 kB in 3s (204 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done qt5-meta-full is already the newest version. The following packages were automatically installed and are no longer required: libtiff4 libtiffxx0c2 linux-headers-3.5.0-17 linux-headers-3.5.0-17-generic Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 

Commande 2

  sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt-get update && sudo apt-get install qt-components-ubuntu qt-components-ubuntu-demos qt-components-ubuntu-examples qt-components-ubuntu-doc notepad-qml 

Sortie 2

 Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable dissortingbution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: qt-components-ubuntu : Depends: libqt5core5 (>= 5.0.0) but it is not installable Depends: libqt5gui5 (>= 5.0.0) but it is not installable Depends: libqt5qml5 but it is not installable Depends: libqt5quick5 but it is not installable E: Unable to correct problems, you have held broken packages. 

Comme spécifié, je configure le PATH pour inclure /opt/qt5/bin . Je me demandais si cette question était familière à quiconque. Merci beaucoup pour votre temps.

J’ai eu le même problème et j’ai demandé de l’aide au irc # ubuntu-phone. Ils ont trouvé la solution pour utiliser le ppa:canonical-qt5-edgers/qt5-proper PPA du tableau de bord. Par conséquent, ajoutez simplement https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-proper au sources.list . Après cette course

  sudo apt-get update 

et vous devriez pouvoir suivre les instructions de http://developer.ubuntu.com/get-started/gomobile/ .

Cela a commencé à se produire aujourd’hui pour mon installation existante. À mon avis, Canonical est en train de modifier les dépendances du paquet, que ce soit pour préparer la version finale de Qt5 ou pour réorganiser la version bêta de Qt5.

Gardez un œil sur ppa:canonical-qt5-edgers/qt5-beta1 et ppa:canonical-qt5-edgers/qt5-proper ainsi que sur les instructions mises à jour sur http://developer.ubuntu.com/get-started/gomobile/

EDIT : Le journal de construction d’hier indique que 'deb http://ppa.launchpad.net/canonical-qt5-edgers/qt5-proper/ubuntu quantal main' est en cours d’utilisation.

Je suppose que nous devrons simplement attendre les instructions mises à jour.

Ajouter

 deb http://ppa.launchpad.net/canonical-qt5-edgers/qt5-proper/ubuntu quantal main 

à mes sources de logiciels fixes le processus d’installation. Maintenant pour voir si tout fonctionne.

Mise à jour: Pas encore là, les lecteurs QML semblent un peu en retrait.

 qmlscene: could not find a Qt installation of ''