如何安装缺少的 Qt 模块? [英] How to install a missing Qt module?

查看:34
本文介绍了如何安装缺少的 Qt 模块?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Mac OS 下安装/添加缺少的 Qt 模块?我已安装并运行 Qt Creator,但新项目出现以下错误:

How can I install/add a missing Qt Module under Mac OS? I have Qt Creator installed and working, but a new project gives the following error:

Project ERROR: Unknown module(s) in QT: charts

我可以只下载并安装缺少的模块,还是必须在选择了缺少的模块的情况下重新安装 Qt?谢谢

Can I just download and install the missing module or do I have to reinstall Qt with the missing module selected? Thanks

推荐答案

我可以只下载并安装缺少的模块还是必须选择丢失的模块重新安装 Qt?

Can I just download and install the missing module or do I have to reinstall Qt with the missing module selected?

您不必重新安装 Qt.您只需使用Qt 维护工具来添加组件以及更新或删除已安装的组件.

You don't have to reinstall Qt. You can just use Qt Maintenance tool to to add components and to update or remove installed components.

  1. 启动Qt 维护工具,然后选择添加或删除组件.
  2. 在您当前安装的 Qt 版本中的 Qt Charts 组件中添加一个勾号.
  3. 点击更新按钮并等待该过程完成.
  1. Launch Qt Maintenance Tool and choose Add or remove components.
  2. Add a tick to the Qt Charts component in your currently installed version of Qt.
  3. Click the update button and wait for the process to complete.

这篇关于如何安装缺少的 Qt 模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆