【发布时间】:2018-02-25 18:48:42
【问题描述】:
我正在尝试使用 QtContacts 模块。我正在使用 ubuntu artful 和 qt 5.10
我试过了:
sudo apt-get install qml-module-qtcontacts
还有这个:
sudo apt-get install qtdeclarative5-qtcontacts-plugin
我输入了 .pro 文件:QT += androidextras contacts,但我收到了消息:Project ERROR: Unknown module(s) in QT: contacts
我也试过这个答案:How to install a missing Qt module?
但是模块没有出现在模块列表中:
我错过了什么?
我在这个链接下载了 qt-unified-linux-x64-3.0.2-online.run:https://www.qt.io/download
【问题讨论】:
-
使用 apt-get 安装时,使用提供 Qt 的安装程序时会有所不同,它们是 2 个不同的 qt。
-
你是如何安装 Qt 的?
-
我使用的是 qt 5.10.0。我用更多信息更新了这个问题。
-
我在这个链接下载了安装程序:qt.io/download
-
在
artful下尝试Package: [qml-module-qtcontacts ...检查依赖关系!
标签: qt qt-creator qt-mobility