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. Cross compiled Qt 5.15.2 for Raspberry Pi 4, warnings about XCB and cursor on screen

Cross compiled Qt 5.15.2 for Raspberry Pi 4, warnings about XCB and cursor on screen

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 3 Posters 396 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.
  • R Offline
    R Offline
    rokk
    wrote on last edited by
    #1

    Hi,
    I cross-compiled Qt 5.15.2 following this guide https://github.com/UvinduW/Cross-Compiling-Qt-for-Raspberry-Pi-4 and everything seems to work. Then I cross-compiled my application (it's a c++ application with no GUI, it just open a window using OpenCV). My application works but shows this errors (warnings?) on startup:

    qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in ""

    Why does it look for xcb ? libqxcb.so does not even exist, since EGLFS is used..

    Failed to move cursor on screen HDMI1: -13
    Could not set cursor on screen HDMI1: -13

    What does it mean ?

    Can I safely ignore this warnings ?
    Thanks

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Try running the app with -platform eglfs to force it to use EGLFS.

      (Z(:^

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Depending on your version of OpenCV, it might use Qt as backend for its highgui module.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        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