Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Beaglebone Black - touch screen project

Beaglebone Black - touch screen project

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 2.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.
  • S Offline
    S Offline
    StudentQt-BBB
    wrote on last edited by
    #1

    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 libqxcb.so library, i tried ldd libxcb.so command and result is :

    linux-vdso.so.1 (0xbef5a000)
    libQt5XcbQpa.so.5 => not found
    libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6f67000)
    libX11-xcb.so.1 => /usr/lib/arm-linux-gnueabihf/libX11-xcb.so.1 (0xb6f55000)
    libXi.so.6 => /usr/lib/arm-linux-gnueabihf/libXi.so.6 (0xb6f3b000)
    libxcb-render-util.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-render-util.so.0 (0xb6f30000)
    libSM.so.6 => /usr/lib/arm-linux-gnueabihf/libSM.so.6 (0xb6f1a000)
    libICE.so.6 => /usr/lib/arm-linux-gnueabihf/libICE.so.6 (0xb6ef7000)
    libxcb-render.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-render.so.0 (0xb6ee0000)
    libxcb.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb.so.1 (0xb6ebb000)
    libxcb-image.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-image.so.0 (0xb6ea7000)
    libxcb-icccm.so.4 => /usr/lib/arm-linux-gnueabihf/libxcb-icccm.so.4 (0xb6e9b000)
    libxcb-sync.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb-sync.so.1 (0xb6e85000)
    libxcb-xfixes.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-xfixes.so.0 (0xb6e70000)
    libxcb-shm.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-shm.so.0 (0xb6e5d000)
    libxcb-randr.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-randr.so.0 (0xb6e44000)

    etc...

    As you can see, libQt5XcbQpa.so.5 is not found, even though this library exists in:

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

    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.

    jsulmJ 1 Reply Last reply
    0
    • S StudentQt-BBB

      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 libqxcb.so library, i tried ldd libxcb.so command and result is :

      linux-vdso.so.1 (0xbef5a000)
      libQt5XcbQpa.so.5 => not found
      libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6f67000)
      libX11-xcb.so.1 => /usr/lib/arm-linux-gnueabihf/libX11-xcb.so.1 (0xb6f55000)
      libXi.so.6 => /usr/lib/arm-linux-gnueabihf/libXi.so.6 (0xb6f3b000)
      libxcb-render-util.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-render-util.so.0 (0xb6f30000)
      libSM.so.6 => /usr/lib/arm-linux-gnueabihf/libSM.so.6 (0xb6f1a000)
      libICE.so.6 => /usr/lib/arm-linux-gnueabihf/libICE.so.6 (0xb6ef7000)
      libxcb-render.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-render.so.0 (0xb6ee0000)
      libxcb.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb.so.1 (0xb6ebb000)
      libxcb-image.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-image.so.0 (0xb6ea7000)
      libxcb-icccm.so.4 => /usr/lib/arm-linux-gnueabihf/libxcb-icccm.so.4 (0xb6e9b000)
      libxcb-sync.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb-sync.so.1 (0xb6e85000)
      libxcb-xfixes.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-xfixes.so.0 (0xb6e70000)
      libxcb-shm.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-shm.so.0 (0xb6e5d000)
      libxcb-randr.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-randr.so.0 (0xb6e44000)

      etc...

      As you can see, libQt5XcbQpa.so.5 is not found, even though this library exists in:

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

      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.

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

      @StudentQt-BBB Where is libQt5XcbQpa.so located?

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

      S 1 Reply Last reply
      0
      • jsulmJ jsulm

        @StudentQt-BBB Where is libQt5XcbQpa.so located?

        S Offline
        S Offline
        StudentQt-BBB
        wrote on last edited by
        #3

        @jsulm it is located in :
        debian@beaglebone:/opt/proba/Test/lib

        jsulmJ 1 Reply Last reply
        0
        • S StudentQt-BBB

          @jsulm it is located in :
          debian@beaglebone:/opt/proba/Test/lib

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

          @StudentQt-BBB You can use the script from here to start your app: http://doc.qt.io/qt-5/linux-deployment.html

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

          S 1 Reply Last reply
          0
          • jsulmJ jsulm

            @StudentQt-BBB You can use the script from here to start your app: http://doc.qt.io/qt-5/linux-deployment.html

            S Offline
            S Offline
            StudentQt-BBB
            wrote on last edited by StudentQt-BBB
            #5

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

            start.sh

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

            /opt/proba/Test/Test -platform xcb

            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