Qt QML是由vcpkg安装的吗?

发布于 2025-01-16 05:43:42 字数 396 浏览 5 评论 0原文

我在 macOS 上通过 Vcpkg 安装了 Qt。然后我将 QtCreator 指向该安装,继续:

Preferences
Kits
Qt Versions

然后,在右侧单击“添加”并选择 qmake 可执行文件。

但我看到未安装 QML 实用程序

我知道并不是所有东西都可以通过 vcpkg (即 QtCretor)安装,我想知道 QML 是否真的可以通过 vcpkg 安装?

输入图片此处描述

I installed Qt via Vcpkg on macOS. Then I pointed QtCreator to that installation, going on:

Preferences
Kits
Qt Versions

Then, on right side click Add and choose qmake executable.

But there I see No QML utility installed.

I'm aware not everything can be installed by vcpkg (i.e. QtCretor) and I'm wondering if QML can/is actually installed by vcpkg?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

遗弃M 2025-01-23 05:43:42

QML 内容通常是 qt5 声明式的。您可能还需要 qt5-tools。请注意,如果 QtCreator 期望 qml 文件的某种布局,它可能仍然无法工作。

QML stuff is typically in qt5-declarative. You might additional also need qt5-tools. Be aware that if QtCreator is expecting a certain layout of the qml files it might still not work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文