qmake and multiple MSVS versions

被刻印的时光 ゝ 提交于 2019-12-01 06:37:40

I removed all references of the older version of Visual Studio from the PATH environment variable and it now works fine.

On Windows XP: From My Computer -> Properties -> Advanced tab, click on "Environment Variables" button. In both the user and system variables sections, select PATH and click the edit button - copy the text to a text editor (if you want to save your originals) and remove any reference to Visual Studio 2005. Also, make sure your QTDIR and QMAKESPEC variables are set to the version of Qt you want to use.

qmake found 2 Visual Studios, that use the same mkspec (win32-msvc2008).

Try running qmake from corresponding environment (Start->All Programs->Microsoft Visual Studio 2008 [Express]->Visual Studio Tools->Visual Studio 2008 [Express] Command Prompt).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!