Peerconnection client example from webrtc migrated to Qt5
Are you serious?
- Install DirectX SDK
- Get Depot Tools
- Add directory of depot_tools to global PATH environment variable
- Make root directory for webrtc, go to this directory
- Call gclient without arguments - it will fetch all the necessary components
- gclient may not succeed at first launch - run it again
- Ensure that gclient does not do anything other than just displaying usage info
- In webrtc root dir call:
gclient config http://webrtc.googlecode.com/svn/trunk
- In webrtc root dit call:
gclient sync --force
- In the trunk subdirectory start building:
ninja -C out\Release
- Terminate upon first object file
- Remove all the generated lib and obj files from trunk\out\Release subdir
- Replace "/MT" with "/MD" in all the generated dot ninja files in trunk\out subdir
- In the trunk subdirectory start building again:
ninja -C out\Release
- Install ActiveState Perl
- Checkout stable branch qt5 code proxy:
git clone git://gitorious.org/qt/qt5.git qt5
- In qt5 directory get the real source code:
perl ./init-repository --no-webkit
- Start a new terminal, execute SetEnv.cmd in depot_tools\win_toolchain\vs2013_files\win8sdk\bin
- Add VS2013 runtime dir to PATH:
set PATH=%PATH%;c:\Projects\depot_tools\win_toolchain\vs2013_files\sys32
assuming your root directory for the project is c:\Projects - Change directory to the root of Qt5
- Explicitly specify platform:
set QMAKESPEC=win32-msvc2013
- Configure Qt5:
configure -developer-build -opensource -mp -nomake examples -nomake tests -debug-and-release -c++11 -no-warnings-are-errors -platform win32-msvc2013
- Accept the license proposal
- After configuration is finished, run
nmake
- Get latest source code of webrtc_test:
git clone https://github.com/Satius/webrtc_test
- Gather all libraries (dot lib) from webrtc\trunk\out\Release and place them to webrtc_test\libs.release directory
- Start a new terminal, execute SetEnv.cmd in depot_tools\win_toolchain\vs2013_files\win8sdk\bin
- Add VS2013 runtime dir to PATH:
set PATH=%PATH%;c:\Projects\depot_tools\win_toolchain\vs2013_files\sys32
assuming your root directory for the project is c:\Projects - Change directory to webrtc_test
- Start build:
nmake