Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt building from sources - xcb dependencies
QtWS25 Last Chance

Qt building from sources - xcb dependencies

Scheduled Pinned Locked Moved Solved General and Desktop
22 Posts 5 Posters 2.3k 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.
  • MasterQM Offline
    MasterQM Offline
    MasterQ
    wrote on last edited by
    #1

    Hello,

    building Qt from sources claims xcb is missing.

    [9/16189] Generating .ibl/TestEnvironment-512.ktx
    FAILED: qtquick3d/tests/baseline/scenegrabber/.ibl/TestEnvironment-512.ktx /home/joachim/Qt/6.8.0/build/qtquick3d/tests/baseline/scenegrabber/.ibl/TestEnvironment-512.ktx 
    cd /home/joachim/Qt/6.8.0/build/qtquick3d/tests/baseline/scenegrabber && /home/joachim/Qt/6.8.0/build/qtbase/bin/balsam --no-plugins -o /home/joachim/Qt/6.8.0/build/qtquick3d/tests/baseline/scenegrabber/.ibl /home/joachim/Qt/6.8.0/Src/qtquick3d/tests/baseline/data/shared/maps/OpenfootageNET_lowerAustria01-1024.hdr --no-plugins -o /home/joachim/Qt/6.8.0/build/qtquick3d/tests/baseline/scenegrabber/.ibl /home/joachim/Qt/6.8.0/Src/qtquick3d/tests/baseline/data/shared/maps/TestEnvironment-512.exr
    qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.`
    

    from configure:

    ...
    
    -- [QtBase] Could NOT find XCB_EWMH (missing: XCB_EWMH_LIBRARY XCB_EWMH_INCLUDE_DIR) (found version "")
    -- [QtBase] Could NOT find XCB_ICCCM (missing: XCB_ICCCM_LIBRARY XCB_ICCCM_INCLUDE_DIR) (found version "")
    -- [QtBase] Could NOT find XCB_KEYSYMS (missing: XCB_KEYSYMS_LIBRARY XCB_KEYSYMS_INCLUDE_DIR) (found version "")
    -- [QtBase] Could NOT find XCB_XEVIE (missing: XCB_XEVIE_LIBRARY) (found version "")
    -- [QtBase] Could NOT find XCB_XPRINT (missing: XCB_XPRINT_LIBRARY) (found version "")
    -- [QtBase] Found XCB: /usr/lib64/libxcb.so;/usr/lib64/libxcb-render.so;/usr/lib64/libxcb-shape.so;/usr/lib64/libxcb-xfixes.so;/usr/lib64/libxcb-shm.so;/usr/lib64/libxcb-util.so;/usr/lib64/libxcb-composite.so;/usr/lib64/libxcb-cursor.so;/usr/lib64/libxcb-damage.so;/usr/lib64/libxcb-dpms.so;/usr/lib64/libxcb-dri2.so;/usr/lib64/libxcb-dri3.so;/usr/lib64/libxcb-glx.so;/usr/lib64/libxcb-image.so;/usr/lib64/libxcb-present.so;/usr/lib64/libxcb-randr.so;/usr/lib64/libxcb-record.so;/usr/lib64/libxcb-render-util.so;/usr/lib64/libxcb-res.so;/usr/lib64/libxcb-screensaver.so;/usr/lib64/libxcb-sync.so;/usr/lib64/libxcb-xf86dri.so;/usr/lib64/libxcb-xinerama.so;/usr/lib64/libxcb-xinput.so;/usr/lib64/libxcb-xkb.so;/usr/lib64/libxcb-xtest.so;/usr/lib64/libxcb-xv.so;/usr/lib64/libxcb-xvmc.so (found suitable version "1.17.0", minimum required is "1.11")
    
    ...
    
    -- The following packages have been found:
     * QtBuildInternals
    
     ...
    
     * X11
     * X11_XCB, A compatibility library for code that translates Xlib API calls into XCB calls, <http://xorg.freedesktop.org/>
     * XCB (required version >= 1.12), X protocol C-language Binding, <https://xcb.freedesktop.org/>
    
    ...
    
    

    and from /usr/lib64/

    :/usr/lib64 # find -type f -name "libxcb-*"
    ./libxcb-shape.so.0.0.0
    ./libxcb-xinput.so.0.1.0
    ./libxcb-xf86dri.so.0.0.0
    ./libxcb-render-util.so.0.0.0
    ./libxcb-util.so.1.0.0
    ./libxcb-xv.so.0.0.0
    ./libxcb-cursor.so.0.0.0
    ./libxcb-keysyms.so.1.0.0
    ./libxcb-composite.so.0.0.0
    ./libxcb-xkb.so.1.0.0
    ./libxcb-sync.so.1.0.0
    ./libxcb-dbe.so.0.0.0
    ./libxcb-randr.so.0.1.0
    ./libxcb-image.so.0.0.0
    ./libxcb-xinerama.so.0.0.0
    ./libxcb-screensaver.so.0.0.0
    ./libxcb-damage.so.0.0.0
    ./libxcb-render.so.0.0.0
    ./libxcb-xfixes.so.0.0.0
    ./libxcb-dpms.so.0.0.0
    ./libxcb-record.so.0.0.0
    ./libxcb-present.so.0.0.0
    ./libxcb-glx.so.0.0.0
    ./libxcb-dri3.so.0.1.0
    ./libxcb-dri2.so.0.0.0
    ./libxcb-shm.so.0.0.0
    ./libxcb-xvmc.so.0.0.0
    ./libxcb-res.so.0.0.0
    ./libxcb-icccm.so.4.0.0
    ./libxcb-xtest.so.0.0.0
    
    

    What is going wrong?

    Christian EhrlicherC 1 Reply Last reply
    0
    • MasterQM Offline
      MasterQM Offline
      MasterQ
      wrote on last edited by
      #22

      Hi,

      last update!

      After a break due to broken hardware I have started from scratch and now all is running fine.

      It seems that I previoulsy had used (by accident) an outdated compiler, gcc-7 instead of gcc-14.

      1 Reply Last reply
      0
      • MasterQM MasterQ

        Hello,

        building Qt from sources claims xcb is missing.

        [9/16189] Generating .ibl/TestEnvironment-512.ktx
        FAILED: qtquick3d/tests/baseline/scenegrabber/.ibl/TestEnvironment-512.ktx /home/joachim/Qt/6.8.0/build/qtquick3d/tests/baseline/scenegrabber/.ibl/TestEnvironment-512.ktx 
        cd /home/joachim/Qt/6.8.0/build/qtquick3d/tests/baseline/scenegrabber && /home/joachim/Qt/6.8.0/build/qtbase/bin/balsam --no-plugins -o /home/joachim/Qt/6.8.0/build/qtquick3d/tests/baseline/scenegrabber/.ibl /home/joachim/Qt/6.8.0/Src/qtquick3d/tests/baseline/data/shared/maps/OpenfootageNET_lowerAustria01-1024.hdr --no-plugins -o /home/joachim/Qt/6.8.0/build/qtquick3d/tests/baseline/scenegrabber/.ibl /home/joachim/Qt/6.8.0/Src/qtquick3d/tests/baseline/data/shared/maps/TestEnvironment-512.exr
        qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
        This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.`
        

        from configure:

        ...
        
        -- [QtBase] Could NOT find XCB_EWMH (missing: XCB_EWMH_LIBRARY XCB_EWMH_INCLUDE_DIR) (found version "")
        -- [QtBase] Could NOT find XCB_ICCCM (missing: XCB_ICCCM_LIBRARY XCB_ICCCM_INCLUDE_DIR) (found version "")
        -- [QtBase] Could NOT find XCB_KEYSYMS (missing: XCB_KEYSYMS_LIBRARY XCB_KEYSYMS_INCLUDE_DIR) (found version "")
        -- [QtBase] Could NOT find XCB_XEVIE (missing: XCB_XEVIE_LIBRARY) (found version "")
        -- [QtBase] Could NOT find XCB_XPRINT (missing: XCB_XPRINT_LIBRARY) (found version "")
        -- [QtBase] Found XCB: /usr/lib64/libxcb.so;/usr/lib64/libxcb-render.so;/usr/lib64/libxcb-shape.so;/usr/lib64/libxcb-xfixes.so;/usr/lib64/libxcb-shm.so;/usr/lib64/libxcb-util.so;/usr/lib64/libxcb-composite.so;/usr/lib64/libxcb-cursor.so;/usr/lib64/libxcb-damage.so;/usr/lib64/libxcb-dpms.so;/usr/lib64/libxcb-dri2.so;/usr/lib64/libxcb-dri3.so;/usr/lib64/libxcb-glx.so;/usr/lib64/libxcb-image.so;/usr/lib64/libxcb-present.so;/usr/lib64/libxcb-randr.so;/usr/lib64/libxcb-record.so;/usr/lib64/libxcb-render-util.so;/usr/lib64/libxcb-res.so;/usr/lib64/libxcb-screensaver.so;/usr/lib64/libxcb-sync.so;/usr/lib64/libxcb-xf86dri.so;/usr/lib64/libxcb-xinerama.so;/usr/lib64/libxcb-xinput.so;/usr/lib64/libxcb-xkb.so;/usr/lib64/libxcb-xtest.so;/usr/lib64/libxcb-xv.so;/usr/lib64/libxcb-xvmc.so (found suitable version "1.17.0", minimum required is "1.11")
        
        ...
        
        -- The following packages have been found:
         * QtBuildInternals
        
         ...
        
         * X11
         * X11_XCB, A compatibility library for code that translates Xlib API calls into XCB calls, <http://xorg.freedesktop.org/>
         * XCB (required version >= 1.12), X protocol C-language Binding, <https://xcb.freedesktop.org/>
        
        ...
        
        

        and from /usr/lib64/

        :/usr/lib64 # find -type f -name "libxcb-*"
        ./libxcb-shape.so.0.0.0
        ./libxcb-xinput.so.0.1.0
        ./libxcb-xf86dri.so.0.0.0
        ./libxcb-render-util.so.0.0.0
        ./libxcb-util.so.1.0.0
        ./libxcb-xv.so.0.0.0
        ./libxcb-cursor.so.0.0.0
        ./libxcb-keysyms.so.1.0.0
        ./libxcb-composite.so.0.0.0
        ./libxcb-xkb.so.1.0.0
        ./libxcb-sync.so.1.0.0
        ./libxcb-dbe.so.0.0.0
        ./libxcb-randr.so.0.1.0
        ./libxcb-image.so.0.0.0
        ./libxcb-xinerama.so.0.0.0
        ./libxcb-screensaver.so.0.0.0
        ./libxcb-damage.so.0.0.0
        ./libxcb-render.so.0.0.0
        ./libxcb-xfixes.so.0.0.0
        ./libxcb-dpms.so.0.0.0
        ./libxcb-record.so.0.0.0
        ./libxcb-present.so.0.0.0
        ./libxcb-glx.so.0.0.0
        ./libxcb-dri3.so.0.1.0
        ./libxcb-dri2.so.0.0.0
        ./libxcb-shm.so.0.0.0
        ./libxcb-xvmc.so.0.0.0
        ./libxcb-res.so.0.0.0
        ./libxcb-icccm.so.4.0.0
        ./libxcb-xtest.so.0.0.0
        
        

        What is going wrong?

        Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #2

        @MasterQ said in Qt building from sources - xcb dependencies:

        What is going wrong?

        -- [QtBase] Could NOT find XCB_EWMH (missing: XCB_EWMH_LIBRARY XCB_EWMH_INCLUDE_DIR) (found version "")
        -- [QtBase] Could NOT find XCB_ICCCM (missing: XCB_ICCCM_LIBRARY XCB_ICCCM_INCLUDE_DIR) (found version "")
        -- [QtBase] Could NOT find XCB_KEYSYMS (missing: XCB_KEYSYMS_LIBRARY XCB_KEYSYMS_INCLUDE_DIR) (found version "")
        -- [QtBase] Could NOT find XCB_XEVIE (missing: XCB_XEVIE_LIBRARY) (found version "")
        -- [QtBase] Could NOT find XCB_XPRINT (missing: XCB_XPRINT_LIBRARY) (found version "")

        You did not install those libs or it's -devel packages.

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        1 Reply Last reply
        1
        • MasterQM Offline
          MasterQM Offline
          MasterQ
          wrote on last edited by MasterQ
          #3
          This post is deleted!
          1 Reply Last reply
          0
          • MasterQM Offline
            MasterQM Offline
            MasterQ
            wrote on last edited by
            #4

            hm,

            I could recently run compiler and linker without any stop. The issue comes only once, in the test module of qt3dquick. Even if some of the xcb components are still not found by configure, it seems that they are also not needed. Except for that one test module.

            1 Reply Last reply
            0
            • MasterQM MasterQ has marked this topic as solved on
            • MasterQM MasterQ referenced this topic on
            • MasterQM Offline
              MasterQM Offline
              MasterQ
              wrote on last edited by
              #5

              I have to revise my comment here.

              Even if compiler and linker are running without stop, some xcb components are still missing. I have actually no idea where they are hidden in my OS's packages.

              As soon as my own program is linking against my built libs, the program is not starting because of missing xcb.

              I didn't recognize that the issue is still not gone because QtCreator and CLion were still misaligned and directing to the wrong Qt libs.

              I am clueless at the moment. No idea how to install the missing components. My package manager does not give me any useful suggestion which packages I should install.

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

                Hi,

                Which distribution are you using ?

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

                MasterQM 1 Reply Last reply
                0
                • MasterQM MasterQ

                  I have to revise my comment here.

                  Even if compiler and linker are running without stop, some xcb components are still missing. I have actually no idea where they are hidden in my OS's packages.

                  As soon as my own program is linking against my built libs, the program is not starting because of missing xcb.

                  I didn't recognize that the issue is still not gone because QtCreator and CLion were still misaligned and directing to the wrong Qt libs.

                  I am clueless at the moment. No idea how to install the missing components. My package manager does not give me any useful suggestion which packages I should install.

                  JoeCFDJ Offline
                  JoeCFDJ Offline
                  JoeCFD
                  wrote on last edited by
                  #7

                  @MasterQ It is likely that some libs are missing for plugins.
                  export QT_DEBUG_PLUGINS=1
                  to find out which plugins can not be loaded. Install their dependencies.

                  1 Reply Last reply
                  1
                  • SGaistS SGaist

                    Hi,

                    Which distribution are you using ?

                    MasterQM Offline
                    MasterQM Offline
                    MasterQ
                    wrote on last edited by MasterQ
                    #8

                    @SGaist said in Qt building from sources - xcb dependencies:

                    Which distribution are you using ?

                    I am using Opensuse Tumbleweed

                    @JoeCFD said in Qt building from sources - xcb dependencies:

                    @MasterQ It is likely that some libs are missing for plugins.
                    export QT_DEBUG_PLUGINS=1
                    to find out which plugins can not be loaded. Install their dependencies.

                    I know the missing plugins. But I cannot find them in my package manager. They are not listet. Maybe they are named differently, I don't know.

                    I got no suitable answer so far from the Opensuse community. I am still trying.

                    BTW.:

                    the env variable gets no hint about the missing xcb. Since I am building Qt from source, the xcb components are not found already at build time. Even if the configure summary states xcb ... yes, some components are missing and xcb seems not to be included in the build. It is not listet as available:

                    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, wayland-egl, linuxfb, vnc, offscreen, minimal, vkkhrdisplay, wayland, minimalegl.
                    
                    
                    jsulmJ 1 Reply Last reply
                    0
                    • MasterQM MasterQ

                      @SGaist said in Qt building from sources - xcb dependencies:

                      Which distribution are you using ?

                      I am using Opensuse Tumbleweed

                      @JoeCFD said in Qt building from sources - xcb dependencies:

                      @MasterQ It is likely that some libs are missing for plugins.
                      export QT_DEBUG_PLUGINS=1
                      to find out which plugins can not be loaded. Install their dependencies.

                      I know the missing plugins. But I cannot find them in my package manager. They are not listet. Maybe they are named differently, I don't know.

                      I got no suitable answer so far from the Opensuse community. I am still trying.

                      BTW.:

                      the env variable gets no hint about the missing xcb. Since I am building Qt from source, the xcb components are not found already at build time. Even if the configure summary states xcb ... yes, some components are missing and xcb seems not to be included in the build. It is not listet as available:

                      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, wayland-egl, linuxfb, vnc, offscreen, minimal, vkkhrdisplay, wayland, minimalegl.
                      
                      
                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by jsulm
                      #9

                      @MasterQ said in Qt building from sources - xcb dependencies:

                      I know the missing plugins.

                      It's not about missing plug-ins, it's about missing dependencies for plug-ins. You should really follow the advice using QT_DEBUG_PLUGINS to see what is missing...

                      "This application failed to start because no Qt platform plugin could be initialized" - please follow QT_DEBUG_PLUGINS advice so we can see what is missing to be able to load this plug-in.

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

                      1 Reply Last reply
                      1
                      • MasterQM MasterQ has marked this topic as unsolved on
                      • MasterQM Offline
                        MasterQM Offline
                        MasterQ
                        wrote on last edited by
                        #10

                        starting my program with QT_DEBUG_PLUGINS=1 gives the following output.

                        qt-debug-plugins.txt

                        Since the post is marked as spam when I insert the output, I have to go via google drive and to provide a download link instead.

                        Attachements are not available here?

                        jsulmJ 1 Reply Last reply
                        0
                        • MasterQM MasterQ

                          starting my program with QT_DEBUG_PLUGINS=1 gives the following output.

                          qt-debug-plugins.txt

                          Since the post is marked as spam when I insert the output, I have to go via google drive and to provide a download link instead.

                          Attachements are not available here?

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

                          @MasterQ I can't open this file. Please take a closer look at its content, especially where the platform plug-in is loaded. You should find more details about what is missing.

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

                          1 Reply Last reply
                          0
                          • MasterQM Offline
                            MasterQM Offline
                            MasterQ
                            wrote on last edited by MasterQ
                            #12

                            @jsulm said in Qt building from sources - xcb dependencies:

                            @MasterQ I can't open this file.

                            I see. If you click on the link a browser should open and show the file as an image. I tried again to insert here as text, but it is marked as spam again, whyever.

                            please click on the link, do not try to save the target or similar. By clicking on the link your browser is opening a frame. From there you can download.

                            Here another attemp via my own nextcloud

                            qt_debug_plugins.txt

                            I had a closer look already. In the file there are no hints about any missing items. xcb is not even mentioned.

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

                              That is the thing: it was not built due to missing development packages of the dependencies listed as missing that you posted earlier.

                              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
                              • MasterQM Offline
                                MasterQM Offline
                                MasterQ
                                wrote on last edited by
                                #14

                                I know, that's what I already said.

                                I followed that list

                                Qt for X11 Requirements

                                and made a checkmark on every listet item. Nevertheless, configure is claiming about missing xcb components and a built program is not starting.

                                I also got no helpful reply from Opensuses community.

                                I am now working on switching to Wayland and to skip X11. With Wayland there are no issues so far.

                                jsulmJ 1 Reply Last reply
                                0
                                • MasterQM MasterQ

                                  I know, that's what I already said.

                                  I followed that list

                                  Qt for X11 Requirements

                                  and made a checkmark on every listet item. Nevertheless, configure is claiming about missing xcb components and a built program is not starting.

                                  I also got no helpful reply from Opensuses community.

                                  I am now working on switching to Wayland and to skip X11. With Wayland there are no issues so far.

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

                                  @MasterQ said in Qt building from sources - xcb dependencies:

                                  Nevertheless, configure is claiming about missing xcb components and a built program is not starting.

                                  @Christian-Ehrlicher Already wrote that libs are missing - did you address that?
                                  Here:

                                  -- [QtBase] Could NOT find XCB_EWMH (missing: XCB_EWMH_LIBRARY XCB_EWMH_INCLUDE_DIR) (found version "")
                                  -- [QtBase] Could NOT find XCB_ICCCM (missing: XCB_ICCCM_LIBRARY XCB_ICCCM_INCLUDE_DIR) (found version "")
                                  -- [QtBase] Could NOT find XCB_KEYSYMS (missing: XCB_KEYSYMS_LIBRARY XCB_KEYSYMS_INCLUDE_DIR) (found version "")
                                  -- [QtBase] Could NOT find XCB_XEVIE (missing: XCB_XEVIE_LIBRARY) (found version "")
                                  -- [QtBase] Could NOT find XCB_XPRINT (missing: XCB_XPRINT_LIBRARY) (found version "")
                                  

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

                                  MasterQM 1 Reply Last reply
                                  0
                                  • jsulmJ jsulm

                                    @MasterQ said in Qt building from sources - xcb dependencies:

                                    Nevertheless, configure is claiming about missing xcb components and a built program is not starting.

                                    @Christian-Ehrlicher Already wrote that libs are missing - did you address that?
                                    Here:

                                    -- [QtBase] Could NOT find XCB_EWMH (missing: XCB_EWMH_LIBRARY XCB_EWMH_INCLUDE_DIR) (found version "")
                                    -- [QtBase] Could NOT find XCB_ICCCM (missing: XCB_ICCCM_LIBRARY XCB_ICCCM_INCLUDE_DIR) (found version "")
                                    -- [QtBase] Could NOT find XCB_KEYSYMS (missing: XCB_KEYSYMS_LIBRARY XCB_KEYSYMS_INCLUDE_DIR) (found version "")
                                    -- [QtBase] Could NOT find XCB_XEVIE (missing: XCB_XEVIE_LIBRARY) (found version "")
                                    -- [QtBase] Could NOT find XCB_XPRINT (missing: XCB_XPRINT_LIBRARY) (found version "")
                                    
                                    MasterQM Offline
                                    MasterQM Offline
                                    MasterQ
                                    wrote on last edited by
                                    #16

                                    @Christian-Ehrlicher Already wrote that libs are missing - did you address that?

                                    Yes. After post #2 of this thread I checked everything again and installed devel packages as long as they were available.

                                    I now have reinstalled/changed whole OS. After already spending too much time on that issue, a complete new install yesterday was much faster and easier. The journey is still not at its end but for now it is looking promissing.

                                    Maybe today or tomorrow I will see if Qt configures and compiles.

                                    jsulmJ 1 Reply Last reply
                                    0
                                    • MasterQM MasterQ

                                      @Christian-Ehrlicher Already wrote that libs are missing - did you address that?

                                      Yes. After post #2 of this thread I checked everything again and installed devel packages as long as they were available.

                                      I now have reinstalled/changed whole OS. After already spending too much time on that issue, a complete new install yesterday was much faster and easier. The journey is still not at its end but for now it is looking promissing.

                                      Maybe today or tomorrow I will see if Qt configures and compiles.

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

                                      @MasterQ said in Qt building from sources - xcb dependencies:

                                      Yes. After post #2 of this thread I checked everything again and installed devel packages as long as they were available

                                      But did you also build and install the XCB plug-in afterwards?

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

                                      1 Reply Last reply
                                      0
                                      • MasterQM Offline
                                        MasterQM Offline
                                        MasterQ
                                        wrote on last edited by
                                        #18

                                        Yes, of course. .. I tried at least and failed.

                                        I am now running a fresh OS and it seems the xcb issues are gone. But others arise. Configure says

                                        joachim:~/Qt$ grep "NOT find" configure.log
                                        -- [QtBase] Could NOT find Slog2 (missing: Slog2_INCLUDE_DIR Slog2_LIBRARY) 
                                        -- [QtBase] Could NOT find GSSAPI (missing: GSSAPI_LIBRARIES GSSAPI_INCLUDE_DIRS) 
                                        -- [QtBase] Could NOT find EGL (missing: HAVE_EGL) (found version "1.5")
                                        joachim:~/Qt$ 
                                        
                                        

                                        All dependencies could be solved except of the mentioned above. At the moment I can not identify corresponding libs.

                                        for pattern slog2 I get no hit
                                        for pattern gssapi I get several hits, like
                                        libglobus-gssapi-assist-devel
                                        libglobus-gssapi-error-devel
                                        ...

                                        for pattern egl I get
                                        gegl
                                        glgrib-egl

                                        Any idea how the missing libs are called?

                                        The System now is an Ubuntu 2410.

                                        1 Reply Last reply
                                        0
                                        • jsulmJ Offline
                                          jsulmJ Offline
                                          jsulm
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #19

                                          Well, if everything you need is enabled you can ignore these missing parts.

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

                                          1 Reply Last reply
                                          0
                                          • MasterQM Offline
                                            MasterQM Offline
                                            MasterQ
                                            wrote on last edited by MasterQ
                                            #20

                                            ignoring the missing dependencies is difficult since configure stopps.

                                            -- [QtBase] Could NOT find EGL (missing: HAVE_EGL) (found version "1.5")
                                            -- Configuring incomplete, errors occurred!
                                            

                                            GSSAPI could now be identified with libkrb5-dev (1.21.3-3)

                                            FindEGL.cmake is looking for EGL/egl.h which can be found in libegl-dev and in package emscripten. Even if libegl-devel is installed, it is not found.

                                            FindSlog2.cmake is looking for /sys/slog2.h which is not found in any package.

                                            To which Qt parts do EGL and Slog2 refere to? I then can decide if I can ignore or skip that modules.

                                            jsulmJ 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