Whats going on with QT and Redhat??
-
A while back I was able to get it installed and even then, it was never easy.
I believe I was using Redhat 8.4 or 8.5 and using QT 5.15.2
I have tried using Redhat 8.8 and 8.10 and tried using 5.15.2, 6.5, and 6.7 and I always get the same error about LibXCB
Error:
./qtcreator
Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, wayland-egl, wayland, xcb.
Aborted (core dumped)
I see so many posts about this but I have not found fixes. Most of the general suggestions have not seemed to work such as:
sudo dnf install mesa-libGL-devel libX11-devel libxcb-devel libXrandr-devel libXcursor-devel libXinerama-devel libXi-devel libXext-devel
Is there an actual guide anywhere of an actual working guide to get QT working on any version in Redhat 8.8
I am continuing to research, but any advice appreciated.Please help @SGaist
The last time I got it working was on 8.4/8.5 with 5.15.2
I was trying to rebuild it on VMware Workstation on a VM instead of on Hyper-V and have been stuck.
Still researching though.
-
@JonB Thank you for the swift reply.
I was able to find it in Redhat 8.8 and it fixed the issue with QT Launching.
I got this error when I tried installing QT from the installer about 97% of the way in.
I didn't have this issue on 8.10, so I am going to try a couple of different things at the moment.
Error during installation process (qt.qt6.653.gcc_64): Could not find the required QmakeOutputInstallerKey(qt.qt6.653.gcc_64_qmakeoutput) value on the installer object. The ConsumeOutput operation on the valid qmake needs to be called first.
Looking into this now by the way,
-
Finally figured out the correct combo to get me up at going.
Redhat 8.10 doesn't throw this error when installing:
Error during installation process (qt.qt6.653.gcc_64): Could not find the required QmakeOutputInstallerKey(qt.qt6.653.gcc_64_qmakeoutput) value on the installer object. The ConsumeOutput operation on the valid qmake needs to be called first.
And sudo dnf install xcb-util-cursor fixed the xcb issue.
Thanks again.