I have cross-compiled Qt 5.14 on raspberry pi 4 with success, using the brandnew pi4's mkspecs.
The qtbase configure step was ok, it have fouind EGLFS GBM , EGLFS DEVICE and EGLFS X11.
I have added pi to render group, I have created the eglfs.json file with { "device": "/dev/dri/card1" } and I have added the QT_QPA_EGLFS_KMS_CONFIG enviroment variable.
Now when I start my QT\QML application, the app runs but the screen is empty and in console I can read:
Code: Select all
Could not queue DRM page flip on screen HDMI (invalid argument
Code: Select all
drmModeGetResources failed (Invalid argument)