meta data for this page

Startup parameters

from command line

./myqtapp -platform linuxfb -plugin evdevkeyboard:/dev/input/event0 -plugin evdevmouse:/dev/input/event1@
./myqtapp -platform eglfs

from env

export QT_QPA_EGLFS_PHYSICAL_WIDTH=105
export QT_QPA_EGLFS_PHYSICAL_HEIGHT=65
 
export QT_QPA_PLATFORM='linuxfb:fb=/dev/fb0'
export QT_QPA_PLATFORM='eglfs'
 
export QT_QPA_EGLFS_DISABLE_INPUT=1
 
export QT_QPA_GENERIC_PLUGINS='evdevmouse,evdevkeyboard,tslib:/dev/input/event1'
export QT_QPA_EVDEV_KEYBOARD_PARAMETERS="keymap=/home/pi/cz.qmap"
export QT_QPA_EVDEV_KEYBOARD_PARAMETERS="/dev/input/event0" 
 
export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS="rotate=180" 

To use Qt Quick 2D renderer (only in commercial licenses) http://doc.qt.io/QtQuick2DRenderer/index.html

export QMLSCENE_DEVICE=softwarecontext

debugging

export QT_LOGGING_RULES=qt.qpa.*=true
export QT_DEBUG_PLUGINS=1
export QT_QPA_EGLFS_DEBUG=1