Skip to content

Commit 94c24fe

Browse files
committed
Update INSTALL.md
1 parent c540b40 commit 94c24fe

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

INSTALL.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ the following steps are needed to build it:
1414
- Run make to build the application.
1515

1616

17-
Building in Debian
17+
Building in Ubuntu
1818
------------------
1919

2020
Install the following packages.
2121

22-
```
22+
```sh
2323
apt update
24-
apt install build-essential qtbase5-dev qttools5-dev-tools libqt5serialport5-dev
24+
apt install build-essential \
25+
qtbase5-dev qttools5-dev-tools libqt5serialport5-dev
2526
```
2627

2728
Switch to the folder with sources. Now you can either build the application
@@ -53,6 +54,22 @@ The script creates a .deb package in the current folder and does not require
5354
root privileges.
5455

5556

57+
### Peculiarities of building with Qt6
58+
59+
Install the following packages. Note that Ubuntu jammy (version 22) does not
60+
have the qt6-serialport-dev package and libqt6serialport6-dev should be
61+
installed instead.
62+
63+
```sh
64+
apt update
65+
apt install build-essential \
66+
qt6-base-dev qt6-base-dev-tools qt6-serialport-dev qt6-l10n-tools qt6-translations-l10n
67+
```
68+
69+
Next, when building step-by-step, you should type qmake6 instead of qmake
70+
or add the `-q qmake6` switch when running the automatic build script.
71+
72+
5673
Building in windows with MSYS2
5774
------------------------------
5875

0 commit comments

Comments
 (0)