Results 1 to 10 of 10

Thread: Platform plugins and XCB question

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Sep 2014
    Posts
    11
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Platform plugins and XCB question

    ok, i am close to giving up. I guess i am not enough familiar with compiling for linux devices.
    I understand that i have to rebuild my qt5, what i already did but it doesn't work for me.

    I tried to do the following steps:


    1) configure:
    Using the option -qt-xcb:
    Qt Code:
    1. niki@debian:~/opt/qt5/qtbase$ sudo ./configure -opengl es2 -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=~/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-relocations -reduce-exports -release -make libs -prefix /usr/local/qt5pi -qt-xcb -v > outputConfigure.txt
    To copy to clipboard, switch view to plain text mode 

    2) make & make install
    Qt Code:
    1. sudo make
    2. sudo make install
    To copy to clipboard, switch view to plain text mode 
    Then i would expect to find the platform plugin XCB in the folder: /usr/local/qt5pi/plugins/platforms/ -> but it's not!!
    There are a bunch of errors and warnings, but these were also there when i compiled qt5 the first time.


    3) Copy to sd-card
    After the steps above i would copy the rasp-pi-rootfs folder to my sd-card of the raspbery.

    4) install xcb dependencies
    On my raspberry i would: sudo apt-get install libxcb1-dev

    5) compile and deploy my code to the raspberry using QTcreator

    6) run
    ./myApp -platform xcb


    I really appreciate your help!
    I know it's not easy to work through my problem description.

    Ben
    Attached Files Attached Files

Similar Threads

  1. Replies: 2
    Last Post: 18th October 2011, 15:54
  2. Replies: 1
    Last Post: 10th March 2011, 15:37
  3. Replies: 3
    Last Post: 13th October 2009, 15:31
  4. Newbie question regarding multi platform development
    By bronkopavel in forum Installation and Deployment
    Replies: 2
    Last Post: 15th September 2008, 10:08
  5. Plugins question/problem
    By Royceybaby in forum Qt Programming
    Replies: 1
    Last Post: 10th October 2006, 15:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.