README.md - Add info about Using in Qt6 projects

This commit is contained in:
Allen Winter
2021-08-24 09:24:30 -04:00
parent 9ee52a0011
commit 8b1a9f2a41

View File

@@ -106,12 +106,18 @@ You can change the installation location by passing the option `-DCMAKE_INSTALL_
Using
=====
From your CMake project, add
From your CMake Qt5 project, add
```
find_package(KDDockWidgets CONFIG)
```
or for Qt6
```
find_package(KDDockWidgets-qt6 CONFIG)
```
and link to the imported target `KDAB::kddockwidgets`.
That's all you need to do (the imported target also brings in the include directories)