Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Qt platform plugin "xcb" error

Qt platform plugin "xcb" error

Scheduled Pinned Locked Moved QtonPi
18 Posts 4 Posters 27.8k 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.
  • JKSHJ Offline
    JKSHJ Offline
    JKSH
    Moderators
    wrote on last edited by
    #8

    Hi,

    [quote author="nikohal" date="1395054352"]
    libxkbcommon.so.0 => not found
    [/quote]This is probably the root cause of your problem. Check your XKB installation. If that still doesn't fix things, continue below.

    [quote author="nikohal" date="1395054352"]
    libQt5DBus.so.5 => not found
    libQt5Gui.so.5 => not found
    libQt5Core.so.5 => not found
    [/quote]export LD_LIBRARY_PATH, then run ldd again.

    [quote author="nikohal" date="1395054273"]pi@raspberrypi ~/thc $ ls
    libicudata.so.48.1.1
    libQt5Gui.so.5
    libicui18n.so.48.1.1
    libQt5Gui.so.5.1.1
    libicuuc.so.48.1.1
    libQt5Widgets.so.5
    libQt5Core.so.5
    libQt5Widgets.so.5.1.1
    libQt5Core.so.5.1.1 platforms (folder)
    libQt5DBus.so.5
    theocopy
    libQt5DBus.so.5.1.1
    theocopy.sh
    [/quote]That's not all the libraries. The guide says copy EVERYTHING.

    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

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

      Hi,
      How I do install this dependence libxkbcommon?

      Regards, Niko H.

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nikohal
        wrote on last edited by
        #10

        Hi,
        I found how to install libxkbcommon. But now I get next error:
        Linux system - locale: "English"
        Cant find EGLConfig, returning null config
        Unable to find an X11 visual which matches EGL config 0
        QXcbConnection: XCB error: 165 (Unknown), sequence: 149, resource id: 0, major code: 149 (Unknown), minor code: 20

        How fix this?

        Regards, Niko H.

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #11

          I don't know, sorry. It looks like an issue with your Linux filesystem, not just Qt -- I think you'll have better luck if ask devs who have Raspberry Pi experience. See http://www.raspberrypi.org/phpBB3/viewtopic.php?t=35099

          EDIT: You can reach people in the "Qt on Pi" project at http://qt-project.org/wiki/QtonPi-Collaborate

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gRicky
            wrote on last edited by
            #12

            I'm sorry but I'm receiving the same error when I try to launch the qtcreator ide. I have just installed the qt 5 but I can't launch qtcreator for the same reason. Any ideas?

            1 Reply Last reply
            0
            • N Offline
              N Offline
              nikohal
              wrote on last edited by
              #13

              You need install dependencies in raspberry pi: sudo apt-get install libdrm-nouveau1a libegl1-mesa-drivers libgbm1 libopenvg1-mesa libxcb-dri2-0 libxcb-image0 libxcb-icccm4 libxcb-sync0 libxcb-keysyms1 libxcb-render-util0 libxcb-randr0

              1 Reply Last reply
              0
              • G Offline
                G Offline
                gRicky
                wrote on last edited by
                #14

                I've tried on installing the dependencies you have suggested installing using the apt-get command. Unfortunately that doesn't work. I'm not using raspbian at the moment, I'm trying to install the qt5 onto my ubuntu 10. I've read it is possible to develop App on ubuntu and after compilation move it to the raspbian using the cross-compiling technique.

                1 Reply Last reply
                0
                • N Offline
                  N Offline
                  nikohal
                  wrote on last edited by
                  #15

                  Check your dependencies with command ldd program_name

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    gRicky
                    wrote on last edited by
                    #16

                    ok... now I receive an error when I try to launch qtcreator... it seems the "libCore.so" is missing! How can I check if it is properly installed? What do I have to do to install it?

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      gRicky
                      wrote on last edited by
                      #17

                      I have tried on installing Qt5 from git repository, I have followed the instruction guide described "here":http://qt-project.org/wiki/Building_Qt_5_from_Git and and when I make Qt using the command "make -j4 all" (I have tried both the command) I received the error bellow:

                      @collect2: ld returned 1 exit status
                      make[6]: *** [../../../../plugins/platforms/libqxcb.so] Error 1
                      make[6]: Leaving directory /root/opt/qt5/qtbase/src/plugins/platforms/xcb' make[5]: *** [sub-xcb-plugin-pro-all-ordered] Error 2 make[5]: Leaving directory /root/opt/qt5/qtbase/src/plugins/platforms/xcb'
                      make[4]: *** [sub-xcb-all] Error 2
                      make[4]: Leaving directory /root/opt/qt5/qtbase/src/plugins/platforms' make[3]: *** [sub-platforms-all] Error 2 make[3]: Leaving directory /root/opt/qt5/qtbase/src/plugins'
                      make[2]: *** [sub-plugins-all] Error 2
                      make[2]: Leaving directory /root/opt/qt5/qtbase/src' make[1]: *** [sub-src-all] Error 2 make[1]: Leaving directory /root/opt/qt5/qtbase'
                      make: *** [module-qtbase-all] Error 2@

                      now I really need a help. I have tried all the suggested ways to install qt5 without success.... Why? Is it so difficult to install it?

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        gRicky
                        wrote on last edited by
                        #18

                        Ok, I have installed evrything again and it has started working well. Thank you anyway.

                        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