forked from gaodayihao/QSanguosha
-
Notifications
You must be signed in to change notification settings - Fork 7
/
README.vs2012
16 lines (10 loc) · 1.07 KB
/
README.vs2012
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
To build QSanguosha with VS2012
1. Download the following packages:
(1) QT libraries for Windows (Visual Studio 2012, 5.2.1, 32bit) http://download.qt-project.org/official_releases/qt/5.2/5.2.1/qt-opensource-windows-x86-msvc2012-5.2.1.exe
(2) QT Visual Studio Add-in (for Qt 5) http://download.qt-project.org/official_releases/vsaddin/qt-vs-addin-1.2.2-opensource.exe
and then install them.
2. Download the swigwin (swig for Windows, 2.0.12) 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/vs2012.
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.