-
-
Notifications
You must be signed in to change notification settings - Fork 19
Source Project Setup
Dschadu edited this page Apr 18, 2020
·
4 revisions
This project was setup with VS 2019
Download or clone the source from a git client of your choice
- Goto https://www.boost.org/users/history/version_1_72_0.html
- Download Boost 1.72.0 Binaries
- Follow instructions at https://www.boost.org/doc/libs/1_72_0/more/getting_started/windows.html#or-build-binaries-from-source
- Install Boost into /OpenVR-MC/third-party
- Goto https://www.qt.io/download-qt-installer
- Download Qt
- Run the Qt installer (Install it to "c:\Qt"). Install at least version msvc2017_64 (5.14.1)
- Open Visual Studio 2019
- Go to the menu Extensions and click Manage Extensions
- Click "Online" in the left tab
- In the search box in the upper right type in "Qt"
- Find "Qt Visual Studio Tools" in the results and click the download button
- Close Visual Studio
- Open 'VRMotionCompensation.sln' with Visual Studio 2019
- Menu-bar: Extensions -> Qt VS Tools -> Qt Options -> Make sure that the Default Qt/Win version is msvc2017_64 and that it points to your install dir. If not, select the wrong entry, Click Delete. Then Click Add -> Version name: msvc2017_64, Path: \Qt\5.14.1\msvc2016_64 -> Click ok. Then choose this new entry in the drop down and click "Ok".
- Go to menu Build and click Build Solution
- open a command prompt got to <project_root>/client_overlay/bin/
- run windeployqt.bat
- ensure there is a qtdata folder and qt dlls in <project_root>/client_overlay/bin/win64/
- go to https://sourceforge.net/projects/nsis/files/NSIS%202/2.33/
- download and run the nsis-2.33-setup.exe
- go to <project_root>/installer/
- right click the installer.nsi file and Compile NSIS Script
- the installer exe will be built into <project_root>/installer/binary