@@ -22,7 +22,7 @@ Install the following packages.
22
22
``` sh
23
23
apt update
24
24
apt install build-essential \
25
- qtbase5-dev qttools5-dev-tools libqt5serialport5-dev
25
+ qtbase5-dev qttools5-dev-tools libqt5serialport5-dev
26
26
```
27
27
28
28
Switch to the folder with sources. Now you can either build the application
@@ -36,9 +36,8 @@ create an installation package.
36
36
mkdir -p build
37
37
cd build
38
38
qmake -r ..
39
- make lrelease -j $( nproc)
40
- qmake -r ..
41
39
make -j $( nproc)
40
+ make -j $( nproc) i18n
42
41
```
43
42
44
43
@@ -63,13 +62,28 @@ installed instead.
63
62
``` sh
64
63
apt update
65
64
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
67
67
```
68
68
69
69
Next, when building step-by-step, you should type qmake6 instead of qmake
70
70
or add the ` -q qmake6 ` switch when running the automatic build script.
71
71
72
72
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
+
73
87
Building in windows with MSYS2
74
88
------------------------------
75
89
@@ -93,9 +107,8 @@ create an installer.
93
107
mkdir -p build
94
108
cd build
95
109
qmake -r ..
96
- make lrelease -j $( nproc)
97
- qmake -r ..
98
110
make -j $( nproc)
111
+ make -j $( nproc) i18n
99
112
```
100
113
101
114
0 commit comments