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

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
17 Posts 4 Posters 10.0k 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.
  • N Offline
    N Offline
    Nikolay_spb
    wrote on last edited by
    #3

    I use pycharm and did pip install pyqt5 and pip install pyqt5-contrib. On other pc all work but i have linux-mint and it's error

    JonBJ eyllanescE 2 Replies Last reply
    0
    • N Nikolay_spb

      I use pycharm and did pip install pyqt5 and pip install pyqt5-contrib. On other pc all work but i have linux-mint and it's error

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

      @Nikolay_spb
      What is your $DISPLAY environment variable set to? Are you running a VM or what/how for this Mint and how do you connect to it?

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Nikolay_spb
        wrote on last edited by Nikolay_spb
        #5

        i have three monitor benq and two hp.
        i use env and install in it's
        And I have a desktop computer

        JonBJ 1 Reply Last reply
        0
        • N Nikolay_spb

          i have three monitor benq and two hp.
          i use env and install in it's
          And I have a desktop computer

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

          @Nikolay_spb said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in:

          i use env and install in it's

          I do not know what this phrase means.

          In any case your issue is qt.qpa.xcb: could not connect to display :1.0. Usually the main display is 0:0. That is all I know. Someone else will understand this X display issue better than I and hopefully comment.

          N 1 Reply Last reply
          0
          • N Nikolay_spb

            I use pycharm and did pip install pyqt5 and pip install pyqt5-contrib. On other pc all work but i have linux-mint and it's error

            eyllanescE Offline
            eyllanescE Offline
            eyllanesc
            wrote on last edited by
            #7

            @Nikolay_spb Your PyQt installation has nothing to do with QtCreator, how did you install QtCreator?

            If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

            1 Reply Last reply
            0
            • JonBJ JonB

              @Nikolay_spb said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in:

              i use env and install in it's

              I do not know what this phrase means.

              In any case your issue is qt.qpa.xcb: could not connect to display :1.0. Usually the main display is 0:0. That is all I know. Someone else will understand this X display issue better than I and hopefully comment.

              N Offline
              N Offline
              Nikolay_spb
              wrote on last edited by Nikolay_spb
              #8

              very thanks

              1 Reply Last reply
              0
              • N Offline
                N Offline
                Nikolay_spb
                wrote on last edited by
                #9

                @eyllanesc sudo apt install qtcreator

                eyllanescE 1 Reply Last reply
                0
                • N Nikolay_spb

                  @eyllanesc sudo apt install qtcreator

                  eyllanescE Offline
                  eyllanescE Offline
                  eyllanesc
                  wrote on last edited by
                  #10

                  @Nikolay_spb Are you using any special environment?

                  If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

                  N 1 Reply Last reply
                  0
                  • eyllanescE eyllanesc

                    @Nikolay_spb Are you using any special environment?

                    N Offline
                    N Offline
                    Nikolay_spb
                    wrote on last edited by
                    #11

                    @eyllanesc no i use

                    python3 -m venv env
                    

                    I use these libraries, maybe it will help

                    click==7.1.2
                    greenlet==1.1.1
                    numpy==1.21.2
                    opencv-contrib-python==3.4.15.55
                    opencv-python==4.3.0.36
                    opencv-python-headless==4.5.3.56
                    PyQt5==5.15.4
                    PyQt5-Qt5==5.15.2
                    PyQt5-sip==12.9.0
                    PyQt5-stubs==5.15.2.0
                    PySide2==5.15.2
                    python-dotenv==0.19.0
                    qtarmsim==0.5.5
                    shiboken2==5.15.2
                    shiboken6==6.1.3
                    SQLAlchemy==1.4.25
                    tabulate==0.8.9
                    
                    eyllanescE 1 Reply Last reply
                    0
                    • N Nikolay_spb

                      @eyllanesc no i use

                      python3 -m venv env
                      

                      I use these libraries, maybe it will help

                      click==7.1.2
                      greenlet==1.1.1
                      numpy==1.21.2
                      opencv-contrib-python==3.4.15.55
                      opencv-python==4.3.0.36
                      opencv-python-headless==4.5.3.56
                      PyQt5==5.15.4
                      PyQt5-Qt5==5.15.2
                      PyQt5-sip==12.9.0
                      PyQt5-stubs==5.15.2.0
                      PySide2==5.15.2
                      python-dotenv==0.19.0
                      qtarmsim==0.5.5
                      shiboken2==5.15.2
                      shiboken6==6.1.3
                      SQLAlchemy==1.4.25
                      tabulate==0.8.9
                      
                      eyllanescE Offline
                      eyllanescE Offline
                      eyllanesc
                      wrote on last edited by
                      #12

                      @Nikolay_spb I think I have not let myself be understood: QtCreator is orthogonal to PyQt so please don't talk about pyqt anymore. My question is if you are using a VM, docker, etc.

                      If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

                      N 1 Reply Last reply
                      1
                      • eyllanescE eyllanesc

                        @Nikolay_spb I think I have not let myself be understood: QtCreator is orthogonal to PyQt so please don't talk about pyqt anymore. My question is if you are using a VM, docker, etc.

                        N Offline
                        N Offline
                        Nikolay_spb
                        wrote on last edited by
                        #13

                        @eyllanesc no i use desktop pc and os linux mint

                        eyllanescE 2 Replies Last reply
                        0
                        • N Nikolay_spb

                          @eyllanesc no i use desktop pc and os linux mint

                          eyllanescE Offline
                          eyllanescE Offline
                          eyllanesc
                          wrote on last edited by
                          #14

                          @Nikolay_spb So it seems to me a bug in your OS, I recommend you report it. And so that you do not confuse them, do not mention anything about python that is irrelevant. In this forum little or nothing will be able to help you.

                          If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

                          1 Reply Last reply
                          0
                          • N Nikolay_spb

                            @eyllanesc no i use desktop pc and os linux mint

                            eyllanescE Offline
                            eyllanescE Offline
                            eyllanesc
                            wrote on last edited by
                            #15

                            @Nikolay_spb Does your OS installation have a desktop manager?

                            If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

                            N 1 Reply Last reply
                            0
                            • eyllanescE eyllanesc

                              @Nikolay_spb Does your OS installation have a desktop manager?

                              N Offline
                              N Offline
                              Nikolay_spb
                              wrote on last edited by
                              #16

                              @eyllanesc said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in:

                              Does your OS installation have a desktop manager?
                              yes, i have desktop manager

                              jsulmJ 1 Reply Last reply
                              0
                              • N Nikolay_spb

                                @eyllanesc said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in:

                                Does your OS installation have a desktop manager?
                                yes, i have desktop manager

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

                                @Nikolay_spb said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in:

                                yes, i have desktop manager

                                Would be nice to mention which one.
                                Is X server running or do you use something else (like Wayland)?

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

                                1 Reply Last reply
                                1

                                • Login

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