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. Can't Install Qt6 on CentOs Realm 9
Qt 6.11 is out! See what's new in the release blog

Can't Install Qt6 on CentOs Realm 9

Scheduled Pinned Locked Moved Solved Installation and Deployment
4 Posts 2 Posters 1.4k 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.
  • K Offline
    K Offline
    KlaarKy
    wrote on last edited by KlaarKy
    #1

    Hello,

    I created a virtual machine using VirtualBox 7.0.14
    I installed CentOS Realm 9 on it and Qt 6 open source with online installer.
    But when I tried to launch qt creator nothing happened and when I lauched it with command line I had this error :
    Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
    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.

    Any idea ?

    i tried to update xcb dependencies with the following command but it didn't solve my problem :
    yum install libxcb libxcb-devel libXrender libXrender-devel xcb-util-wm xcb-util-wm-devel xcb-util xcb-util-devel xcb-util-image xcb-util-image-devel xcb-util-keysyms xcb-util-keysyms-devel

    Thank you for your help

    cristian-adamC 1 Reply Last reply
    0
    • K KlaarKy

      Hello,

      I created a virtual machine using VirtualBox 7.0.14
      I installed CentOS Realm 9 on it and Qt 6 open source with online installer.
      But when I tried to launch qt creator nothing happened and when I lauched it with command line I had this error :
      Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
      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.

      Any idea ?

      i tried to update xcb dependencies with the following command but it didn't solve my problem :
      yum install libxcb libxcb-devel libXrender libXrender-devel xcb-util-wm xcb-util-wm-devel xcb-util xcb-util-devel xcb-util-image xcb-util-image-devel xcb-util-keysyms xcb-util-keysyms-devel

      Thank you for your help

      cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote on last edited by
      #2

      You are missing a library required by the xcb QPA plugin.

      Try to do a ldd /path/to/xcb.so to find out what's missing. Or strace.

      1 Reply Last reply
      1
      • K Offline
        K Offline
        KlaarKy
        wrote on last edited by
        #3

        I was missing libxcb-cursor.so
        I installed it with the following command : sudo yum -y install xcb-util-cursor

        My problem is solved. Thank you for your help ;)

        1 Reply Last reply
        1
        • K KlaarKy has marked this topic as solved on
        • K Offline
          K Offline
          KlaarKy
          wrote on last edited by
          #4

          A best solution is to use these command lines :
          sudo dnf groupinstall "Development Tools"
          sudo dnf install mesa-libGL-devel

          1 Reply Last reply
          0

          • Login

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