在 Qt Creator 中包括声子环境设置

发布于 2024-07-24 13:47:03 字数 418 浏览 1 评论 0原文

在 Windows XP 上,我运行“配置”,Qt 说我已配置为使用声子,但我不确定如何在 Qt Creator 中正确设置我的环境。 根据 Qt 文档,我需要调用:

Set DXSDK_DIR= C:\Program Files\Microsoft DirectX SDK(2007 年 2 月)

%DXSDK_DIR%\utilities\bin\dx_setenv.cmd

C:\program files\Microsoft Platform SDK\setenv.cmd

如何在 Qt Creator IDE 中执行此操作?

谢谢!

On Windows XP, I ran "configure", and Qt says that I'm configured to use phonon, but I'm not sure how to set up my environment correctly in Qt Creator. According to the Qt documentation, I need to call:

Set DXSDK_DIR=C:\Program Files\Microsoft DirectX SDK (February 2007)

%DXSDK_DIR%\utilities\bin\dx_setenv.cmd

C:\program files\Microsoft Platform SDK\setenv.cmd

How do I do this in the Qt Creator IDE?

Thanks!

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

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

发布评论

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

评论(1

蓝礼 2024-07-31 13:47:03

据我了解,如果您想构建声子本身,则需要这些设置,但如果您依赖于已经构建启用了声子的qt,则不需要这些设置。

但是,如果事实证明您确实也需要这些,最佳方法是您首先查看这两个脚本,提取这两个脚本设置的所有环境变量,然后转到“控制面板”->“系统”->“高级”选项卡->环境变量按钮并手动设置变量。

您还可以使用一个名为 setx 的工具,例如检查此线程: http://forums.techarena.in/windows-xp-support/1152405.htm

As far as i understand those sets are required if you want to build phonon itself, but if you rely on already build qt that has phonon enabled, those are not required.

However, if it indeed turns out that you need those too, optimal way would be that you first look into those 2 scripts, extract all the environment variables those 2 scripts set and then go to Control Panel->System->Advanced Tab->Environment Variable Button and set the variables there manually.

There's also a tool call setx available somewhere that you can use, check this thread for example: http://forums.techarena.in/windows-xp-support/1152405.htm

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