Important: Please read the Qt Code of Conduct -

Raspberry Pi with touchscreen and Qt PySide2, Raspbian Lite compatible?

  • I guess the big question is if all this requires the X11 (X windows) system to be installed on the Pi (Raspbian PIXEL versus Raspbian Lite). It's my preference not to load the full Desktop version for many reasons (size, simplicity, performance).

    • Raspberry Pi 3B with Raspbian Stretch Lite (assume latest)
    • SunFounder 10.1" HDMI 1280x800 IPS LCD Touchscreen

    I'm new to all this with respect to Qt. Although I can code to C/C++/C# I'd rather stay in the Python/JavaScript space if possible for this project.

    If possible, I'd like to code on my MacBook (macOS Mojave) and to run the code and test it on the Raspi.

  • Qt Champions 2018

    In the case of Qt5,Qt Platform Abstraction supports other than X11.
    For example,EGLFS appears in the sample as well.

    Qt Documentation : Qt for Embedded Linux

    Perhaps it may be necessary to rebuild Qtlibrary.
    When using Yocto, the layer of meta-qt5-rpi-eglfs is useful.
    (However, this is unofficial, and I doesn't tried it with Qt 5.12. Therefore, it may be a build error.)

    The below wiki post might be helpful to you.

    Qt wiki : RaspberryPi2EGLFS

Log in to reply