-
Notifications
You must be signed in to change notification settings - Fork 4
/
README.builds
20 lines (14 loc) · 1.6 KB
/
README.builds
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
To build QSanguosha with VS2010/2012/2013
1. Download the following packages:
(1) QT Visual Studio Add-in http://download.qt.io/official_releases/vsaddin/qt-vs-addin-1.2.4-opensource.exe
(2) QT libraries for Windows (Visual Studio 2010) http://download.qt.io/official_releases/qt/5.5/5.5.1/qt-opensource-windows-x86-msvc2010-5.5.1.exe
QT libraries for Windows (Visual Studio 2012) http://download.qt.io/official_releases/qt/5.5/5.5.1/qt-opensource-windows-x86-msvc2012-5.5.1.exe
QT libraries for Windows (Visual Studio 2013, x86) http://download.qt.io/official_releases/qt/5.5/5.5.1/qt-opensource-windows-x86-msvc2013-5.5.1.exe
QT libraries for Windows (Visual Studio 2013, x64) http://download.qt.io/official_releases/qt/5.5/5.5.1/qt-opensource-windows-x86-msvc2013_64-5.5.1.exe
and then install them.
2. Download the swigwin (swig for Windows, 3.0.7 to ensure the support for Lua 5.2) http://sourceforge.net/projects/swig/files/swigwin/
3. Create a tools/swig folder under your source directory. Unzip swigwin and copy all unzipped files to tools/swig. To make sure you copied them to the right directory hierachy, check if this file exists: <Your source direcotry>/QSanguosha/tools/swig/swig.exe
4. Open Qsanguosha.sln right under <Your source directory>/Qsanguosha/builds/vs2010 (using VS2010/2012).
<Your source directory>/Qsanguosha/builds/vs2010 (using VS2013).
5. Right click project "QSanguosha" in your Solution Explorer, select "Properties", go to "Debugging" tab, set "Working Directory" to "$(ProjectDir)..\..\" (do not enter the quote marks). Then select "OK".
6. You are now able to build the solution.