README.md - Add info about Using in Qt6 projects
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user