Skip to content

Commit f5fb858

Browse files
committed
Update INSTALL.md
1 parent 3cc05d5 commit f5fb858

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

INSTALL.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Install the following packages.
2222
```sh
2323
apt update
2424
apt install build-essential \
25-
qtbase5-dev qttools5-dev-tools libqt5serialport5-dev
25+
qtbase5-dev qttools5-dev-tools libqt5serialport5-dev
2626
```
2727

2828
Switch to the folder with sources. Now you can either build the application
@@ -36,9 +36,8 @@ create an installation package.
3636
mkdir -p build
3737
cd build
3838
qmake -r ..
39-
make lrelease -j $(nproc)
40-
qmake -r ..
4139
make -j $(nproc)
40+
make -j $(nproc) i18n
4241
```
4342

4443

@@ -63,13 +62,28 @@ installed instead.
6362
```sh
6463
apt update
6564
apt 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

6969
Next, when building step-by-step, you should type qmake6 instead of qmake
7070
or 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+
7387
Building in windows with MSYS2
7488
------------------------------
7589

@@ -93,9 +107,8 @@ create an installer.
93107
mkdir -p build
94108
cd build
95109
qmake -r ..
96-
make lrelease -j $(nproc)
97-
qmake -r ..
98110
make -j $(nproc)
111+
make -j $(nproc) i18n
99112
```
100113

101114

0 commit comments

Comments
 (0)