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. install qt5.14.2 on rhel6.9, but with xcb issues

install qt5.14.2 on rhel6.9, but with xcb issues

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 517 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.
  • O Offline
    O Offline
    onroad
    wrote on last edited by
    #1

    I build qt5.14.2 on rhel6.9 successfully from source codes with default options, and then use it to build my qt-application. And then I met with xcb issue when I launch my built qt-application. Then I tried rebuild qt5.14.2 on rhel6.9 with xcb options, then I met with errors about xcb settings, such as:
    ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.
    ERROR: Feature 'xcb-xlib' was enabled, but the pre-condition 'features.xlib && libs.xcb_xlib' failed.
    After I install all xcb related lib on my rhel6.9 machine, the above errors still exist.

    jsulmJ 1 Reply Last reply
    0
    • O onroad

      I build qt5.14.2 on rhel6.9 successfully from source codes with default options, and then use it to build my qt-application. And then I met with xcb issue when I launch my built qt-application. Then I tried rebuild qt5.14.2 on rhel6.9 with xcb options, then I met with errors about xcb settings, such as:
      ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.
      ERROR: Feature 'xcb-xlib' was enabled, but the pre-condition 'features.xlib && libs.xcb_xlib' failed.
      After I install all xcb related lib on my rhel6.9 machine, the above errors still exist.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @onroad Please provide the config.log file content.

      "And then I met with xcb issue when I launch my built qt-application" - there is a simple way to debug Qt plug-in problems: set QT_DEBUG_PLUGINS env variable before starting your app and check the app output to see why the plug-in could not be loaded, see https://doc.qt.io/qt-6/debug.html.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      O 1 Reply Last reply
      1
      • jsulmJ jsulm

        @onroad Please provide the config.log file content.

        "And then I met with xcb issue when I launch my built qt-application" - there is a simple way to debug Qt plug-in problems: set QT_DEBUG_PLUGINS env variable before starting your app and check the app output to see why the plug-in could not be loaded, see https://doc.qt.io/qt-6/debug.html.

        O Offline
        O Offline
        onroad
        wrote on last edited by
        #3

        @jsulm Thanks for the reply. Did you want the config.log the first time I built qt5.14.2 successfully or the second time I built with xcb options with configuration erros? Or both?

        Thank you!

        jsulmJ 1 Reply Last reply
        0
        • O onroad

          @jsulm Thanks for the reply. Did you want the config.log the first time I built qt5.14.2 successfully or the second time I built with xcb options with configuration erros? Or both?

          Thank you!

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @onroad The one which did not work

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          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