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. Static build qt. Getting error because of xcb
Forum Updated to NodeBB v4.3 + New Features

Static build qt. Getting error because of xcb

Scheduled Pinned Locked Moved Solved Installation and Deployment
18 Posts 4 Posters 3.4k Views 3 Watching
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Then check the test logs to see exactly what failed.

    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
    • B Offline
      B Offline
      BrMisha
      wrote on last edited by
      #5

      Thanks, there is really something strange)))

      loaded result for library config.qtbase_gui.libraries.xkbcommon
      Trying source 0 (type pkgConfig) of library xkbcommon ...
      + /usr/bin/pkg-config --exists --silence-errors xkbcommon '>=' 0.5.0
      pkg-config did not find package.
        => source produced no result.
      Trying source 1 (type inline) of library xkbcommon ...
      xkbcommon/xkbcommon.h not found in [] and global paths.
        => source produced no result.
      test config.qtbase_gui.libraries.xkbcommon FAILED
      

      But /usr/include/xkbcommon/xkbcommon.h is exist. I can include it from qt creator. But why ./configure doesn't see that?

      1 Reply Last reply
      0
      • KH-219DesignK Offline
        KH-219DesignK Offline
        KH-219Design
        wrote on last edited by
        #6

        A very similar discussion is taking place at: https://forum.qt.io/topic/114784/definitive-guide-to-building-source-from-downloaded-run-file/29

        No solution posted yet, though.

        www.219design.com
        Software | Electrical | Mechanical | Product Design

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

          Silly question but did you check that you have that file in your system ?

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

          B 1 Reply Last reply
          0
          • SGaistS SGaist

            Silly question but did you check that you have that file in your system ?

            B Offline
            B Offline
            BrMisha
            wrote on last edited by
            #8

            @SGaist Of course i checked))

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

              Did you install the package after calling configure ?
              If so, did you call configure from a clean state ?

              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
              • B Offline
                B Offline
                BrMisha
                wrote on last edited by
                #10

                I have re-unziped sources and tried again. And... configure done)))
                Thank you very much))))

                1 Reply Last reply
                0
                • Tom assoT Offline
                  Tom assoT Offline
                  Tom asso
                  wrote on last edited by
                  #11

                  @BrMisha - so is "configure -qt-xcb" working for you now?

                  B 1 Reply Last reply
                  0
                  • Tom assoT Offline
                    Tom assoT Offline
                    Tom asso
                    wrote on last edited by Tom asso
                    #12

                    @SGaist - how to make a "clean slate" before running configure again?

                    1 Reply Last reply
                    0
                    • Tom assoT Offline
                      Tom assoT Offline
                      Tom asso
                      wrote on last edited by
                      #13

                      See my note in this thread - I'm able to configure and build 5.14.0, but experience the same problem as @BrMisha with 5.14.2.

                      1 Reply Last reply
                      0
                      • Tom assoT Tom asso

                        @BrMisha - so is "configure -qt-xcb" working for you now?

                        B Offline
                        B Offline
                        BrMisha
                        wrote on last edited by
                        #14

                        @Tom-asso yes))

                        1 Reply Last reply
                        0
                        • B Offline
                          B Offline
                          BrMisha
                          wrote on last edited by
                          #15

                          I can share my build package if somebody need

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

                            The easiest is to do out of source builds so you can easily nuke the build folder to start anew.

                            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
                            • Tom assoT Offline
                              Tom assoT Offline
                              Tom asso
                              wrote on last edited by
                              #17

                              @BrMisha - I'm trying to build qt-everywhere-src-5.14.2 on ubuntu, having very similar problem with xcb that you report, i.e. "./configure -qt-xcb" gives errors. Are you also building qt-everywhere-src-5.14.2? How exactly did you overcome your problem and successfully build?
                              Thanks!

                              B 1 Reply Last reply
                              0
                              • Tom assoT Tom asso

                                @BrMisha - I'm trying to build qt-everywhere-src-5.14.2 on ubuntu, having very similar problem with xcb that you report, i.e. "./configure -qt-xcb" gives errors. Are you also building qt-everywhere-src-5.14.2? How exactly did you overcome your problem and successfully build?
                                Thanks!

                                B Offline
                                B Offline
                                BrMisha
                                wrote on last edited by BrMisha
                                #18

                                @Tom-asso At first i installed libxkbcommon-dev then
                                @BrMisha said in Static build qt. Getting error because of xcb:

                                I have re-unziped sources and tried again. And... configure done)))
                                Thank you very much))))

                                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