How do I set up Qt paths in Visual Studio 2010?

前端 未结 4 2036
没有蜡笔的小新
没有蜡笔的小新 2021-02-06 04:33

I just downloaded and installed the latest versions of the Qt SDK, Qt Creator, and the Qt add-in for Visual Studio (I\'m running VS 2010).

First, I tried creating a Qt pr

4条回答
  •  一向
    一向 (楼主)
    2021-02-06 04:48

    When you had older versions of Qt installed before, even if you uninstall them diligently, registry entry for Trolltech will still contain old values. To fix that, start Registry Editor (regedit.exe), scroll to:

    HKEY_CURRENT_USER\Software\Trolltech\Versions\DefaultQtVersion

    and edit it to current version number. Check other entries in Trolltech group, to make sure they are set to current version. That solved the problem of

    Unable to find a Qt build! To solve this problem specify a Qt build

    for me.

提交回复
热议问题