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. [Solved] Qt5 on linux arm - xcb platform plugin not working
Forum Updated to NodeBB v4.3 + New Features

[Solved] Qt5 on linux arm - xcb platform plugin not working

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 3 Posters 31.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    saddan
    wrote on 7 Oct 2011, 20:28 last edited by
    #1

    Hi,

    I compiled Qt5 for arm based on these instructions:

    http://labs.qt.nokia.com/2011/10/03/chasing-the-raspberry-pi-dragon-opengl-es2-accelerated-qt-pi/

    And this is how I configured it:

    ./configure -opensource -arch arm -xplatform linux-g++-mx5x -release -opengl es2 -little-endian -nomake docs -no-svg -no-audio-backend -no-multimedia -no-xmlpatterns -no-v8 -no-location -no-declarative -no-cups -xcb -no-wayland -no-phonon -no-qt3support -no-webkit -no-javascript-jit -no-neon -confirm-license -verbose -qpa -no-gtkstyle

    After compiling and installing sucessfully, I try to run any example an get this:

    $./classwizard -platform xcb
    Failed to load platform plugin "xcb". Available platforms are:
    EglFS
    Minimal

    Aborted

    But if I list the plugins directory, there is indeed a xcb plugin:

    $ls /usr/local/Trolltech/QtLighthouse-5.0.0-arm/plugins/platforms
    libqeglfs.so libqminimal.so libxcb.so

    When I use the minimal plugin, it runs fine and generates a picture of what would be painted on the screen.
    When I compile for my desktop (64bits), the xcb plugin works fine.

    Does anyone know what I might be doing wrong? Does the xcb plugin work on arm?

    Thanks in advance for any help,

    Guilherme

    1 Reply Last reply
    0
    • S Offline
      S Offline
      saddan
      wrote on 7 Oct 2011, 20:53 last edited by
      #2

      Never mind, I solved the problem. There were some packages missing. Namely libx11-xcb1 and libx11-xcb-dev. I think it's just easier to install all packages mentioned in qtbase/src/plugins/platforms/xcb/README:

      On debian based systems:

      apt-get install libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm1 libxcb-icccm1-dev libxcb-sync0 libxcb-sync0-dev libxcb-render-util0 libxcb-render-util0-dev libxcb-xfixes0-dev

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qtd1d1
        wrote on 25 Nov 2011, 12:52 last edited by
        #3

        Hi, where did you get the linux-g++-mx5x compiler ? I get to following error:

        The specified system/compiler is not supported:

          */home/lucid/qt5/qtbase/mkspecs/linux-g++-mx5x*
        
        1 Reply Last reply
        0
        • S Offline
          S Offline
          Sidii
          wrote on 2 Jul 2014, 17:08 last edited by
          #4

          Hi, Saddan,

          How you used

          @-little-endian@

          in the QT 5 configure? I also tried the same but got error that @-little-endian@
          is unrecognized switch.

          Kindly provide information.

          Thanks

          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