qt-creator 无法安装

qt-creator 无法安装

我尝试从 app grid、software-center 和 gnome-software 安装 qt creator。这三个都出现了类似以下错误的错误:

来自软件中心的错误消息

我展开了“详细信息”部分并得到了以下输出:

The following packages have unmet dependencies:

qtcreator: Depends: qml-module-qtquick-controls (>= 5.2.1-4~) but 5.5.1-1ubuntu1 is to be installed       
Depends: qml-module-qtquick2 (>= 5.2.1-5~) but 5.5.1-2ubuntu6 is to be installed       
Depends: qtcreator-data (= 3.5.1+dfsg-2ubuntu2) but 3.5.1+dfsg-2ubuntu2 is to be installed  
Depends: libclang1-3.6 (>= 3.6) but 1:3.6.2-3ubuntu2 is to be installed   
Depends: libgcc1 (>= 1:4.1.1) but 1:6.0.1-0ubuntu1 is to be installed
Depends: libqt5concurrent5 (>= 5.0.2) but 5.5.1+dfsg-16ubuntu7 is to be installed
Depends: libqt5core5a (>= 5.5.1) but 5.5.1+dfsg-16ubuntu7.1 is to be installed
Depends: libqt5designer5 (>= 5.0.2) but 5.5.1-3build1 is to be installed   
Depends: libqt5designercomponents5 (>= 5.0.2) but 5.5.1-3build1 is to be installed
Depends: libqt5gui5-gles (>= 5.5.0) but 5.5.1+dfsg-16ubuntu6 is to be installed
Depends: libqt5help5 (>= 5.0.2) but 5.5.1-3build1 is to be installed
Depends: libqt5network5 (>= 5.0.2) but 5.5.1+dfsg-16ubuntu7.1 is to be installed
Depends: libqt5printsupport5 (>= 5.0.2) but 5.5.1+dfsg-16ubuntu7.1 is to be installed
Depends: libqt5qml5 (>= 5.5.0) but 5.5.1-2ubuntu6 is to be installed
Depends: libqt5quick5-gles (>= 5.2.0~rc1) but 5.5.1-2ubuntu6 is to be installed
Depends: libqt5quickwidgets5-gles (>= 5.5.1-2ubuntu1~xenial1~test2) but 5.5.1-2ubuntu6 is to be installed
Depends: libqt5sql5 (>= 5.0.2) but 5.5.1+dfsg-16ubuntu7.1 is to be installed
Depends: libqt5test5 (>= 5.5.0) but 5.5.1+dfsg-16ubuntu7.1 is to be installed
Depends: libqt5webkit5 (>= 5.2.0) but 5.5.1+dfsg-2ubuntu1 is to be installed
Depends: libqt5widgets5 (>= 5.3.0) but 5.5.1+dfsg-16ubuntu7.1 is to be installed
Depends: libqt5xml5 (>= 5.2.0) but 5.5.1+dfsg-16ubuntu7.1 is to be installed
Depends: libstdc++6 (>= 5.2) but 5.4.0-6ubuntu1~16.04.2 is to be installed
Depends: qtbase-abi-5-5-1 but it is a virtual package
Depends: qtdeclarative-abi-5-5-0 but it is a virtual package

该计算机正在运行 Ubuntu 16.04 Xenial Xerus。

抱歉,我不知道如何为所有这些行添加代码,它似乎只想做一行,请随意编辑并更正代码。

提前致谢!

答案1

该存储库显然有问题。不过,我从他们的网站上找到了 .run 文件https://wiki.qt.io/Main没有任何问题。只需下载,在终端中 cd 到下载,然后运行:

chmod +x qt-unified-linux*
./unified-linux... [tab to autocomplete filename]

运行顺利!

相关内容