Package Details: kddockwidgets-qt6 2.4.0-1

Git Clone URL: https://aur.archlinux.org/kddockwidgets-qt6.git (read-only, click to copy)
Package Base: kddockwidgets-qt6
Description: KDAB's Dock Widget Framework for Qt 6
Upstream URL: https://github.com/KDAB/KDDockWidgets
Keywords: c++ dock framework kdab qt qt6 widget
Licenses: GPL-2.0-only OR GPL-3.0-only
Submitter: Rubo
Maintainer: Rubo
Last Packager: Rubo
Votes: 9
Popularity: 0.59
First Submitted: 2024-03-22 14:30 (UTC)
Last Updated: 2025-11-02 18:27 (UTC)

Pinned Comments

Rubo commented on 2025-11-12 21:05 (UTC)

kddockwidgets built for Qt 6 is now in extra, please install that package instead.

Latest Comments

1 2 3 Next › Last »

macak commented on 2025-11-25 11:08 (UTC) (edited on 2025-11-25 11:17 (UTC) by macak)

@Rubo thank you for the quick response. As a matter of fact, I did have hotspot installed. Removing that fixed the error, thank you very much. It didn't show up on paru -Sii so I have no idea how I could've found it if it weren't for your comment.

Rubo commented on 2025-11-23 17:26 (UTC)

@macak what exactly is the error you got when you said "to no avail"? If it's because you are using kddockwidgets-qt6 as a dependency of another package, like hotspot, please remove that package instead and re-install it, you will then download the new kddockwidgets package that is in extra.

macak commented on 2025-11-23 15:42 (UTC)

error: failed to commit transaction (conflicting files)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/Config.h exists in filesystem (owned by kddockwidgets-qt6)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/DockWidget.h exists in filesystem (owned by kddockwidgets-qt6)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/KDDockWidgets.h exists in filesystem (owned by kddockwidgets-qt6)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/LayoutSaver.h exists in filesystem (owned by kddockwidgets-qt6)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/MainWindow.h exists in filesystem (owned by kddockwidgets-qt6)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/Qt5Qt6Compat_p.h exists in filesystem (owned by kddockwidgets-qt6)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/QtCompat_p.h exists in filesystem (owned by kddockwidgets-qt6)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/ViewFactory.h exists in filesystem (owned by kddockwidgets-qt6)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/core/Action.h exists in filesystem (owned by kddockwidgets-qt6)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/core/Controller.h exists in filesystem (owned by kddockwidgets-qt6)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/core/DockRegistry.h exists in filesystem (owned by kddockwidgets-qt6)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/core/DockWidget.h exists in filesystem (owned by kddockwidgets-qt6)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/core/Draggable_p.h exists in filesystem (owned by kddockwidgets-qt6)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/core/DropArea.h exists in filesystem (owned by kddockwidgets-qt6)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/core/DropIndicatorOverlay.h exists in filesystem (owned by kddockwidgets-qt6)
kddockwidgets: /usr/include/kddockwidgets-qt6/kddockwidgets/core/

Etc.

I have tried removing with -Runs, but to no avail. When I try to install from scratch, even after cleaning the cache with -Sc, I get linking errors

[ 53%] Linking CXX executable ../../../bin/qtquick_dockwidgets
/usr/bin/ld: /usr/lib/libglib-2.0.so.0: undefined reference to `pcre2_set_bsr_8@PCRE2_10.47'
/usr/bin/ld: /usr/lib/libQt6Core.so.6.10.0: undefined reference to `pcre2_get_error_message_16@PCRE2_10.47'
/usr/bin/ld: /usr/lib/libQt6Core.so.6.10.0: undefined reference to `pcre2_match_context_free_16@PCRE2_10.47'
/usr/bin/ld: /usr/lib/libQt6Core.so.6.10.0: undefined reference to `pcre2_match_context_create_16@PCRE2_10.47'
/usr/bin/ld: /usr/lib/libglib-2.0.so.0: undefined reference to `pcre2_match_data_create_from_pattern_8@PCRE2_10.47'
/usr/bin/ld: /usr/lib/libglib-2.0.so.0: undefined reference to `pcre2_jit_stack_assign_8@PCRE2_10.47'

etc.

Rubo commented on 2025-11-12 21:05 (UTC)

kddockwidgets built for Qt 6 is now in extra, please install that package instead.

Martchus commented on 2025-10-23 09:54 (UTC)

Thanks, it looks good and clean now :-)

Rubo commented on 2025-10-23 09:42 (UTC)

@patlefort @Martchus done, tell me if you need anything else.

Martchus commented on 2025-10-23 08:02 (UTC)

While it is a good idea to add sodepends, please don't add versions to them. The version is automatically generated by makepkg - that's the whole point. These dependencies should also go preferably under package(). Checkout https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=syncthingtray-qt6 for an example.

I would also leave out the version in the other dependencies. Adding a specific version is only done exceptionally in Arch Linux packaging as it is normally a given that one updates all their dependencies consistently. Hence these specific versions often become out of date without anybody noticing and are then rather useless.

patlefort commented on 2025-10-23 08:00 (UTC)

It's generally preferable to add them as runtime only, like:

package() {
    depends+=('libfmt.so' 'libspdlog.so')

You should omit the version, they will be pinned to the installed version automatically when installed. For example, the .so file depends on libspdlog.so.1.16, so any update to spdlog version would require kddockwidgets-qt6 be rebuilt always.

Rubo commented on 2025-10-23 07:09 (UTC)

@patlefort done, is it ok for you just like this?

patlefort commented on 2025-10-23 07:01 (UTC)

Can you please add libspdlog.so and libfmt.so in depends? It helps detecting needed rebuild.