Help with build konsole

Hi, I’m new to KDE.
I wanted to install Konsole with qt6 support to try it out on Ubuntu 24.04, so found that having it installed with kde-builder would be the easiest and best option. I’ve installed kde-builder and used online installer to install Qt. Testing the possible build with ‘kde-builder --pretend konsole’ gave me success output, so I issued the command ‘kde-builder konsole’, and confronted by the error. Reading the log from states that
" Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so (found version “1.15”) found components: XCB
CMake Error at CMakeLists.txt:55 (message):
Qt xcb feature is missing for compilation with X11"
I’ve no clue how to overcome this.

Hi! One general comment - trying to get up-to-date software in Ubuntu 24.04, using different major versions of toolkits like Qt than what shipped in it, is going to be a bit of swimming upstream.

The premise of a “long-term support” base operating system is to hold steady to the major software versions and capabilities it shipped with - so if you are generally interested in exploring updated software packages with new capabilities, a different base distribution might make for an easier time. If your interest is not just in trying the software, but specifically in trying to make building it work on an older base distribution anyway, then feel free to disregard the above :slight_smile:

On what you ran into - just double-checking, was this step followed from Set up a development environment | Developer ?

Once installed, open the file ~/.config/kde-builder.yaml , uncomment the line with qt-install-dir: ~/kde/qt , and change it to point to your Qt installation. The actual path should be similar to this, depending on your Qt version:

Yeah,
I double checked instructions and it really turned out that I’m botched the Qt installation by have forgotten to check the Qt version in the online installer. Tnen I fixed the path to Qt ~/.config/kde-builder.yaml to the updated one so to refer to ~/Qt/6.8.1/gcc_64/ and kickstarted the builder. Now I enjoy the konsole with Qt 6.8!

1 Like