This qt version uses an unsupported makefile generator object reference not set to an instance of an

来源:互联网 发布:手机号码群发短信软件 编辑:程序博客网 时间:2024/06/08 09:45

"This qt version uses an unsupported makefile generator (used: ,supported: MSVC.NET, MSBUILD)"

解决方法:


Run regedit.
Hop to HKEY_CURRENT_USER\Software\Trolltech\Versions
Add a new key named "4.3.2" or whatever version you have.
Under the new key, create a new string "InstallDir" valued with "C:\Qt\4.3-msvc2005"(你安装qt中的bin目录)
Run Visual Studio
Click Qt -> Qt Options.
The new version should be there.

(另外也有可能是qt-addin  和qt-opensource版本不匹配问题)


object reference not set to an instance of an object

qt-addin  和qt-opensource版本不匹配造成的,比如我一开始

qt-addin 是1.2.4 ,qt-opensource是5.5.1,vs是2008en就报错。

后来我把qt-addin换成1.2.3居然就好了,心塞。

0 0
原创粉丝点击