MCPcopy Create free account
hub / github.com/KDAB/KDDockWidgets

github.com/KDAB/KDDockWidgets @v2.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.4.0 ↗ · + Follow
4,871 symbols 16,219 edges 445 files 404 documented · 8% updated 7d agov2.4.0 · 2025-11-01★ 92618 open issues

Browse by type

Functions 3,963 Types & classes 908
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

KDDockWidgets and QtQuick

Supported Qt versions and toolchains

KDDockWidgets for QtQuick requires a C++17 capable compiler and Qt >= 6.2.1.

Qt 5.15.2 will probably also work, but it's not built and tested by KDAB CI, we advise users to move to Qt6 as soon as possible.

Build instructions

Doing a default build will build a KDDW library that's suitable for both QtWidgets and QtQuick development.

This is in contrast with 1.x version, where a separate build for QtQuick was required.

You can however be explicit and exclude the QtWidgets support:

cd build && cmake -DKDDockWidgets_FRONTENDS=qtquick ..

Troubleshooting

  • QtGraphicalEffects is not supported, as it's buggy when moving between different QWindows. See for example QTBUG-94943, KDDockWidgets issue #213. Also search the Qt bug tracker for "QQuickItem: Cannot use same item on different windows at the same time"

  • Very rarely, in some Nvidia/X11 setups, floating/docking has noticeable lag (like 1 second) This could be solved by going to Nvidia's settings and making sure all monitors have the same refresh rate and disabling "Allow Flipping". It's not known why this solves it. Might also be a bug in Qt.

  • "EGLFS: OpenGL windows cannot be mixed with others" QtQuick on EGLFS does not support having more than 1 window. This is a known QtQuick limitation. The QtWidgets stack worksaround this by compositing all windows into a single native window.

  • module "QtQuick.Controls" is not installed

Set the QML_IMPORT_PATH env var pointing to your Qt qml plugin dir or check the Qt documentation on how to deploy QtQuick applications.

# Replace with your actual path
export QML_IMPORT_PATH=/home/user/Qt/5.15.2/gcc_64/qml

Core symbols most depended-on inside this repo

Shape

Method 3,388
Class 849
Function 575
Enum 59

Languages

C++100%
Python1%

Modules by API surface

src/3rdparty/nlohmann/nlohmann/json.hpp601 symbols
src/core/layouting/Item.cpp208 symbols
tests/tst_docks.cpp172 symbols
tests/qtwidgets/tst_qtwidgets.cpp101 symbols
src/core/DockWidget.cpp98 symbols
src/qtquick/views/View.cpp89 symbols
src/core/Group.cpp89 symbols
tests/tst_multisplitter.cpp77 symbols
src/qtcompat/geometry_helpers_p.h76 symbols
src/core/DockRegistry.cpp65 symbols
src/qtwidgets/views/View.h61 symbols
src/core/View.cpp59 symbols

For agents

$ claude mcp add KDDockWidgets \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page