@@ -22,7 +22,7 @@ Install the following packages.
2222``` sh
2323apt update
2424apt install build-essential \
25- qtbase5-dev qttools5-dev-tools libqt5serialport5-dev
25+ qtbase5-dev qttools5-dev-tools libqt5serialport5-dev
2626```
2727
2828Switch to the folder with sources. Now you can either build the application
@@ -36,9 +36,8 @@ create an installation package.
3636mkdir -p build
3737cd build
3838qmake -r ..
39- make lrelease -j $( nproc)
40- qmake -r ..
4139make -j $( nproc)
40+ make -j $( nproc) i18n
4241```
4342
4443
@@ -63,13 +62,28 @@ installed instead.
6362``` sh
6463apt update
6564apt install build-essential \
66- qt6-base-dev qt6-base-dev-tools qt6-serialport-dev qt6-l10n-tools qt6-translations-l10n
65+ qt6-base-dev qt6-base-dev-tools qt6-serialport-dev qt6-5compat-dev \
66+ qt6-l10n-tools qt6-translations-l10n
6767```
6868
6969Next, when building step-by-step, you should type qmake6 instead of qmake
7070or add the ` -q qmake6 ` switch when running the automatic build script.
7171
7272
73+ ### Peculiarities of building in Ubuntu 18 (Bionic Beaver)
74+
75+ In addition to the listed above packages you should install qt5-default or
76+ specify the full path ` /usr/lib/i386-linux-gnu/qt5/bin/qmake ` instead of ` qmake ` .
77+
78+ If the build crashes at the linking stage because the ` GL ` library is missing
79+ even after installing the ` libgl-dev ` package, it may be needed to link
80+ ` /usr/lib/lib/libGL.so ` to the regular library:
81+
82+ ```
83+ sudo ln /usr/lib/i386-linux-gnu/libGL.so.1.7.0 /usr/lib/libGL.so
84+ ```
85+
86+
7387Building in windows with MSYS2
7488------------------------------
7589
@@ -93,9 +107,8 @@ create an installer.
93107mkdir -p build
94108cd build
95109qmake -r ..
96- make lrelease -j $( nproc)
97- qmake -r ..
98110make -j $( nproc)
111+ make -j $( nproc) i18n
99112```
100113
101114
0 commit comments