Qt的变化后,建设安装路径? [英] Change Qt install path after building?
问题描述
我怎么才能改变我的Qt构建后安装路径?
how can I change Qt install path after I building it ?
例如:qmake.exe搜索二进制原安装路径,我如何改变/重新定义
Example : qmake.exe search binaries to original install path, how can I change/redefine it ?
感谢。
编辑:我终于找到这个补丁适用于Qt的:
Edit : I finally found this patch to apply to Qt :
- http://ftp-developpez.com/qt/binaires/win32/patcher/QtPatcher.7z
- http://ftp-developpez.com/qt/binaires/win32/patcher/QtPatche_src.7z
推荐答案
我可以回答它的窗口,不那么肯定别人。删除路径变量如果环境变量的present PATH
。
I can answer it for windows, not so sure about others. Remove the path variables if any present in the environmental variable PATH
.
在Qt的造物主跳转,
工具 - >选项 - > Qt4->的Qt版本
Tools->Options->Qt4->Qt Versions
在右侧区域中,你会发现的自动 - 检测和手动即可。在手动添加新通过单击最右侧的 + 符号输入。点击浏览指定QMAKE位置。更改默认的Qt版本以您的新指定的版本。当然,你必须重新-build应用程序。希望它能帮助。
In the right hand side area, you will find Auto- Detected and Manual. Under Manual add a new entry by clicking the + symbol in the far right. Specify the QMake location by clicking Browse . Change the Default Qt Version to your newly specified Version. Of course, you have to re -build the application. Hope that it helps.
这篇关于Qt的变化后,建设安装路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!