I built Qt 5.2.0 with visual studio using these direction,
Qt 5.1.1 with Visual Studio 2013 ×64
0. Install AcrivePerl from http://www.activestate.com/activeperl
1. Install python http://www.python.org/download/releases/3.3.3/
2. Get Ruby from: http://www.rubyinstaller.org/downloads/
3. Install Windows SDK 8.1 from http://msdn.microsoft.com/en-us/windows/desktop/aa904949 even when you are using Windows 7. On older versions of Microsoft Windows the DirectX SDK should be installed.
4. Download Qt 5.1.1 source code: http://download.qt-project.org/official_releases/qt/5.1/5.1.1/single/qt-everywhere-opensource-src-5.1.1.zip
5. Start “VS2013 ×64 Native Tools Command Prompt“
6. configure -developer-build -opensource -nomake examples -nomake tests
7. nmake
8.
9.
10. Execute git checkout stablehttp://qt-project.org/wiki/Building_Qt_5_from_Git
11. Make sure that python is available on the command prompt. When installing Python you can add python.exe to the environment path. (I used python 3.3)
12. Switch to Qt 5.1.1 source directory (directory which contains configure.bat)
C:/thirdparty/vs2012/x64/qt-everywhere-opensource-src-5.1.1
13. Run configure -developer-build -opensource -nomake examples -nomake tests
14. and afterwards
nmake
Next, I downloaded the Qt addin for Visual Studio 2013 from here, https://mega.co.nz/#!nMRDWQzR!W2lCQ3-tuReacwEUbv0i2yB3acVqYAVbnd6xl21Ey7o.
In my environmental variable, I added QTDIR and the path/qt-everywhere-opensource-src-5.2.0.
When I try to create a new project, I get an error that it cannot find a Qt build. In the Qt options, I tried to add the path to qmake but it does not let me add the path.
Does anyone know how I can get this to work?
Thanks.
↧