Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
QtWS25 Last Chance

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

Scheduled Pinned Locked Moved Solved Installation and Deployment
183 Posts 87 Posters 878.7k 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.
  • S Srinivas Reddy
    8 Jun 2020, 05:40

    I am using Qt-5.15.0, got the same problem.
    More details are:
    QLibraryPrivate::loadPlugin failed on "/opt/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so" : "Cannot load library /opt/Qt/5.15.0/gcc_64/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)"

    Solved by installing the dependent package.
    Command to install: sudo apt-get install libxcb-xinerama0

    S Offline
    S Offline
    sonicss
    wrote on 16 Dec 2021, 01:16 last edited by
    #113

    @Srinivas-Reddy I solved this issue, tks

    1 Reply Last reply
    0
    • U Offline
      U Offline
      UltraBlack_
      wrote on 4 Jan 2022, 12:58 last edited by UltraBlack_ 1 Apr 2022, 12:59
      #114

      Hey there,
      it seems like I am facing the same issue as well, on Arch once again.
      I have already tried debugging with QT_DEBUG_PLUGINS=1 (https://termbin.com/uszc - After fixage) but after solving all of the errors there I still wasn't able to fix this.
      The applications run fine when executing them with sudo, but just not otherwise.
      Do you have and Ideas?
      Thanks!

      J 1 Reply Last reply 4 Jan 2022, 13:12
      0
      • U UltraBlack_
        4 Jan 2022, 12:58

        Hey there,
        it seems like I am facing the same issue as well, on Arch once again.
        I have already tried debugging with QT_DEBUG_PLUGINS=1 (https://termbin.com/uszc - After fixage) but after solving all of the errors there I still wasn't able to fix this.
        The applications run fine when executing them with sudo, but just not otherwise.
        Do you have and Ideas?
        Thanks!

        J Offline
        J Offline
        JonB
        wrote on 4 Jan 2022, 13:12 last edited by
        #115

        @UltraBlack_
        Please search again for your error message, which is qt.qpa.xcb: could not connect to display. There are plenty of posts about that on this forum and elsewhere. As I wrote earlier that means:

        Not an xcb library loading problem, rather however your X display is set up/connecting.

        Since you say it runs under sudo, I can only imagine either your permissions or your X environment is set up to allow that but not for your non-sudo user.

        As always, try to run an xterm. If you cannot run that you know you do not have a Qt problem.

        1 Reply Last reply
        2
        • D Offline
          D Offline
          Dariusz
          wrote on 13 Mar 2022, 22:56 last edited by
          #116

          Same problem here.
          When I run app freshly build everything works.
          But when I want to > process.setArguments(["--set-rpath", "./", releaseFile]) Then everything breaks. Error :

          Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
          qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
          qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
          This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
          

          Its driving me nuts. Adding rpath relative to current binary/folder breaks everything ;/

          J 1 Reply Last reply 14 Mar 2022, 06:45
          0
          • D Dariusz
            13 Mar 2022, 22:56

            Same problem here.
            When I run app freshly build everything works.
            But when I want to > process.setArguments(["--set-rpath", "./", releaseFile]) Then everything breaks. Error :

            Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
            qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
            qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
            This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
            

            Its driving me nuts. Adding rpath relative to current binary/folder breaks everything ;/

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 14 Mar 2022, 06:45 last edited by
            #117

            @Dariusz said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.:

            Adding rpath relative to current binary/folder

            It is relative to current working directory - are you sure it is the correct one?

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

            1 Reply Last reply
            0
            • D Offline
              D Offline
              Dariusz
              wrote on 14 Mar 2022, 09:20 last edited by
              #118

              @jsulm said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.:

              @Dariusz said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.:

              Adding rpath relative to current binary/folder

              It is relative to current working directory - are you sure it is the correct one?

              Relative to the current working directory... but if I move exe to a different directory, then will the path be relative to that new directory or old one?
              Its all in root of app, I even tried to copy plugins content out of plugins folder and in to root too. Nothing seems to be working.

              J 1 Reply Last reply 14 Mar 2022, 09:44
              0
              • D Dariusz
                14 Mar 2022, 09:20

                @jsulm said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.:

                @Dariusz said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.:

                Adding rpath relative to current binary/folder

                It is relative to current working directory - are you sure it is the correct one?

                Relative to the current working directory... but if I move exe to a different directory, then will the path be relative to that new directory or old one?
                Its all in root of app, I even tried to copy plugins content out of plugins folder and in to root too. Nothing seems to be working.

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 14 Mar 2022, 09:44 last edited by
                #119

                @Dariusz said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.:

                but if I move exe to a different directory, then will the path be relative to that new directory or old one?

                Well, yes it should be the working directory of the process you start, so the one where the exe is located.

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

                D 1 Reply Last reply 14 Mar 2022, 13:34
                0
                • J jsulm
                  14 Mar 2022, 09:44

                  @Dariusz said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.:

                  but if I move exe to a different directory, then will the path be relative to that new directory or old one?

                  Well, yes it should be the working directory of the process you start, so the one where the exe is located.

                  D Offline
                  D Offline
                  Dariusz
                  wrote on 14 Mar 2022, 13:34 last edited by
                  #120

                  @jsulm Yep, then should be relative. Looking at argument I pass process.setArguments(["--set-rpath", "./", releaseFile]) I set rpath to be ./ which is I take relative to exe dir.
                  He still fails to properly solve the xbc/wayland stuff. Do I need to dig in to xcb library themself, and remap them too to point to correct qt folders or something? I'll ldd them see what they look for where.
                  Maybe they need configuring too to be relative to xx project.

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    HlaElks
                    wrote on 25 Apr 2022, 02:35 last edited by
                    #121

                    Hi, the displayed message may indicate these two paths(

                    /home/lis/.local/lib/python3.9/site-packages/cv2/qt/plugins/platforms/libqxcb.so
                    /home/lis/.local/lib/python3.9/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so
                    
                    

                    ) are mixed. How should I fix this? . Thanks!

                    QFactoryLoader::QFactoryLoader() looking at "/home/lis/.local/lib/python3.9/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so"
                    Found metadata in lib /home/lis/.local/lib/python3.9/site-packages/PyQt5/Qt5/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 "/usr/bin/platforms" ...
                    loaded library "/home/lis/.local/lib/python3.9/site-packages/cv2/qt/plugins/platforms/libqxcb.so"
                    
                    qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/lis/.local/lib/python3.9/site-packages/cv2/qt/plugins" even though it was found.
                    
                    
                    J 1 Reply Last reply 25 Apr 2022, 07:47
                    0
                    • H HlaElks
                      25 Apr 2022, 02:35

                      Hi, the displayed message may indicate these two paths(

                      /home/lis/.local/lib/python3.9/site-packages/cv2/qt/plugins/platforms/libqxcb.so
                      /home/lis/.local/lib/python3.9/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so
                      
                      

                      ) are mixed. How should I fix this? . Thanks!

                      QFactoryLoader::QFactoryLoader() looking at "/home/lis/.local/lib/python3.9/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so"
                      Found metadata in lib /home/lis/.local/lib/python3.9/site-packages/PyQt5/Qt5/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 "/usr/bin/platforms" ...
                      loaded library "/home/lis/.local/lib/python3.9/site-packages/cv2/qt/plugins/platforms/libqxcb.so"
                      
                      qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/lis/.local/lib/python3.9/site-packages/cv2/qt/plugins" even though it was found.
                      
                      
                      J Offline
                      J Offline
                      JonB
                      wrote on 25 Apr 2022, 07:47 last edited by
                      #122

                      @HlaElks
                      I don't know which of the cv2 versus the PyQt5 ones you want/need to load. But if you want to find out why /home/lis/.local/lib/python3.9/site-packages/cv2/qt/plugins/platforms/libqxcb.so failed to load you might run ldd on it and examine the output for a missing dependency. Whether that is what you need to know I don't know.

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        actionmystique
                        wrote on 20 Jun 2022, 10:10 last edited by actionmystique
                        #123

                        Hi there. I've encountered the same type of issue when running Seagate's:

                        ./run_SeaTools.sh
                        qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/lib/x86_64-linux-gnu/qt5/plugins:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms" even though it was found.
                        

                        I could not read all the posts in this thread, but I tried some of the proposed solutions which did not solve anything in my case:

                        # apt install --reinstall libqt5gui5 qtbase5-dev qt5dxcb-plugin libxcb-xinerama0
                        ...
                        # export QT_DEBUG_PLUGINS=1
                        # export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms
                        # ./run_SeaTools.sh 
                        qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/lib/x86_64-linux-gnu/qt5/plugins:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms" even though it was found.
                        This application failed to start because no Qt platform plugin could be initialized.
                        ...
                        

                        Any suggestion?

                        J SGaistS 2 Replies Last reply 20 Jun 2022, 13:04
                        0
                        • A actionmystique
                          20 Jun 2022, 10:10

                          Hi there. I've encountered the same type of issue when running Seagate's:

                          ./run_SeaTools.sh
                          qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/lib/x86_64-linux-gnu/qt5/plugins:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms" even though it was found.
                          

                          I could not read all the posts in this thread, but I tried some of the proposed solutions which did not solve anything in my case:

                          # apt install --reinstall libqt5gui5 qtbase5-dev qt5dxcb-plugin libxcb-xinerama0
                          ...
                          # export QT_DEBUG_PLUGINS=1
                          # export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms
                          # ./run_SeaTools.sh 
                          qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/lib/x86_64-linux-gnu/qt5/plugins:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms" even though it was found.
                          This application failed to start because no Qt platform plugin could be initialized.
                          ...
                          

                          Any suggestion?

                          J Offline
                          J Offline
                          JonB
                          wrote on 20 Jun 2022, 13:04 last edited by
                          #124

                          @actionmystique
                          As has been said many times, the first thing to try is running with environment variable QT_DEBUG_PLUGINS=1.
                          When you have located the xcb .so file, you might also run ldd on it to see if that tells you anything is missing.

                          1 Reply Last reply
                          0
                          • A actionmystique
                            20 Jun 2022, 10:10

                            Hi there. I've encountered the same type of issue when running Seagate's:

                            ./run_SeaTools.sh
                            qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/lib/x86_64-linux-gnu/qt5/plugins:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms" even though it was found.
                            

                            I could not read all the posts in this thread, but I tried some of the proposed solutions which did not solve anything in my case:

                            # apt install --reinstall libqt5gui5 qtbase5-dev qt5dxcb-plugin libxcb-xinerama0
                            ...
                            # export QT_DEBUG_PLUGINS=1
                            # export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms
                            # ./run_SeaTools.sh 
                            qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/lib/x86_64-linux-gnu/qt5/plugins:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms" even though it was found.
                            This application failed to start because no Qt platform plugin could be initialized.
                            ...
                            

                            Any suggestion?

                            SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 20 Jun 2022, 19:11 last edited by
                            #125

                            Hi

                            @actionmystique why are you trying to run a GUI application as root ?

                            How did you become root in the first place ?

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

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              actionmystique
                              wrote on 21 Jun 2022, 08:03 last edited by
                              #126

                              @SGaist

                              why are you trying to run a GUI application as root ?

                              root is required to run /usr/bin/env which is used in the script. I do no see any reason why being root may be the root ;-) cause for this issue.

                              How did you become root in the first place ?

                              Does it really matter?

                              J 1 Reply Last reply 21 Jun 2022, 08:57
                              0
                              • A actionmystique
                                21 Jun 2022, 08:03

                                @SGaist

                                why are you trying to run a GUI application as root ?

                                root is required to run /usr/bin/env which is used in the script. I do no see any reason why being root may be the root ;-) cause for this issue.

                                How did you become root in the first place ?

                                Does it really matter?

                                J Offline
                                J Offline
                                JonB
                                wrote on 21 Jun 2022, 08:57 last edited by
                                #127

                                @actionmystique said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.:

                                root is required to run /usr/bin/env

                                I do not know what platform/variant of Linux you are on, but since when has running /usr/bin/env ever required root permission/user to run??

                                I do no see any reason why being root may be the root ;-) cause for this issue.

                                Xorg does not like a root user to run UI applications if you are logged into it as a non-root user. (I don't know whether xhost +... would permit this.) I imagine that is why @SGaist is asking.

                                A 1 Reply Last reply 21 Jun 2022, 14:17
                                1
                                • J JonB
                                  21 Jun 2022, 08:57

                                  @actionmystique said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.:

                                  root is required to run /usr/bin/env

                                  I do not know what platform/variant of Linux you are on, but since when has running /usr/bin/env ever required root permission/user to run??

                                  I do no see any reason why being root may be the root ;-) cause for this issue.

                                  Xorg does not like a root user to run UI applications if you are logged into it as a non-root user. (I don't know whether xhost +... would permit this.) I imagine that is why @SGaist is asking.

                                  A Offline
                                  A Offline
                                  actionmystique
                                  wrote on 21 Jun 2022, 14:17 last edited by
                                  #128

                                  @JonB

                                  I do not know what platform/variant of Linux you are on, but since when has running /usr/bin/env ever required root permission/user to run??

                                  I did not phrase it correctly; pkexec needs root to run env ; the script contains:

                                  pkexec env DISPLAY="$DISPLAY" XAUTHORITY="$XAUTHORITY" "$seadoctorDir"/exec-seatools-in-dir
                                  
                                  J 1 Reply Last reply 21 Jun 2022, 14:31
                                  0
                                  • A actionmystique
                                    21 Jun 2022, 14:17

                                    @JonB

                                    I do not know what platform/variant of Linux you are on, but since when has running /usr/bin/env ever required root permission/user to run??

                                    I did not phrase it correctly; pkexec needs root to run env ; the script contains:

                                    pkexec env DISPLAY="$DISPLAY" XAUTHORITY="$XAUTHORITY" "$seadoctorDir"/exec-seatools-in-dir
                                    
                                    J Offline
                                    J Offline
                                    JonB
                                    wrote on 21 Jun 2022, 14:31 last edited by
                                    #129

                                    @actionmystique
                                    If you are running as root but not logged on as root I still wonder if that is the issue.

                                    Xorg

                                    By default, and for security reasons, root will be unable to connect to a non-root user's X server. There are multiple ways of allowing root to do so however, if necessary.

                                    https://wiki.archlinux.org/title/Running_GUI_applications_as_root

                                    Maybe this is an issue, maybe it is not.

                                    A 1 Reply Last reply 22 Jun 2022, 10:03
                                    0
                                    • J JonB
                                      21 Jun 2022, 14:31

                                      @actionmystique
                                      If you are running as root but not logged on as root I still wonder if that is the issue.

                                      Xorg

                                      By default, and for security reasons, root will be unable to connect to a non-root user's X server. There are multiple ways of allowing root to do so however, if necessary.

                                      https://wiki.archlinux.org/title/Running_GUI_applications_as_root

                                      Maybe this is an issue, maybe it is not.

                                      A Offline
                                      A Offline
                                      actionmystique
                                      wrote on 22 Jun 2022, 10:03 last edited by
                                      #130

                                      @JonB
                                      I tried:

                                      1. login as root: same result
                                      2. add one policy kit file for env and for SeaTools: same result
                                        org.freedesktop.policykit.pkexec.policy
                                      <?xml version="1.0" encoding="UTF-8"?>
                                      <!DOCTYPE policyconfig PUBLIC
                                       "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
                                       "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
                                      <policyconfig>
                                        <action id="org.freedesktop.policykit.pkexec.run-env">
                                          <description>Run env</description>
                                          <message>Authentication is required to run env</message>
                                          <defaults>
                                            <allow_any>no</allow_any>
                                            <allow_inactive>no</allow_inactive>
                                            <allow_active>auth_admin_keep</allow_active>
                                          </defaults>
                                          <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/env</annotate>
                                          <annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate>
                                        </action>
                                        <action id="org.freedesktop.policykit.pkexec.run-SeaTools">
                                          <description>Run SeaTools</description>
                                          <message>Authentication is required to run SeaTools</message>
                                          <defaults>
                                            <allow_any>no</allow_any>
                                            <allow_inactive>no</allow_inactive>
                                            <allow_active>auth_admin_keep</allow_active>
                                          </defaults>
                                          <annotate key="org.freedesktop.policykit.exec.path">/opt/SeaTools5/SeaTools</annotate>
                                          <annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate>
                                        </action>
                                      </policyconfig>
                                      

                                      However, I did notice one file which may or may not be adequate: qt.conf

                                      # Generated by linuxdeployqt
                                      # https://github.com/probonopd/linuxdeployqt/
                                      [Paths]
                                      Prefix = ./
                                      Plugins = plugins
                                      Imports = qml
                                      Qml2Imports = qml
                                      
                                      A 1 Reply Last reply 25 Jun 2022, 15:15
                                      0
                                      • A actionmystique
                                        22 Jun 2022, 10:03

                                        @JonB
                                        I tried:

                                        1. login as root: same result
                                        2. add one policy kit file for env and for SeaTools: same result
                                          org.freedesktop.policykit.pkexec.policy
                                        <?xml version="1.0" encoding="UTF-8"?>
                                        <!DOCTYPE policyconfig PUBLIC
                                         "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
                                         "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
                                        <policyconfig>
                                          <action id="org.freedesktop.policykit.pkexec.run-env">
                                            <description>Run env</description>
                                            <message>Authentication is required to run env</message>
                                            <defaults>
                                              <allow_any>no</allow_any>
                                              <allow_inactive>no</allow_inactive>
                                              <allow_active>auth_admin_keep</allow_active>
                                            </defaults>
                                            <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/env</annotate>
                                            <annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate>
                                          </action>
                                          <action id="org.freedesktop.policykit.pkexec.run-SeaTools">
                                            <description>Run SeaTools</description>
                                            <message>Authentication is required to run SeaTools</message>
                                            <defaults>
                                              <allow_any>no</allow_any>
                                              <allow_inactive>no</allow_inactive>
                                              <allow_active>auth_admin_keep</allow_active>
                                            </defaults>
                                            <annotate key="org.freedesktop.policykit.exec.path">/opt/SeaTools5/SeaTools</annotate>
                                            <annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate>
                                          </action>
                                        </policyconfig>
                                        

                                        However, I did notice one file which may or may not be adequate: qt.conf

                                        # Generated by linuxdeployqt
                                        # https://github.com/probonopd/linuxdeployqt/
                                        [Paths]
                                        Prefix = ./
                                        Plugins = plugins
                                        Imports = qml
                                        Qml2Imports = qml
                                        
                                        A Offline
                                        A Offline
                                        actionmystique
                                        wrote on 25 Jun 2022, 15:15 last edited by
                                        #131

                                        Has anyone tried to run SeaTools from seagate on Ubuntu?

                                        1 Reply Last reply
                                        0
                                        • M Offline
                                          M Offline
                                          mywings19
                                          wrote on 17 Aug 2022, 09:15 last edited by
                                          #132

                                          hi,
                                          I'm facing similar issue.could you give me some suggestion?
                                          my QT version is:Qt Creator 8.0.1 based on Qt 6.3.1

                                          the error message:
                                          qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/sugon/Software/qtcreator8.0.1/lib/Qt/plugins/platforms" 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: linuxfb, minimal, offscreen, vnc, eglfs, minimalegl, vkkhrdisplay, wayland-egl, wayland, xcb.

                                          Then I've set 'export QT_DEBUG_PLUGINS=1'
                                          but there's no extra error message,qtcreator is running normally

                                          And I've run 'ldd libqxcb.so',result is

                                                  linux-vdso.so.1 (0x00007ffcdb970000)
                                                  libQt6XcbQpa.so.6 => /home/sugon/Software/qtcreator8.0.1/lib/Qt/plugins/platforms/./../../lib/libQt6XcbQpa.so.6 (0x00007f02bc4a5000)
                                                  libxkbcommon-x11.so.0 => /lib/x86_64-linux-gnu/libxkbcommon-x11.so.0 (0x00007f02bc476000)
                                                  libxkbcommon.so.0 => /lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f02bc434000)
                                                  libxcb-icccm.so.4 => /lib/x86_64-linux-gnu/libxcb-icccm.so.4 (0x00007f02bc42d000)
                                                  libxcb-image.so.0 => /lib/x86_64-linux-gnu/libxcb-image.so.0 (0x00007f02bc427000)
                                                  libxcb-keysyms.so.1 => /lib/x86_64-linux-gnu/libxcb-keysyms.so.1 (0x00007f02bc422000)
                                                  libxcb-randr.so.0 => /lib/x86_64-linux-gnu/libxcb-randr.so.0 (0x00007f02bc40e000)
                                                  libxcb-render-util.so.0 => /lib/x86_64-linux-gnu/libxcb-render-util.so.0 (0x00007f02bc407000)
                                                  libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f02bc402000)
                                                  libxcb-sync.so.1 => /lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f02bc3f8000)
                                                  libxcb-xfixes.so.0 => /lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007f02bc3ee000)
                                                  libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f02bc3df000)
                                                  libxcb-shape.so.0 => /lib/x86_64-linux-gnu/libxcb-shape.so.0 (0x00007f02bc3d8000)
                                                  libxcb-xkb.so.1 => /lib/x86_64-linux-gnu/libxcb-xkb.so.1 (0x00007f02bc3ba000)
                                                  libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f02bc390000)
                                                  libQt6OpenGL.so.6 => /home/sugon/Software/qtcreator8.0.1/lib/Qt/plugins/platforms/./../../lib/libQt6OpenGL.so.6 (0x00007f02bc2ee000)
                                                  libQt6Gui.so.6 => /home/sugon/Software/qtcreator8.0.1/lib/Qt/plugins/platforms/./../../lib/libQt6Gui.so.6 (0x00007f02bb96b000)
                                                  libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f02bb8d7000)
                                                  libQt6Core.so.6 => /home/sugon/Software/qtcreator8.0.1/lib/Qt/plugins/platforms/./../../lib/libQt6Core.so.6 (0x00007f02bb272000)
                                                  libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f02bb26d000)
                                                  libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f02bb12c000)
                                                  libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f02bb127000)
                                                  libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f02bb106000)
                                                  libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f02baf82000)
                                                  libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f02badfd000)
                                                  libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f02bade3000)
                                                  libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f02bac22000)
                                                  libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f02bab03000)
                                                  libgthread-2.0.so.0 => /lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f02baafe000)
                                                  libxcb-util.so.0 => /lib/x86_64-linux-gnu/libxcb-util.so.0 (0x00007f02baaf2000)
                                                  libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f02baaed000)
                                                  libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f02baae5000)
                                                  libEGL.so.1 => /lib/x86_64-linux-gnu/libEGL.so.1 (0x00007f02baad0000)
                                                  libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f02baa8a000)
                                                  libQt6DBus.so.6 => /home/sugon/Software/qtcreator8.0.1/lib/Qt/plugins/platforms/./../../lib/libQt6DBus.so.6 (0x00007f02ba9b8000)
                                                  libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f02ba99b000)
                                                  libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f02ba8df000)
                                                  libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f02ba8ab000)
                                                  libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f02ba7ee000)
                                                  libicui18n.so.56 => /home/sugon/Software/qtcreator8.0.1/lib/Qt/plugins/platforms/./../../lib/libicui18n.so.56 (0x00007f02ba353000)
                                                  libicuuc.so.56 => /home/sugon/Software/qtcreator8.0.1/lib/Qt/plugins/platforms/./../../lib/libicuuc.so.56 (0x00007f02b9f9b000)
                                                  libicudata.so.56 => /home/sugon/Software/qtcreator8.0.1/lib/Qt/plugins/platforms/./../../lib/libicudata.so.56 (0x00007f02b85b8000)
                                                  librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f02b85ae000)
                                                  /lib64/ld-linux-x86-64.so.2 (0x00007f02bc55d000)
                                                  libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f02b853a000)
                                                  libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f02b8520000)
                                                  libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f02b84e1000)
                                                  libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f02b84d8000)
                                                  libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f02b8485000)
                                                  libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f02b844c000)
                                                  libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f02b8437000)
                                                  libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f02b8394000)
                                                  liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f02b836c000)
                                                  liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f02b834d000)
                                                  libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f02b8228000)
                                                  libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f02b8205000)
                                          

                                          what to do next?thank you!

                                          J 1 Reply Last reply 17 Aug 2022, 09:32
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved