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. QT 5.12.2 installation error
Forum Update on Monday, May 27th 2025

QT 5.12.2 installation error

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
10 Posts 3 Posters 3.0k 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.
  • A Offline
    A Offline
    ArunQT
    wrote on last edited by
    #1

    Hi All

    I am trying to compile 5.12.2 on RHEL 7.4 getting below error,

    Command, ./configure -system-xcb
    Error:
    Note: Also available for Linux: linux-clang linux-icc
    Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.
    ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && features.xkbcommon && libs.xcb' failed.
    ERROR: Feature 'system-xcb' was enabled, but the pre-condition 'features.xcb && tests.xcb_syslibs' failed.

    xcb related libraries are already installed thru OS package. but still got below features error.
    do I need to specifically mention the OS path for the libraries?

    Thanks
    Kumar

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Do you have the libxkbcommon development package installed ?

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

      1 Reply Last reply
      1
      • A Offline
        A Offline
        ArunQT
        wrote on last edited by ArunQT
        #3

        Hi SGaist

        thanks for the response.

        Yes, I have installed below XKB packages,

        libxkbcommon-0.7.1-1
        libxkbcommon-x11-0.7.1-1

        Thanks
        Kumar

        jsulmJ 1 Reply Last reply
        0
        • A ArunQT

          Hi SGaist

          thanks for the response.

          Yes, I have installed below XKB packages,

          libxkbcommon-0.7.1-1
          libxkbcommon-x11-0.7.1-1

          Thanks
          Kumar

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

          @arunqt These are not development packages. You need also libxkbcommon*-dev

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

          1 Reply Last reply
          1
          • A Offline
            A Offline
            ArunQT
            wrote on last edited by
            #5

            Hi,

            thanks, now it got reduced to one error,

            ERROR: Feature 'system-xcb' was enabled, but the pre-condition 'features.xcb && tests.xcb_syslibs' failed.

            any other packages I need?

            Thanks
            Kumar

            jsulmJ 1 Reply Last reply
            0
            • A ArunQT

              Hi,

              thanks, now it got reduced to one error,

              ERROR: Feature 'system-xcb' was enabled, but the pre-condition 'features.xcb && tests.xcb_syslibs' failed.

              any other packages I need?

              Thanks
              Kumar

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

              @arunqt Add -v parameter to configure call and check the log - you should see more detailed information what exactly is missing.

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

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Did you clean up before calling configure again ?

                On a side note, please use out of source builds, so when something goes wrong you can just nuke the build folder and start new.

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

                1 Reply Last reply
                1
                • A Offline
                  A Offline
                  ArunQT
                  wrote on last edited by
                  #8

                  Hi,

                  Yes, I am removing the entire build folder each time I run the configure.

                  Thanks
                  Kumar

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Then as already suggested, add the -v option and check the tests logs to see what exactly failed when the xcb detection is running.

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

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      ArunQT
                      wrote on last edited by
                      #10

                      Hi,

                      Now I have got all dependencies fixed and there is no error, I am building now...

                      Thanks a lot for your support.

                      Regards
                      Kumar

                      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