Commit 80b29dbd authored by Arnaud Billon's avatar Arnaud Billon 💬
Browse files

[doc] Fix Qt5.12.8+ requirements

parent 3a5a3412
Pipeline #234522 canceled with stage
......@@ -82,7 +82,7 @@ The PythonQtPlugin is a small plugin that initializes the PythonQt library and m
- **ninja version 1.8.2** or higher, available at <https://github.com/ninja-build/ninja/releases>. There is no installer for this tool. You must extract the binary *ninja.exe* from *ninja-win.zip* and place it inside a directory that is inside your `%PATH%` environnement variable, such as `C:\Windows`.
- **Microsoft Visual Studio** ***14*** (2015) **Express** ("Desktop"). You can use this link to download the installer: <http://go.microsoft.com/fwlink/?LinkId=615464> This installer is pretty simple (no special options).
- **git**: we recommand using "Git for Windows" available at <https://gitforwindows.org/>.
- **Qt 5.10.1** *(this dependency will be built automatically in the future)*. You can download the installer here: <http://download.qt.io/new_archive/qt/5.10/5.10.1/qt-opensource-windows-x86-5.10.1.exe>. When installing you can keep the suggested installation path. Here is a walkthrough of the installer: click "Next" > "Skip" > "Next" > keep default install path (advised) and click "Next" > Unfold "Qt" then unfold "Qt 5.10.1" and tick "**MSVC 2015 64-bits**" then click "Next" > "Next" > "Install" > wait for it to install then click "Next" > untick "Launch Qt Creator" and click "Finish".
- **Qt 5.12.9** *(this dependency will be built automatically in the future)*. You can download the installer here: <https://download.qt.io/official_releases/qt/5.12/5.12.9/>. When installing you can keep the suggested installation path. Here is a walkthrough of the installer.
- [only for packaging] **NSIS version 3.04** is confirmed to work, NSIS is available at <https://nsis.sourceforge.io/Download>.
#### Windows build instructions <a name="windows-build-instructions"></a>
......@@ -125,7 +125,7 @@ The PythonQtPlugin is a small plugin that initializes the PythonQt library and m
6. Inside the command prompt configure the build by entering:
`cmake <work-directory>\LV-src\Superbuild -GNinja -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_qt5=True -DQt5_DIR="C:/Qt/Qt5.10.1/5.10.1/msvc2015_64/lib/cmake/Qt5"`
`cmake <work-directory>\LV-src\Superbuild -GNinja -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_qt5=True -DQt5_DIR="C:/Qt/Qt5.12.9/5.12.9/msvc2015_64/lib/cmake/Qt5"`
* Note that this command mentions the subdirectory "*Superbuild*" inside the source directory and not the source directory itself.
* Note that the `Qt5_DIR` path must use **forward slashes** (like if it was an Unix PATH), because MSVC would otherwise take `\\Q` as a build option.
......@@ -185,11 +185,13 @@ The Ubuntu 18.04 one-liner is: `sudo apt-get install build-essential git flex by
- libprotobuf-dev protobuf-compiler
- libfreetype-dev
The Ubuntu 18.04 one-liner is: `sudo apt-get install build-essential git flex byacc python3.7-dev libxext-dev libxt-dev libbz2-dev zlib1g-dev freeglut3-dev pkg-config libffi-dev libnl-gen1-3-dev libprotobuf-dev protobuf-compiler libfreetype-dev`
**If using qt5 system:**
The Ubuntu 18.04 one-liner is: `sudo apt-get install build-essential git flex byacc python3.7-dev libxext-dev libxt-dev libbz2-dev zlib1g-dev freeglut3-dev pkg-config libffi-dev patchelf libnl-gen1-3-dev libprotobuf-dev protobuf-compiler libfreetype-dev`
**Qt5:**
If you system's package manager offers Qt5 with version 5.12.8 or higher use:
- qtbase5-dev qtmultimedia5-dev qttools5-dev qtbase5-private-dev libqt5x11extras5-dev libqt5svg5-dev
On other systems, we recommend you use offline installers from:
- https://download.qt.io/official_releases/qt/5.12/5.12.9/
**If opencv if enabled:**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment