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. How start compiler in Ubuntu 20
Forum Updated to NodeBB v4.3 + New Features

How start compiler in Ubuntu 20

Scheduled Pinned Locked Moved Solved General and Desktop
33 Posts 5 Posters 4.9k 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
    #22

    As I already said: the folder has absolutely nothing to do with the environnement variable.

    What do you mean by your restarted Qt ?

    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
    • M Mikeeeeee

      I am restarted Qt.
      Maybe I'm not there to change this variable. Explain in which folder I need to change this variable?

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

      @Mikeeeeee
      This really isn't very hard. You originally showed

      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-
      

      You ran a program to get this. I don't know whether it was Qt Creator or your own application, but it was one of them, whichever. Right?

      As we have already told you:

      1. Open a console/terminal.
      2. Type: export QT_DEBUG_PLUGINS=1
      3. Type the path to Qt Creator or your own executable to run it. Whichever one caused your original error.

      At this point you should get your error again, but this time the environment variable should cause debug output, stating which it can't load "xcb".

      1 Reply Last reply
      2
      • M Offline
        M Offline
        Mikeeeeee
        wrote on last edited by Mikeeeeee
        #24

        @JonBWhere and how do I specify the path to Qt Creator? Please provide a full example of using QT_DEBUG_PLUGINS.
        And maybe the QT_DEBUG_PLUGINS plugin doesn't work either?

        JonBJ 1 Reply Last reply
        0
        • M Mikeeeeee

          @JonBWhere and how do I specify the path to Qt Creator? Please provide a full example of using QT_DEBUG_PLUGINS.
          And maybe the QT_DEBUG_PLUGINS plugin doesn't work either?

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

          @Mikeeeeee
          I have provided a full example. I have given you the exact steps. I would expect any developer to be able to follow them easily. I leave it to you.

          M 1 Reply Last reply
          1
          • JonBJ JonB

            @Mikeeeeee
            I have provided a full example. I have given you the exact steps. I would expect any developer to be able to follow them easily. I leave it to you.

            M Offline
            M Offline
            Mikeeeeee
            wrote on last edited by
            #26

            @JonB Please explain point 3. It is not clear how, where, or why to record the path.

            jsulmJ 1 Reply Last reply
            0
            • M Mikeeeeee

              @JonB Please explain point 3. It is not clear how, where, or why to record the path.

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

              @Mikeeeeee Why is it so hard?! Do you know what a path is?
              Just call QtCreator using full path to it, like:

              /home/YOUR_USER_NAME/Qt/Tools/QtCreator/bin/qtcreator.sh
              

              "And maybe the QT_DEBUG_PLUGINS plugin doesn't work either?" - QT_DEBUG_PLUGINS is not a plug-in! You already was told that it is an environment variable. I suggest you learn what an environment variable is (something a software developer should know).

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

              1 Reply Last reply
              2
              • M Offline
                M Offline
                Mikeeeeee
                wrote on last edited by
                #28

                I get this log with errors:

                QFactoryLoader::QFactoryLoader() checking directory path "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms" ...
                QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqeglfs.so"
                Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqeglfs.so.debug"
                "The shared library was not found." 
                         not a plugin
                QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqlinuxfb.so"
                Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqlinuxfb.so.debug"
                "The shared library was not found." 
                         not a plugin
                QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqminimal.so"
                Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqminimal.so.debug"
                "The shared library was not found." 
                         not a plugin
                QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqminimalegl.so"
                Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqminimalegl.so.debug"
                "The shared library was not found." 
                         not a plugin
                QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqoffscreen.so"
                Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqoffscreen.so.debug"
                "The shared library was not found." 
                         not a plugin
                QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqvnc.so"
                Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqvnc.so.debug"
                "The shared library was not found." 
                         not a plugin
                QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-egl.so"
                Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-egl.so.debug"
                "The shared library was not found." 
                         not a plugin
                QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-generic.so"
                Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-generic.so.debug"
                "The shared library was not found." 
                         not a plugin
                QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-egl.so"
                Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-egl.so.debug"
                "The shared library was not found." 
                         not a plugin
                QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-glx.so"
                Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-glx.so.debug"
                "The shared library was not found." 
                         not a plugin
                QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwebgl.so"
                Found metadata in lib /home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwebgl.so, metadata=
                {
                    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                    "MetaData": {
                        "Keys": [
                            "webgl"
                        ]
                    },
                    "archreq": 0,
                    "className": "QWebGLIntegrationPlugin",
                    "debug": false,
                    "version": 331520
                }
                
                
                Got keys from plugin meta data ("webgl")
                QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwebgl.so.debug"
                "The shared library was not found." 
                         not a plugin
                QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so"
                Found metadata in lib /home/admin1/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() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so.debug"
                "The shared library was not found." 
                         not a plugin
                QFactoryLoader::QFactoryLoader() checking directory path "/home/admin1/QtProjects/build-test-Desktop_Qt_5_15_0_GCC_64bit-Debug/platforms" ...
                Cannot load library /home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога)
                QLibraryPrivate::loadPlugin failed on "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so" : "Cannot load library /home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога)"
                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, webgl, xcb.
                
                jsulmJ JonBJ 2 Replies Last reply
                0
                • M Mikeeeeee

                  I get this log with errors:

                  QFactoryLoader::QFactoryLoader() checking directory path "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms" ...
                  QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqeglfs.so"
                  Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqeglfs.so.debug"
                  "The shared library was not found." 
                           not a plugin
                  QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqlinuxfb.so"
                  Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqlinuxfb.so.debug"
                  "The shared library was not found." 
                           not a plugin
                  QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqminimal.so"
                  Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqminimal.so.debug"
                  "The shared library was not found." 
                           not a plugin
                  QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqminimalegl.so"
                  Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqminimalegl.so.debug"
                  "The shared library was not found." 
                           not a plugin
                  QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqoffscreen.so"
                  Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqoffscreen.so.debug"
                  "The shared library was not found." 
                           not a plugin
                  QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqvnc.so"
                  Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqvnc.so.debug"
                  "The shared library was not found." 
                           not a plugin
                  QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-egl.so"
                  Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-egl.so.debug"
                  "The shared library was not found." 
                           not a plugin
                  QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-generic.so"
                  Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-generic.so.debug"
                  "The shared library was not found." 
                           not a plugin
                  QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-egl.so"
                  Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-egl.so.debug"
                  "The shared library was not found." 
                           not a plugin
                  QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-glx.so"
                  Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-glx.so.debug"
                  "The shared library was not found." 
                           not a plugin
                  QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwebgl.so"
                  Found metadata in lib /home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwebgl.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                      "MetaData": {
                          "Keys": [
                              "webgl"
                          ]
                      },
                      "archreq": 0,
                      "className": "QWebGLIntegrationPlugin",
                      "debug": false,
                      "version": 331520
                  }
                  
                  
                  Got keys from plugin meta data ("webgl")
                  QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwebgl.so.debug"
                  "The shared library was not found." 
                           not a plugin
                  QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so"
                  Found metadata in lib /home/admin1/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() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so.debug"
                  "The shared library was not found." 
                           not a plugin
                  QFactoryLoader::QFactoryLoader() checking directory path "/home/admin1/QtProjects/build-test-Desktop_Qt_5_15_0_GCC_64bit-Debug/platforms" ...
                  Cannot load library /home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога)
                  QLibraryPrivate::loadPlugin failed on "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so" : "Cannot load library /home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога)"
                  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, webgl, xcb.
                  
                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #29

                  @Mikeeeeee "Cannot load library /home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога)" - libxcb-xinerama.so is missing.
                  Install libxinerama1 package.

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

                  M 1 Reply Last reply
                  2
                  • M Mikeeeeee

                    I get this log with errors:

                    QFactoryLoader::QFactoryLoader() checking directory path "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms" ...
                    QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqeglfs.so"
                    Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqeglfs.so.debug"
                    "The shared library was not found." 
                             not a plugin
                    QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqlinuxfb.so"
                    Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqlinuxfb.so.debug"
                    "The shared library was not found." 
                             not a plugin
                    QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqminimal.so"
                    Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqminimal.so.debug"
                    "The shared library was not found." 
                             not a plugin
                    QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqminimalegl.so"
                    Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqminimalegl.so.debug"
                    "The shared library was not found." 
                             not a plugin
                    QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqoffscreen.so"
                    Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqoffscreen.so.debug"
                    "The shared library was not found." 
                             not a plugin
                    QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqvnc.so"
                    Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqvnc.so.debug"
                    "The shared library was not found." 
                             not a plugin
                    QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-egl.so"
                    Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-egl.so.debug"
                    "The shared library was not found." 
                             not a plugin
                    QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-generic.so"
                    Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-generic.so.debug"
                    "The shared library was not found." 
                             not a plugin
                    QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-egl.so"
                    Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-egl.so.debug"
                    "The shared library was not found." 
                             not a plugin
                    QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-glx.so"
                    Found metadata in lib /home/admin1/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/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwayland-xcomposite-glx.so.debug"
                    "The shared library was not found." 
                             not a plugin
                    QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwebgl.so"
                    Found metadata in lib /home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwebgl.so, metadata=
                    {
                        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                        "MetaData": {
                            "Keys": [
                                "webgl"
                            ]
                        },
                        "archreq": 0,
                        "className": "QWebGLIntegrationPlugin",
                        "debug": false,
                        "version": 331520
                    }
                    
                    
                    Got keys from plugin meta data ("webgl")
                    QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqwebgl.so.debug"
                    "The shared library was not found." 
                             not a plugin
                    QFactoryLoader::QFactoryLoader() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so"
                    Found metadata in lib /home/admin1/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() looking at "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so.debug"
                    "The shared library was not found." 
                             not a plugin
                    QFactoryLoader::QFactoryLoader() checking directory path "/home/admin1/QtProjects/build-test-Desktop_Qt_5_15_0_GCC_64bit-Debug/platforms" ...
                    Cannot load library /home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога)
                    QLibraryPrivate::loadPlugin failed on "/home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so" : "Cannot load library /home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога)"
                    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, webgl, xcb.
                    
                    JonBJ Offline
                    JonBJ Offline
                    JonB
                    wrote on last edited by
                    #30

                    @Mikeeeeee
                    Which is what we have waiting for you to try for a long time now! As you can see, setting the environment variable produces detailed output for others to analyze....

                    1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @Mikeeeeee "Cannot load library /home/admin1/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога)" - libxcb-xinerama.so is missing.
                      Install libxinerama1 package.

                      M Offline
                      M Offline
                      Mikeeeeee
                      wrote on last edited by
                      #31

                      @jsulm I have libxinerama1 (2:1.1.4-2).
                      It seems the error is in something else. Maybe some of the Qt components didn't install after all?

                      jsulmJ 1 Reply Last reply
                      0
                      • M Mikeeeeee

                        @jsulm I have libxinerama1 (2:1.1.4-2).
                        It seems the error is in something else. Maybe some of the Qt components didn't install after all?

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

                        @Mikeeeeee You actually need libxcb-xinerama0 package.

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

                        1 Reply Last reply
                        3
                        • M Offline
                          M Offline
                          Mikeeeeee
                          wrote on last edited by
                          #33

                          Thanks, it's help me!

                          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