Qt 4.6 在 Snow Leopard 上默认使用 Cocoa 编译吗?

发布于 2024-08-23 14:09:58 字数 218 浏览 3 评论 0原文

在工作中,我被告知要使用 cocoa 标志配置和构建 Qt 4.6

./configure -cocoa

,相反,我只是在 Mac OS X 10.6 机器上运行没有任何标志的配置。

这是否意味着我必须重新配置,或者 Cocoa 在 Snow Leopard 中默认链接?

或者,如何检查我的 Qt 版本是否与可可链接?

At work, I was told to configure and build Qt 4.6 with the cocoa flag

./configure -cocoa

Instead I just ran configure without any flags on my Mac OS X 10.6 machine.

Does that mean I have to reconfigure or is cocoa linked by default in Snow Leopard?

Alternatively, how can I check if my Qt build is linked against cocoa?

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

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

发布评论

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

评论(3

够运 2024-08-30 14:09:59

使用项目设置您的 qt 来构建 64 位或 32/64 混合版本。如果它构建并链接,它可可!

Set your qt using project to build for 64bit or 32/64 hybrid. If it builds and links, it cocoa!

贪了杯 2024-08-30 14:09:59

再次运行 configure 不是最快吗?

Wouldn't it be quickest just to run configure again?

孤千羽 2024-08-30 14:09:58

根据这篇文章 -cocoa 仅是 4.6 中 64 位版本的默认设置 - 您必须提供 -cocoa-arch x86_64
如果您想确保询问configure其选项并查找默认值。

According to this post -cocoa is only default for 64 bit builds in 4.6 - you have to either supply the -cocoa or -arch x86_64.
If you want to make sure ask configure for its options and look for the defaults.

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