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 Creator + Ubuntu 20.04
Forum Updated to NodeBB v4.3 + New Features

Qt Creator + Ubuntu 20.04

Scheduled Pinned Locked Moved Solved General and Desktop
21 Posts 4 Posters 13.4k Views 1 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.
  • mrjjM mrjj

    Hi
    Do @JonB suggestion first please :)

    Try
    sudo apt purge libxcb
    sudo apt install libxcb

    F Offline
    F Offline
    fem_dev
    wrote on last edited by
    #4

    @mrjj

    When I trie dto purge and install...I got the same message:
    E: Unable to locate package libxcb

    mrjjM 1 Reply Last reply
    0
    • JonBJ JonB

      @fem_dev
      In shell:

      export QT_DEBUG_PLUGINS=1
      

      Run your program, look through output for what it says it didn't find.

      F Offline
      F Offline
      fem_dev
      wrote on last edited by
      #5

      @JonB said in Qt Creator + Ubuntu 20.04:

      export QT_DEBUG_PLUGINS=1

      I paste this line in my Ubuntu Terminal...but I got the same error message...

      mrjjM 1 Reply Last reply
      0
      • F fem_dev

        @mrjj

        When I trie dto purge and install...I got the same message:
        E: Unable to locate package libxcb

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #6

        Hi
        and you did sudo apt-get update etc ?

        But try the QT_DEBUG_PLUGINS=1 and see if something is missing.

        F 1 Reply Last reply
        0
        • F fem_dev

          @JonB said in Qt Creator + Ubuntu 20.04:

          export QT_DEBUG_PLUGINS=1

          I paste this line in my Ubuntu Terminal...but I got the same error message...

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #7

          @fem_dev said in Qt Creator + Ubuntu 20.04:

          @JonB said in Qt Creator + Ubuntu 20.04:

          export QT_DEBUG_PLUGINS=1

          I paste this line in my Ubuntu Terminal...but I got the same error message...

          well you have to start Creator from that shell too and then it should list tons of infor about stuff it loads or cant load.

          1 Reply Last reply
          0
          • mrjjM mrjj

            Hi
            and you did sudo apt-get update etc ?

            But try the QT_DEBUG_PLUGINS=1 and see if something is missing.

            F Offline
            F Offline
            fem_dev
            wrote on last edited by fem_dev
            #8

            @mrjj
            I did:

            sudo apt-get update (done!)
            sudo apt install libxcb

            And I got:

            E: Unable to locate package libxcb
            

            I opened the Ubuntu Terminal and wrote:

            export QT_DEBUG_PLUGINS=1
            

            So I tried to run the Address Book Qt Example: Same error...

            I Tried to open the QtCreator from the same Terminal...but I got the same error...

            JonBJ 1 Reply Last reply
            0
            • F fem_dev

              @mrjj
              I did:

              sudo apt-get update (done!)
              sudo apt install libxcb

              And I got:

              E: Unable to locate package libxcb
              

              I opened the Ubuntu Terminal and wrote:

              export QT_DEBUG_PLUGINS=1
              

              So I tried to run the Address Book Qt Example: Same error...

              I Tried to open the QtCreator from the same Terminal...but I got the same error...

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by
              #9

              @fem_dev
              Where did you try to run the program from after typing into the shell?

              F 1 Reply Last reply
              0
              • JonBJ JonB

                @fem_dev
                Where did you try to run the program from after typing into the shell?

                F Offline
                F Offline
                fem_dev
                wrote on last edited by
                #10

                @JonB Using QtCreator IDE...in the "run" green button...as always...

                JonBJ 1 Reply Last reply
                0
                • F fem_dev

                  @JonB Using QtCreator IDE...in the "run" green button...as always...

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote on last edited by
                  #11

                  @fem_dev
                  In which case, doing something in a shell won't help...

                  Can you please go into terminal/shell, type export QT_DEBUG_PLUGINS=1, and then run your program from there? As a developer you ought know about setting environment variables.

                  F 1 Reply Last reply
                  0
                  • JonBJ JonB

                    @fem_dev
                    In which case, doing something in a shell won't help...

                    Can you please go into terminal/shell, type export QT_DEBUG_PLUGINS=1, and then run your program from there? As a developer you ought know about setting environment variables.

                    F Offline
                    F Offline
                    fem_dev
                    wrote on last edited by
                    #12

                    @JonB Yes, I can try to do it.

                    But, I always used the Qt Creator green "run" button.

                    Is it possible yet on Ubuntu 20.04?
                    Or I will need to run and debug my Qt applications using Ubuntu Terminal now?

                    mrjjM JonBJ 2 Replies Last reply
                    0
                    • F fem_dev

                      @JonB Yes, I can try to do it.

                      But, I always used the Qt Creator green "run" button.

                      Is it possible yet on Ubuntu 20.04?
                      Or I will need to run and debug my Qt applications using Ubuntu Terminal now?

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #13

                      Or I will need to run and debug my Qt applications using Ubuntu Terminal now?

                      no no, we just try to find out why it gives that error. i also had in Ubuntu Mint after an upgrade.

                      F 1 Reply Last reply
                      0
                      • F fem_dev

                        @JonB Yes, I can try to do it.

                        But, I always used the Qt Creator green "run" button.

                        Is it possible yet on Ubuntu 20.04?
                        Or I will need to run and debug my Qt applications using Ubuntu Terminal now?

                        JonBJ Offline
                        JonBJ Offline
                        JonB
                        wrote on last edited by JonB
                        #14

                        @fem_dev said in Qt Creator + Ubuntu 20.04:

                        But, I always used the Qt Creator green "run" button.

                        Then read the manual about how to set an environment variable for your running your program from within Creator.

                        Or I will need to run and debug my Qt applications using Ubuntu Terminal now?

                        No, I'm just trying to get you to do something to get some information this time, but it's proving tricky! ;-)

                        1 Reply Last reply
                        1
                        • mrjjM mrjj

                          Or I will need to run and debug my Qt applications using Ubuntu Terminal now?

                          no no, we just try to find out why it gives that error. i also had in Ubuntu Mint after an upgrade.

                          F Offline
                          F Offline
                          fem_dev
                          wrote on last edited by fem_dev
                          #15

                          @mrjj @JonB

                          In the Ubuntu Terminal....I set the environment variable and run the compiled Qt example using:

                          ./addressbook
                          

                          I got this Terminal result:

                          QFactoryLoader::QFactoryLoader() checking directory path "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms" ...
                          QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqeglfs.so"
                          Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqeglfs.so, metadata=
                          {
                              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                              "MetaData": {
                                  "Keys": [
                                      "eglfs"
                                  ]
                              },
                              "archreq": 0,
                              "className": "QEglFSIntegrationPlugin",
                              "debug": false,
                              "version": 331520
                          }
                          
                          
                          Got keys from plugin meta data ("eglfs")
                          QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqlinuxfb.so"
                          Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqlinuxfb.so, metadata=
                          {
                              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                              "MetaData": {
                                  "Keys": [
                                      "linuxfb"
                                  ]
                              },
                              "archreq": 0,
                              "className": "QLinuxFbIntegrationPlugin",
                              "debug": false,
                              "version": 331520
                          }
                          
                          
                          Got keys from plugin meta data ("linuxfb")
                          QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqminimal.so"
                          Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqminimal.so, metadata=
                          {
                              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                              "MetaData": {
                                  "Keys": [
                                      "minimal"
                                  ]
                              },
                              "archreq": 0,
                              "className": "QMinimalIntegrationPlugin",
                              "debug": false,
                              "version": 331520
                          }
                          
                          
                          Got keys from plugin meta data ("minimal")
                          QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqminimalegl.so"
                          Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqminimalegl.so, metadata=
                          {
                              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                              "MetaData": {
                                  "Keys": [
                                      "minimalegl"
                                  ]
                              },
                              "archreq": 0,
                              "className": "QMinimalEglIntegrationPlugin",
                              "debug": false,
                              "version": 331520
                          }
                          
                          
                          Got keys from plugin meta data ("minimalegl")
                          QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqoffscreen.so"
                          Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqoffscreen.so, metadata=
                          {
                              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                              "MetaData": {
                                  "Keys": [
                                      "offscreen"
                                  ]
                              },
                              "archreq": 0,
                              "className": "QOffscreenIntegrationPlugin",
                              "debug": false,
                              "version": 331520
                          }
                          
                          
                          Got keys from plugin meta data ("offscreen")
                          QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqvnc.so"
                          Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqvnc.so, metadata=
                          {
                              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                              "MetaData": {
                                  "Keys": [
                                      "vnc"
                                  ]
                              },
                              "archreq": 0,
                              "className": "QVncIntegrationPlugin",
                              "debug": false,
                              "version": 331520
                          }
                          
                          
                          Got keys from plugin meta data ("vnc")
                          QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-egl.so"
                          Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-egl.so, metadata=
                          {
                              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                              "MetaData": {
                                  "Keys": [
                                      "wayland-egl"
                                  ]
                              },
                              "archreq": 0,
                              "className": "QWaylandEglPlatformIntegrationPlugin",
                              "debug": false,
                              "version": 331520
                          }
                          
                          
                          Got keys from plugin meta data ("wayland-egl")
                          QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-generic.so"
                          Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-generic.so, metadata=
                          {
                              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                              "MetaData": {
                                  "Keys": [
                                      "wayland"
                                  ]
                              },
                              "archreq": 0,
                              "className": "QWaylandIntegrationPlugin",
                              "debug": false,
                              "version": 331520
                          }
                          
                          
                          Got keys from plugin meta data ("wayland")
                          QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-egl.so"
                          Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-egl.so, metadata=
                          {
                              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                              "MetaData": {
                                  "Keys": [
                                      "wayland-xcomposite-egl"
                                  ]
                              },
                              "archreq": 0,
                              "className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
                              "debug": false,
                              "version": 331520
                          }
                          
                          
                          Got keys from plugin meta data ("wayland-xcomposite-egl")
                          QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-glx.so"
                          Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-glx.so, metadata=
                          {
                              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                              "MetaData": {
                                  "Keys": [
                                      "wayland-xcomposite-glx"
                                  ]
                              },
                              "archreq": 0,
                              "className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
                              "debug": false,
                              "version": 331520
                          }
                          
                          
                          Got keys from plugin meta data ("wayland-xcomposite-glx")
                          QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so"
                          Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so, metadata=
                          {
                              "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                              "MetaData": {
                                  "Keys": [
                                      "xcb"
                                  ]
                              },
                              "archreq": 0,
                              "className": "QXcbIntegrationPlugin",
                              "debug": false,
                              "version": 331520
                          }
                          
                          
                          Got keys from plugin meta data ("xcb")
                          QFactoryLoader::QFactoryLoader() checking directory path "/home/nyck/Qt/Examples/Qt-5.15.0/widgets/itemviews/build-addressbook-Desktop_Qt_5_15_0_GCC_64bit-Debug/platforms" ...
                          Cannot load library /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)
                          QLibraryPrivate::loadPlugin failed on "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so" : "Cannot load library /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)"
                          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, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
                          
                          Aborted (core dumped)
                          
                          nyck@gs65:~/Qt/Examples/Qt-5.15.0/widgets/itemviews/build-addressbook-Desktop_Qt_5_15_0_GCC_64bit-Debug$ 
                          

                          Any ideas?

                          mrjjM 1 Reply Last reply
                          1
                          • F fem_dev

                            @mrjj @JonB

                            In the Ubuntu Terminal....I set the environment variable and run the compiled Qt example using:

                            ./addressbook
                            

                            I got this Terminal result:

                            QFactoryLoader::QFactoryLoader() checking directory path "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms" ...
                            QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqeglfs.so"
                            Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqeglfs.so, metadata=
                            {
                                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                                "MetaData": {
                                    "Keys": [
                                        "eglfs"
                                    ]
                                },
                                "archreq": 0,
                                "className": "QEglFSIntegrationPlugin",
                                "debug": false,
                                "version": 331520
                            }
                            
                            
                            Got keys from plugin meta data ("eglfs")
                            QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqlinuxfb.so"
                            Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqlinuxfb.so, metadata=
                            {
                                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                                "MetaData": {
                                    "Keys": [
                                        "linuxfb"
                                    ]
                                },
                                "archreq": 0,
                                "className": "QLinuxFbIntegrationPlugin",
                                "debug": false,
                                "version": 331520
                            }
                            
                            
                            Got keys from plugin meta data ("linuxfb")
                            QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqminimal.so"
                            Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqminimal.so, metadata=
                            {
                                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                                "MetaData": {
                                    "Keys": [
                                        "minimal"
                                    ]
                                },
                                "archreq": 0,
                                "className": "QMinimalIntegrationPlugin",
                                "debug": false,
                                "version": 331520
                            }
                            
                            
                            Got keys from plugin meta data ("minimal")
                            QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqminimalegl.so"
                            Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqminimalegl.so, metadata=
                            {
                                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                                "MetaData": {
                                    "Keys": [
                                        "minimalegl"
                                    ]
                                },
                                "archreq": 0,
                                "className": "QMinimalEglIntegrationPlugin",
                                "debug": false,
                                "version": 331520
                            }
                            
                            
                            Got keys from plugin meta data ("minimalegl")
                            QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqoffscreen.so"
                            Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqoffscreen.so, metadata=
                            {
                                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                                "MetaData": {
                                    "Keys": [
                                        "offscreen"
                                    ]
                                },
                                "archreq": 0,
                                "className": "QOffscreenIntegrationPlugin",
                                "debug": false,
                                "version": 331520
                            }
                            
                            
                            Got keys from plugin meta data ("offscreen")
                            QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqvnc.so"
                            Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqvnc.so, metadata=
                            {
                                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                                "MetaData": {
                                    "Keys": [
                                        "vnc"
                                    ]
                                },
                                "archreq": 0,
                                "className": "QVncIntegrationPlugin",
                                "debug": false,
                                "version": 331520
                            }
                            
                            
                            Got keys from plugin meta data ("vnc")
                            QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-egl.so"
                            Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-egl.so, metadata=
                            {
                                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                                "MetaData": {
                                    "Keys": [
                                        "wayland-egl"
                                    ]
                                },
                                "archreq": 0,
                                "className": "QWaylandEglPlatformIntegrationPlugin",
                                "debug": false,
                                "version": 331520
                            }
                            
                            
                            Got keys from plugin meta data ("wayland-egl")
                            QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-generic.so"
                            Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-generic.so, metadata=
                            {
                                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                                "MetaData": {
                                    "Keys": [
                                        "wayland"
                                    ]
                                },
                                "archreq": 0,
                                "className": "QWaylandIntegrationPlugin",
                                "debug": false,
                                "version": 331520
                            }
                            
                            
                            Got keys from plugin meta data ("wayland")
                            QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-egl.so"
                            Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-egl.so, metadata=
                            {
                                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                                "MetaData": {
                                    "Keys": [
                                        "wayland-xcomposite-egl"
                                    ]
                                },
                                "archreq": 0,
                                "className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
                                "debug": false,
                                "version": 331520
                            }
                            
                            
                            Got keys from plugin meta data ("wayland-xcomposite-egl")
                            QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-glx.so"
                            Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-glx.so, metadata=
                            {
                                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                                "MetaData": {
                                    "Keys": [
                                        "wayland-xcomposite-glx"
                                    ]
                                },
                                "archreq": 0,
                                "className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
                                "debug": false,
                                "version": 331520
                            }
                            
                            
                            Got keys from plugin meta data ("wayland-xcomposite-glx")
                            QFactoryLoader::QFactoryLoader() looking at "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so"
                            Found metadata in lib /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so, metadata=
                            {
                                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                                "MetaData": {
                                    "Keys": [
                                        "xcb"
                                    ]
                                },
                                "archreq": 0,
                                "className": "QXcbIntegrationPlugin",
                                "debug": false,
                                "version": 331520
                            }
                            
                            
                            Got keys from plugin meta data ("xcb")
                            QFactoryLoader::QFactoryLoader() checking directory path "/home/nyck/Qt/Examples/Qt-5.15.0/widgets/itemviews/build-addressbook-Desktop_Qt_5_15_0_GCC_64bit-Debug/platforms" ...
                            Cannot load library /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)
                            QLibraryPrivate::loadPlugin failed on "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so" : "Cannot load library /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)"
                            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, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
                            
                            Aborted (core dumped)
                            
                            nyck@gs65:~/Qt/Examples/Qt-5.15.0/widgets/itemviews/build-addressbook-Desktop_Qt_5_15_0_GCC_64bit-Debug$ 
                            

                            Any ideas?

                            mrjjM Offline
                            mrjjM Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on last edited by
                            #16

                            Hi
                            Good work.

                            Got keys from plugin meta data ("xcb")
                            QFactoryLoader::QFactoryLoader() checking directory path "/home/nyck/Qt/Examples/Qt-5.15.0/widgets/itemviews/build-addressbook-Desktop_Qt_5_15_0_GCC_64bit-Debug/platforms" ...
                            Cannot load library /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)
                            QLibraryPrivate::loadPlugin failed on "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so" : "Cannot load library /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)"
                            

                            aha !
                            libxcb-xinerama

                            try
                            apt-get install libxcb-xinerama

                            F 1 Reply Last reply
                            4
                            • mrjjM mrjj

                              Hi
                              Good work.

                              Got keys from plugin meta data ("xcb")
                              QFactoryLoader::QFactoryLoader() checking directory path "/home/nyck/Qt/Examples/Qt-5.15.0/widgets/itemviews/build-addressbook-Desktop_Qt_5_15_0_GCC_64bit-Debug/platforms" ...
                              Cannot load library /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)
                              QLibraryPrivate::loadPlugin failed on "/home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so" : "Cannot load library /home/nyck/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)"
                              

                              aha !
                              libxcb-xinerama

                              try
                              apt-get install libxcb-xinerama

                              F Offline
                              F Offline
                              fem_dev
                              wrote on last edited by fem_dev
                              #17

                              @mrjj

                              sudo apt-get install libxcb-xinerama

                              E: Unable to locate package libxcb-xinerama

                              mrjjM F 2 Replies Last reply
                              0
                              • F fem_dev

                                @mrjj

                                sudo apt-get install libxcb-xinerama

                                E: Unable to locate package libxcb-xinerama

                                mrjjM Offline
                                mrjjM Offline
                                mrjj
                                Lifetime Qt Champion
                                wrote on last edited by
                                #18

                                @fem_dev

                                and you did do update ?

                                sudo apt-get update

                                1 Reply Last reply
                                1
                                • F fem_dev

                                  @mrjj

                                  sudo apt-get install libxcb-xinerama

                                  E: Unable to locate package libxcb-xinerama

                                  F Offline
                                  F Offline
                                  fem_dev
                                  wrote on last edited by
                                  #19

                                  @fem_dev

                                  Here is how to install the libxcb-xinerama:

                                  sudo apt-get install libxcb-randr0-dev libxcb-xtest0-dev libxcb-xinerama0-dev libxcb-shape0-dev libxcb-xkb-dev
                                  

                                  After that: it works!!!

                                  Thank you @mrjj and @JonB

                                  mrjjM 1 Reply Last reply
                                  4
                                  • F fem_dev

                                    @fem_dev

                                    Here is how to install the libxcb-xinerama:

                                    sudo apt-get install libxcb-randr0-dev libxcb-xtest0-dev libxcb-xinerama0-dev libxcb-shape0-dev libxcb-xkb-dev
                                    

                                    After that: it works!!!

                                    Thank you @mrjj and @JonB

                                    mrjjM Offline
                                    mrjjM Offline
                                    mrjj
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #20

                                    @fem_dev
                                    Super!
                                    Im sure it will come often soon when people start to upgrade.

                                    1 Reply Last reply
                                    2
                                    • S Offline
                                      S Offline
                                      Saeed Magdy
                                      wrote on last edited by
                                      #21

                                      https://poe.com/s/fqPkHzQlb2YKt6j9JeAE

                                      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