Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Whats going on with QT and Redhat??

Whats going on with QT and Redhat??

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 3 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zeethree50
    wrote on 19 Jul 2024, 17:47 last edited by zeethree50
    #1

    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.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JonB
      wrote on 19 Jul 2024, 17:58 last edited by JonB
      #2

      qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.

      This is a package you need, however you do that under RHL.

      Z 1 Reply Last reply 19 Jul 2024, 18:30
      0
      • J JonB
        19 Jul 2024, 17:58

        qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.

        This is a package you need, however you do that under RHL.

        Z Offline
        Z Offline
        zeethree50
        wrote on 19 Jul 2024, 18:30 last edited by
        #3

        @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,

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 19 Jul 2024, 18:40 last edited by
          #4

          Hi,

          You likely have wayland as display manager hence the suggestion to use that backend in place of xcb as well as the missing libraries issue that @JonB pointed to.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          Z 1 Reply Last reply 19 Jul 2024, 18:52
          0
          • S SGaist
            19 Jul 2024, 18:40

            Hi,

            You likely have wayland as display manager hence the suggestion to use that backend in place of xcb as well as the missing libraries issue that @JonB pointed to.

            Z Offline
            Z Offline
            zeethree50
            wrote on 19 Jul 2024, 18:52 last edited by
            #5

            @SGaist Thanks SGaist.

            I should have tried harder before asking.

            sudo dnf install xcb-util-cursor fixed my issue.

            I am trying to figure out the next issue as to why it breaks during installation.

            1 Reply Last reply
            0
            • Z Offline
              Z Offline
              zeethree50
              wrote on 19 Jul 2024, 19:29 last edited by
              #6

              @SGaist @JonB

              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.

              1 Reply Last reply
              0

              6/6

              19 Jul 2024, 19:29

              • Login

              • Login or register to search.
              6 out of 6
              • First post
                6/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved