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

前端 未结 4 2120
没有蜡笔的小新
没有蜡笔的小新 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:54

    I'm almost positive that you have to rebuild the Qt libraries in Visual Studio first before you can use them. That probably explains why you're getting the error message that a Qt build can't be found, and that the version of Qt you're using was built with MinGW.

    I suggest reading this blog post for what looks to be a solid how-to guide on integrating Qt with VS.

    This looks like an even simpler guide, although it's in PDF format: Qt Installation for Visual Studio

提交回复
热议问题