Package Details: kddockwidgets-qt6 2.1.0-3

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: 1
Popularity: 0.008557
First Submitted: 2024-03-22 14:30 (UTC)
Last Updated: 2024-09-13 17:52 (UTC)

Latest Comments

Rubo commented on 2024-09-13 17:46 (UTC)

@Martchus thanks, fixed.

Martchus commented on 2024-09-12 19:01 (UTC)

This package needs to be rebuilt against fmt 11 but the rebuild unfortunately fails:

/build/kddockwidgets-qt6/src/KDDockWidgets-2.1.0/src/LayoutSaver.cpp:1187:9:   required from here
   38 |             logger->log(level, __VA_ARGS__);                                     \
      |             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/fmt/base.h:1402:29: error: passing ‘const fmt::v11::formatter<QRect>’ as ‘this’ argument discards qualifiers [-fpermissive]
 1402 |     ctx.advance_to(cf.format(*static_cast<qualified_type*>(arg), ctx));
      |                    ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/kddockwidgets-qt6/src/KDDockWidgets-2.1.0/src/core/spdlog_formatters_p.h:58:10: note:   in call to ‘auto fmt::v11::formatter<QRect>::format(KDDockWidgets::Rect, FormatContext&) [with FormatContext = fmt::v11::context; KDDockWidgets::Rect = QRect]’
   58 |     auto format(KDDockWidgets::Rect r, FormatContext &ctx)
      |          ^~~~~~
make[2]: *** [src/CMakeFiles/kddockwidgets.dir/build.make:207: src/CMakeFiles/kddockwidgets.dir/LayoutSaver.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:390: src/CMakeFiles/kddockwidgets.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

It would probably help to cherry-pick the patch https://github.com/KDAB/KDDockWidgets/commit/75b97565d1dd0b4af98fc63913d15c4f110f07df.patch.

Rubo commented on 2024-04-19 18:37 (UTC)

@Mai65 as I am not able to reproduce the error, in the meantime you can download the package from the unofficial chaotic-aur repository.

Mai65 commented on 2024-04-18 07:23 (UTC)

Hi, I am not 100% sure that I have done what you want me to do, but here is what I have done so far:

yay -Sc 
yay -S kddockwidgets-qt6

When asked if I want to do a clean build, I say yes. I hope this is what you mean by a clean chroot. If not, I am sorry, I did not understand the instructions.

Rubo commented on 2024-04-17 20:57 (UTC)

@Mai65 have you tried building in a clean chroot?

Mai65 commented on 2024-04-17 13:55 (UTC)

Hi I am having linking problems. Hope someone can help:

[ 61%] Linking CXX executable ../../../bin/qtquick_dockwidgets
/usr/bin/ld: /usr/lib/libproxy/libpxbackend-1.0.so: undefined reference to `curl_easy_setopt@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/libproxy/libpxbackend-1.0.so: undefined reference to `curl_easy_cleanup@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/libproxy/libpxbackend-1.0.so: undefined reference to `curl_easy_perform@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/libproxy/libpxbackend-1.0.so: undefined reference to `curl_easy_init@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/libproxy/libpxbackend-1.0.so: undefined reference to `curl_easy_strerror@CURL_OPENSSL_4'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/qtquick/dockwidgets/CMakeFiles/qtquick_dockwidgets.dir/build.make:190: bin/qtquick_dockwidgets] Error 1
make[1]: *** [CMakeFiles/Makefile2:450: examples/qtquick/dockwidgets/CMakeFiles/qtquick_dockwidgets.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Rubo commented on 2024-03-23 08:33 (UTC)

@Martchus you're right, done, thanks again.

Martchus commented on 2024-03-22 23:06 (UTC)

Thanks for the quick response. I only had a look at the file list of this package now and it looks like it is not in conflict with kddockwidgets. All files seems to be in qt6-specific directories are have an according suffix.

Note that also the provide for kddockwidgets is actually completely wrong. One cannot just use this package as an alternative to kddockwidgets. An application that still uses Qt 5 has to use kddockwidgets and not kddockwidgets-qt6.

That means it would be best to drop the provides and conflicts lines completely.

Rubo commented on 2024-03-22 15:25 (UTC)

@Martchus thanks, I removed the -$pkgver.

Martchus commented on 2024-03-22 15:12 (UTC)

What's the point of these provides/conflicts?

provides=("kddockwidgets-$pkgver")
conflicts=("kddockwidgets-$pkgver")

If this package conflicts with the Qt 5 version and you want to express that then -$pkgver shouldn't be part of it.