I try to run a (small example) Qt5 application with Quick Controls 2 on my Raspberry Pi 3 not using X11 but eglfs. This was not successful so far. I always get the error message "Could not find DRM device". I guess Qt has been built with eglfs platform plugin since the lib /usr/lib/qt/plugins/platforms/libqeglfs.so is available in the filesystem. My try to start the application is:
$this->bbcode_second_pass_code('', 'LD_PRELOAD="/opt/vc/lib/libGLESv2.so /opt/vc/lib/libEGL.so" myQtProgram -platform eglfs')
Maybe I miss something or what am I doing wrong?
On a "normal" notebook (x86_64) I can launch the program with eglfs, so its seems to be something raspberry related...