web-dev-qa-db-ja.com

QMLツールキットのインストールに関する問題:「依存関係が満たされていない:qt-components-ubuntu:...」

Ubuntuアプリ開発のページの指示に従っています: http://developer.ubuntu.com/get-started/gomobile/


コマンド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

出力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.  

コマンド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

出力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  
distribution 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.  

指定どおり、PATH/opt/qt5/binを含めるように設定します。この問題は誰にも馴染みがあるのだろうかと思っていました。お時間をいただきありがとうございます。

6
user127623

追加中

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

私のソフトウェアソースにインストールプロセスを修正しました。次に、すべてが機能するかどうかを確認します。

更新:まだ十分ではありませんが、qmlビューアは少しずれています。

qmlscene: could not find a Qt installation of ''
1
John

今日、これは私の既存のインストールにも起こり始めました。私の推測では、Canonicalはパッケージの依存関係をQt5の最終リリースの準備またはQt5ベータ版の改良のいずれかに変更していると思います。

ppa:canonical-qt5-edgers/qt5-beta1およびppa:canonical-qt5-edgers/qt5-properに加えて、 http://developer.ubuntu.com/get-started/gomobile/ の更新された指示に注意してください。

EDIT昨日からログをビルド は、'deb http://ppa.launchpad.net/canonical-qt5-edgers/qt5-proper/ubuntu quantal main'が現在使用されていることを示します。

更新された指示を待つ必要があると思います。

1
StanAngeloff

同じ問題があり、#ubuntu-phone ircで助けを求めました。彼らは、ランチパッドからppa:canonical-qt5-edgers/qt5-proper PPAを使用するソリューションを思い付きました。したがって、 https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-propersources.listに追加するだけです。その実行後

    Sudo apt-get update 

http://developer.ubuntu.com/get-started/gomobile/ から指示を完了することができるはずです。

1
Phidelux