Beaglebone Black - touch screen project

  • Hello everybody,

    I am using Qt Creator on my virtual machine (Ubuntu 12.04.5 LTS), and Beaglebone black with touch screen. When i write gui application(only one window with push button) and try to deploy it, i get this error :

    This application failed to start because it could not find or load the Qt platform plugin "xcb"
    Reinstalling the application may fix this problem.
    bash: line 1: 907 Aborted DISPLAY=':0.0' /opt/proba/Test/Test
    Application finished with exit code 134.

    I was searching on the internet and found that this problem i somehow related to library, i tried ldd command and result is : (0xbef5a000) => not found => /lib/arm-linux-gnueabihf/ (0xb6f67000) => /usr/lib/arm-linux-gnueabihf/ (0xb6f55000) => /usr/lib/arm-linux-gnueabihf/ (0xb6f3b000) => /usr/lib/arm-linux-gnueabihf/ (0xb6f30000) => /usr/lib/arm-linux-gnueabihf/ (0xb6f1a000) => /usr/lib/arm-linux-gnueabihf/ (0xb6ef7000) => /usr/lib/arm-linux-gnueabihf/ (0xb6ee0000) => /usr/lib/arm-linux-gnueabihf/ (0xb6ebb000) => /usr/lib/arm-linux-gnueabihf/ (0xb6ea7000) => /usr/lib/arm-linux-gnueabihf/ (0xb6e9b000) => /usr/lib/arm-linux-gnueabihf/ (0xb6e85000) => /usr/lib/arm-linux-gnueabihf/ (0xb6e70000) => /usr/lib/arm-linux-gnueabihf/ (0xb6e5d000) => /usr/lib/arm-linux-gnueabihf/ (0xb6e44000)


    As you can see, is not found, even though this library exists in:

    -rw------- 1 debian debian 1140 Feb 9 2016
    -rw------- 1 debian debian 1478 Feb 9 2016 libQt5XcbQpa.prl
    lrwxrwxrwx 1 debian debian 21 Mar 1 12:34 ->
    lrwxrwxrwx 1 debian debian 21 Mar 1 12:34 ->
    lrwxrwxrwx 1 debian debian 21 Mar 1 12:34 ->
    -rw------- 1 debian debian 602768 Feb 9 2016

    can any one tell me how to solve this problem...

    also, also when i start my application it opens terminal...

    sory for my bad english.

  • Moderators

    @StudentQt-BBB Where is located?

  • @jsulm it is located in :

  • Moderators

    @StudentQt-BBB You can use the script from here to start your app:

  • @jsulm i already have a script from which i start my application,

    #!/bin/bash script
    export LD_LIBRARY_PATH=/opt/proba/Test/lib/

    /opt/proba/Test/Test -platform xcb

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.