https://bugs.kde.org/show_bug.cgi?id=467631

Mark Penner <mrpen...@mailbox.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrpen...@mailbox.org

--- Comment #3 from Mark Penner <mrpen...@mailbox.org> ---
I ran into this also with Qt 6.6 compiled with kdesrc-build on Debian unstable.
To fix it I needed to add `-DQT_FEATURE_xcb=ON` to `cmake-options` and rebuild
qt6-set (I'm not sure if rebuilding only qtbase would have been enough, so I
built it all). I added it in `~/kde/src/kdesrc-build/qt6-build-include` but I
think you could use `kdesrc-build qt6-set
--cmake-options="-DQT_FEATURE_xcb=ON"` like it says on
https://community.kde.org/Get_Involved/development/More#Build_Qt6_using_kdesrc-build,
near the end of the section.

I tried to find where QX11Application was defined, and I found
https://invent.kde.org/qt/qt/qtbase/-/blob/6.6/src/gui/kernel/qguiapplication_platform.h?ref_type=heads#L41
in a `#if QT_CONFIG(xcb) || defined(Q_QDOC)` block. I'm not familiar with the
Qt codebase and all the macros, but that's what made me try setting
`-DQT_FEATURE_xcb=ON`, and kguiaddons compiled fine after rebuilding Qt.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to