Compiling Qt - Visual Studio 2010

前端 未结 4 780
深忆病人
深忆病人 2021-02-06 10:23

I am looking for any tutorials or information on compiling Qt 4.7 with Visual Studio 2010.

I\'ve recently have run into an bug using Qt 4.7.1 libraries

相关标签:
4条回答
  • 2021-02-06 10:54

    I've used jom instead of nmake for faster compilation. Here is my step-by-step compilation guide: http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/

    0 讨论(0)
  • 2021-02-06 10:59

    Qt V4.8.0 contains prebuilt binaries for Visual Studio 2010 so you don't need to build manually anymore: http://qt.nokia.com/downloads/windows-cpp-vs2010

    0 讨论(0)
  • 2021-02-06 11:07

    You shouldn't need the QMAKESPEC if you are passing -platform win32-msvc2010 to configure

    define the QTDIR environment variable to poitn to the 4.7.1 top level dir. Less stuff requires it now with the improved vs integration but it makes setting paths easier, especially if you use multiple versions.

    0 讨论(0)
  • 2021-02-06 11:10

    You mean something like this?

    Here is the official documentation.

    0 讨论(0)
提交回复
热议问题