Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 OS X 上使用 Qt 编写了一个应用程序。安装的 SDK 自动安装为我不想要的框架。因此,我从 Qt git 存储库中克隆了他们的最新版本,并将其从源代码构建为静态库。我希望它使用那些静态库而不是框架进行编译,但在设置 Qt 的版本/路径的偏好中,无论我将它指向什么路径,它都表示它不是有效的 Qt 目录。qt 目录中必须包含什么才能使其有效?
我要关闭它,问题是在 OSX 上安装我需要在运行配置时声明 -no-framework。
一些技巧;