SOURCE download: Use SVN to download Checkout:http://voip.null.ro/svn/yate/trunk
Configuration: (I am using vs2008, so the QT tools are downloaded corresponds to 2008)
1. Download and install Qt-opensource-windows-x86-vs2008-4.8.7.exe,: HTTP://DOWNLOAD.QT.IO/OFFICIAL_RELEASES/QT, You can download the appropriate version in accordance with your VS version
Qt-vs-addin-1.1.11-opensource.exe http://download.qt.io/official_releases/vsaddin/
2. Set the environment variables and add the following system variables:
Qtdir= C:\Qt\4.8.7
qmakespec=win32-msvc2008
Path = C:\Qt\4.8.7\bin;
3. After completing the steps, open the YATE.sln in the Windows directory, the VS project, and then configure the following
4. Due to a few errors in the source code under Windows, you need to manually modify:
(1) because the original download process was created using VS2005, and the code does not consider a later version, you need to modify the Yate\yateclass.h code.
Original definition: #define VSNPRINTF _vsnprintf
Modified: #if (_msc_ver < 1500)
#define VSNPRINTF _vsnprintf
#endif
(2) Yate\windows\main-client.cpp: Add a plugin ("Winyateclient") to the Winclientplugin constructor
5. Successful compilation
Related references:
Http://wenku.baidu.com/link?url=_3GizFF3Q064z8hqb2hcH_4kYD01xbsLaTchnlzAzKSo-DxcSP17FUdGiy_XiNJxLc_ Dz9oqgdxvo0igo3ehnitjhdkpzp4tcbxav4er2ae
http://blog.csdn.net/stephenxu111/article/details/25990127
Yate:windows source Download, configuration, compile