Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

xcb plugin error in jetson tx2



  • ./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.


  • Lifetime Qt Champion

    @Sreeja Do

    export QT_DEBUG_PLUGINS=1
    ./displaymgr
    

    and post the output here.



  • @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)


  • Lifetime Qt Champion

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



  • 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.


Log in to reply