在 Ubuntu 14.04 上将 QT 更新至 5.9

在 Ubuntu 14.04 上将 QT 更新至 5.9

为了安装 Master PDF Editor(我将使用它来解决另一个问题),我需要更新版本的 QT。运行时sudo dpkg -i master-pdf-editor-4.2.70_qt5.amd64.deb出现以下错误:

dpkg: dependency problems prevent configuration of master-pdf-editor:
 master-pdf-editor depends on libqt5svg5 (>= 5.4); however:
  Version of libqt5svg5:amd64 on system is 5.2.1-1.
 master-pdf-editor depends on libqt5network5 (>= 5.4); however:
  Version of libqt5network5:amd64 on system is 5.2.1+dfsg-1ubuntu14.3.
 master-pdf-editor depends on libqt5gui5 (>= 5.4); however:
  Version of libqt5gui5:amd64 on system is 5.2.1+dfsg-1ubuntu14.3.
 master-pdf-editor depends on libqt5printsupport5 (>= 5.4); however:
  Version of libqt5printsupport5:amd64 on system is 5.2.1+dfsg-1ubuntu14.3.

我曾尝试过这些指令(适用于 QT 5.9)但在步骤如下:

编辑同一目录中名为“defaults.list”的文件。添加以下行。

text/qtcreator=Qt-Creator.desktop;

defaults.list我遇到了 中不存在文件的问题/.local/share/applications。如果不完成此步骤继续操作似乎不会更新libqt5需要更新的各种软件包。我应该怎么做才能满足Master PDF Editor依赖关系?

相关内容