Package Details: kddockwidgets-qt6 2.3.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: 1.84
First Submitted: 2024-03-22 14:30 (UTC)
Last Updated: 2025-10-13 19:28 (UTC)

Latest Comments

1 2 Next › Last »

maxlefou commented on 2025-10-13 22:43 (UTC)

Can someone make a binary version of this package please?

Rubo commented on 2025-07-11 20:37 (UTC)

@trosh are you building it in a clean chroot? because I do not get any error.

trosh commented on 2025-07-05 19:53 (UTC) (edited on 2025-07-05 19:55 (UTC) by trosh)

I'm getting the following build errors:

[  4%] Building CXX object src/CMakeFiles/kddockwidgets.dir/Config.cpp.o
In file included from /usr/include/fmt10/fmt/format.h:49,
                 from /usr/include/spdlog/fmt/fmt.h:29,
                 from /usr/include/spdlog/common.h:50,
                 from /usr/include/spdlog/spdlog.h:12,
                 from /home/trosh/.cache/yay/kddockwidgets-qt6/src/KDDockWidgets-2.2.5/src/core/spdlog_formatters_p.h:17,
                 from /home/trosh/.cache/yay/kddockwidgets-qt6/src/KDDockWidgets-2.2.5/src/core/Logging_p.h:26,
                 from /home/trosh/.cache/yay/kddockwidgets-qt6/src/KDDockWidgets-2.2.5/src/core/Utils_p.h:19,
                 from /home/trosh/.cache/yay/kddockwidgets-qt6/src/KDDockWidgets-2.2.5/src/Config.cpp:23:
/usr/include/fmt10/fmt/core.h:289:30: error: redefinition of ‘struct fmt::v11::is_contiguous<T>’
  289 | template <typename T> struct is_contiguous : std::false_type {};
      |                              ^~~~~~~~~~~~~
In file included from /usr/include/spdlog/fmt/fmt.h:28:
/usr/include/fmt/base.h:636:30: note: previous definition of ‘struct fmt::v11::is_contiguous<T>’
  636 | template <typename T> struct is_contiguous : std::false_type {};
      |                              ^~~~~~~~~~~~~
/usr/include/fmt10/fmt/core.h:293:8: error: redefinition of ‘struct fmt::v11::monostate’
  293 | struct monostate {
      |        ^~~~~~~~~
/usr/include/fmt/base.h:339:8: note: previous definition of ‘struct fmt::v11::monostate’
  339 | struct monostate {
      |        ^~~~~~~~~
/usr/include/fmt10/fmt/core.h:319:45: error: redefinition of ‘template<class ... T> constexpr void fmt::v11::detail::ignore_unused(const T& ...)’
  319 | template <typename... T> FMT_CONSTEXPR void ignore_unused(const T&...) {}
      |                                             ^~~~~~~~~~~~~
/usr/include/fmt/base.h:363:45: note: ‘template<class ... T> constexpr void fmt::v11::detail::ignore_unused(const T& ...)’ previously declared here
  363 | template <typename... T> FMT_CONSTEXPR void ignore_unused(const T&...) {}
      |                                             ^~~~~~~~~~~~~
/usr/include/fmt10/fmt/core.h:321:27: error: redefinition of ‘constexpr bool fmt::v11::detail::is_constant_evaluated(bool)’
  321 | constexpr FMT_INLINE auto is_constant_evaluated(
      |                           ^~~~~~~~~~~~~~~~~~~~~
/usr/include/fmt/base.h:365:16: note: ‘constexpr bool fmt::v11::detail::is_constant_evaluated(bool)’ previously defined here
  365 | constexpr auto is_constant_evaluated(bool default_value = false) noexcept
      |                ^~~~~~~~~~~~~~~~~~~~~
/usr/include/fmt10/fmt/core.h:340:49: error: redefinition of ‘template<class T> constexpr T fmt::v11::detail::const_check(T)’
  340 | template <typename T> constexpr FMT_INLINE auto const_check(T value) -> T {
      |                                                 ^~~~~~~~~~~
/usr/include/fmt/base.h:382:56: note: ‘template<class T> constexpr T fmt::v11::detail::const_check(T)’ previously declared here
  382 | template <typename T> FMT_ALWAYS_INLINE constexpr auto const_check(T val) -> T {
      |                                                        ^~~~~~~~~~~

… and a few thousand more lines of errors.

When I tried building straight from the current Git branch using the instructions from the manual I seem to get the same errors; but I'm not seeing anything about that on the Issues page on GitHub. Is it something about C++ standard version? Am I doing something wrong?

Thanks :-)

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.