Skip to content

Commit fab4182

Browse files
Updated the build documentation for Ubuntu 22.04
1 parent cae4293 commit fab4182

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

README.md

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ know it from Visual Studio.
9898
- [macOS](#macos)
9999
- [Linux](#linux)
100100
- [Build](#build)
101+
- [Qt5 on Ubuntu 18.04 or 20.04](#qt5-on-ubuntu-1804-or-2004)
102+
- [Qt5 on Ubuntu 22.04](#qt5-on-ubuntu-2204)
103+
- [Qt6 on Ubuntu 22.04](#qt6-on-ubuntu-2204)
101104
- [Getting started / Example](#getting-started--example)
102105
- [License information](#license-information)
103106
- [Donation](#donation)
@@ -292,10 +295,13 @@ The application can be compiled for macOS. A user reported, that the library wor
292295
[![Build Status](https://travis-ci.org/githubuser0xFFFF/Qt-Advanced-Docking-System.svg?branch=master)](https://travis-ci.org/githubuser0xFFFF/Qt-Advanced-Docking-System)
293296
[![Build status](https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/workflows/linux-builds/badge.svg)](https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/actions?query=workflow%3Alinux-builds)
294297

295-
Unfortunately, there is no such thing as a Linux operating system. Linux is a heterogeneous environment with a variety of different distributions. So it is not possible to support "Linux" like this is possible for Windows. It is only possible to support and test a small subset of Linux distributions. The library can be compiled for and has been developed and tested with the following Linux distributions:
298+
Unfortunately, there is no such thing as a Linux operating system. Linux is a heterogeneous environment with a variety of different distributions. So it is not possible to support "Linux" like this is possible for Windows. It is only possible to support and test a small subset of Linux distributions. The library can be compiled for and has been developed and tested with the some Linux distributions. Depending on the used window manager or compositor, dock widgets
299+
with native title bars are supported or not. If native title bars are not supported,
300+
the library switches to `QWidget` based title bars.
296301

297-
- **Kubuntu 18.04 and 19.10**
298-
- **Ubuntu 18.04, 19.10 and 20.04**
302+
- **Kubuntu 18.04 and 19.10** - uses KWin - no native title bars
303+
- **Ubuntu 18.04, 19.10 and 20.04** - native title bars are supported
304+
- **Ubuntu 22.04** - uses Wayland -> no native title bars
299305

300306
There are some requirements for the Linux distribution that have to be met:
301307

@@ -310,10 +316,25 @@ Screenshot Ubuntu:
310316

311317
## Build
312318

313-
The Linux build requires private header files. Make sure that they are installed:
319+
The Linux build requires private header files. Make sure that they are installed.
320+
The library uses SVG icons, so ensure that Qt SVG support is installed.
321+
322+
### Qt5 on Ubuntu 18.04 or 20.04
323+
324+
```bash
325+
sudo apt install qt5-default qtbase5-private-dev
326+
```
327+
328+
### Qt5 on Ubuntu 22.04
329+
330+
```bash
331+
sudo apt install qtbase5-dev qtbase5-private-dev qtbase5-dev-tools libqt5svg5
332+
```
333+
334+
### Qt6 on Ubuntu 22.04
314335

315336
```bash
316-
sudo apt install qtbase5-private-dev
337+
sudo apt install qt6-base-dev qt6-base-private-dev qt6-tools-dev libqt6svg6
317338
```
318339

319340
Open the `ads.pro` file with QtCreator and start the build, that's it.

0 commit comments

Comments
 (0)