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. xcb plugin error in jetson tx2

xcb plugin error in jetson tx2

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 822 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
    Sreeja
    wrote on last edited by
    #1

    ./displaymgr
    qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "/usr/lib/aarch64-linux-gnu/qt5/plugins/platforms"
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

    My configure result shows-
    EGL .................................... no
    OpenVG ................................. no
    OpenGL:
    Desktop OpenGL ....................... no
    OpenGL ES 2.0 ........................ yes
    OpenGL ES 3.0 ........................ yes
    OpenGL ES 3.1 ........................ yes
    OpenGL ES 3.2 ........................ yes
    Vulkan ................................. no
    Session Management ..................... yes
    Features used by QPA backends:
    evdev .................................. yes
    libinput ............................... no
    INTEGRITY HID .......................... no
    mtdev .................................. no
    tslib .................................. no
    xkbcommon .............................. yes
    X11 specific:
    XLib ................................. yes
    XCB Xlib ............................. yes
    EGL on X11 ........................... no
    xkbcommon-x11 ........................ no
    QPA backends:
    DirectFB ............................... no
    EGLFS .................................. no
    LinuxFB ................................ yes
    VNC .................................... yes
    Am I missing any backend support. I have tried these options.:
    export QT_DEBUG_PLUGINS=1
    ldd /usr/local/qt5/bin/qdbusviewer
    source /etc/profile.d/qt_xcb.sh
    export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/aarch64-linux-gnu/qt5/plugins
    export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/aarch64-linux-gnu/qt5/plugins/platforms
    sudo ln -sf /usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqxcb.so /usr/local/qt5/plugins/platforms
    export QT_PLUGIN_PATH=/usr/lib/aarch64-linux-gnu/qt5/plugins

    kindly help me to solve this.

    jsulmJ 1 Reply Last reply
    0
    • S Sreeja

      ./displaymgr
      qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "/usr/lib/aarch64-linux-gnu/qt5/plugins/platforms"
      This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

      My configure result shows-
      EGL .................................... no
      OpenVG ................................. no
      OpenGL:
      Desktop OpenGL ....................... no
      OpenGL ES 2.0 ........................ yes
      OpenGL ES 3.0 ........................ yes
      OpenGL ES 3.1 ........................ yes
      OpenGL ES 3.2 ........................ yes
      Vulkan ................................. no
      Session Management ..................... yes
      Features used by QPA backends:
      evdev .................................. yes
      libinput ............................... no
      INTEGRITY HID .......................... no
      mtdev .................................. no
      tslib .................................. no
      xkbcommon .............................. yes
      X11 specific:
      XLib ................................. yes
      XCB Xlib ............................. yes
      EGL on X11 ........................... no
      xkbcommon-x11 ........................ no
      QPA backends:
      DirectFB ............................... no
      EGLFS .................................. no
      LinuxFB ................................ yes
      VNC .................................... yes
      Am I missing any backend support. I have tried these options.:
      export QT_DEBUG_PLUGINS=1
      ldd /usr/local/qt5/bin/qdbusviewer
      source /etc/profile.d/qt_xcb.sh
      export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/aarch64-linux-gnu/qt5/plugins
      export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/aarch64-linux-gnu/qt5/plugins/platforms
      sudo ln -sf /usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqxcb.so /usr/local/qt5/plugins/platforms
      export QT_PLUGIN_PATH=/usr/lib/aarch64-linux-gnu/qt5/plugins

      kindly help me to solve this.

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

      @Sreeja Do

      export QT_DEBUG_PLUGINS=1
      ./displaymgr
      

      and post the output here.

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

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sreeja
        wrote on last edited by
        #3

        @jsulm said in xcb plugin error in jetson tx2:

        export QT_DEBUG_PLUGINS=1
        ./displaymgr

        export QT_DEBUG_PLUGINS=1
        $ ./displaymgr
        qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "/home/cig/tools/plugins/platforms"
        This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

        Aborted (core dumped)

        jsulmJ 1 Reply Last reply
        0
        • S Sreeja

          @jsulm said in xcb plugin error in jetson tx2:

          export QT_DEBUG_PLUGINS=1
          ./displaymgr

          export QT_DEBUG_PLUGINS=1
          $ ./displaymgr
          qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "/home/cig/tools/plugins/platforms"
          This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

          Aborted (core dumped)

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

          @Sreeja Why does your app search for plug-ins in /home/cig/tools/plugins/platforms?

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

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sreeja
            wrote on last edited by
            #5

            I have tried giving different export Path for QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/aarch64-linux-gnu/qt5/plugins
            export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/aarch64-linux-gnu/qt5/plugins/platforms. where i find libqxcb.so file.

            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