You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a preliminary step, make sure that you have the following installed on your system:
52
52
* CMake 3.11 or above.
53
53
* Python 3.7 or above.
54
-
* Qt® 5 or above (5.12.6 is the default and recommended).
55
-
* Visual Studio® 2015 or above (2017 is the default).
54
+
* Qt® 5 or above (5.15.2 is the default and recommended).
55
+
* Visual Studio® 2015 or above (2019 is the default).
56
56
57
-
Qt should be installed to the default location (C:\Qt\Qt5.12.6). The Qt 5.12.6 install package can be found at https://download.qt.io/archive/qt/5.12/5.12.6/.
58
-
Make sure to select msvc2017 64-bit (under Qt 5.12.6 option) during Qt installation. Note that the expected installation will produce a C:\Qt\Qt5.12.6\5.12.6 folder.
57
+
Qt V5.15.2 can be installed using the Qt online installer available from the Qt 5.15.2 release page here: https://www.qt.io/blog/qt-5.15.2-released
58
+
As an alternative, the Qt 5.12.6 offline installer can be used here: https://download.qt.io/archive/qt/5.12/5.12.6/
59
+
Qt should be installed to the default location (C:\Qt\Qt5.xx.x).
60
+
Be sure to select msvc2017/msvc2019 64-bit during Qt installation, depending on the compiler you decide to use.
59
61
A reboot is required after Qt is installed.
62
+
60
63
Cmake can be downloaded from (https://cmake.org/download/).
61
-
Python (V3.x) can be downloaded from (https://www.python.org/).
64
+
Python (V3.x) can be downloaded from (https://www.python.org/). To build the documentation from Visual Studio, the Sphinx Python Document Generator is needed.
65
+
This can be installed once Python is installed, as follows:
66
+
* Open a command prompt and navigate to the scripts folder in the python install folder. Then type these 2 commands:
67
+
* pip install -U sphinx
68
+
* pip install sphinx_rtd_theme
62
69
63
-
Run the python pre_build.py script in the build folder from a command prompt. If no command line options are provided, the defaults will be used (Qt 5.12.6 and Visual Studio 2017)
70
+
Run the python pre_build.py script in the build folder from a command prompt. If no command line options are provided, the defaults will be used (Qt 5.15.2 and Visual Studio 2019)
64
71
65
72
Some useful options of the pre_build.py script:
66
-
* --vs <VisualStudioversion>: generate the solution files for a specific Visual Studio version. For example, to target Visual Studio 2019, add --vs 2019 to the command.
73
+
* --vs <VisualStudioversion>: generate the solution files for a specific Visual Studio version. For example, to target Visual Studio 2017, add --vs 2017 to the command.
67
74
* --qt <path>: full path to the folder from where you would like the Qt binaries to be retrieved. By default, CMake would try to auto-detect Qt on the system.
68
75
69
-
Once the script has finished, in the case of Visual Studio 2017, a sub-folder called 'vs2017' will be created containing the necessary build files.
70
-
Go into the 'vs2017' folder (build/win/vs2017) and double click on the RMV.sln file and build the 64-bit Debug and Release builds.
76
+
Once the script has finished, in the case of Visual Studio 2019, a sub-folder called 'vs2019' will be created containing the necessary build files.
77
+
Go into the 'vs2019' folder (build/win/vs2019) and double click on the RMV.sln file and build the 64-bit Debug and Release builds.
71
78
The Release and Debug builds of RMV will be available in the build/release and build/debug folders.
0 commit comments