I managed to get linuxfb support working, even though it's not officially supported in the current Yocto setup. I found a way to include linuxfb.so in the build.
I'm not 100% sure everything is working perfectly yet, but I know others have probably struggled with the same issue. So I'm sharing the snippet below in the hope that it might help someone else — even just a little.
--------------------------------------------------------------------
# Enable linuxfb support
PACKAGECONFIG:append:pn-qtbase = " linuxfb tslib examples"
EXTRA_QMAKEVARS_PRE:append = " QT_QPA_DEFAULT_PLATFORM=linuxfb"
EXTRA_OECMAKE:append = " -DQT_FEATURE_linuxfb=ON -DQT_QPA_PLATFORM_PLUGIN=linuxfb"
do_install:append () {
install -d ${D}${libdir}/plugins/platforms
if [ -f ${B}/src/plugins/platforms/linuxfb/libqlinuxfb.so ]; then
install -m 0755 ${B}/src/plugins/platforms/linuxfb/libqlinuxfb.so ${D}${libdir}/plugins/platforms/
fi
}
----------------------------------------------------------------------
Now my qt6 widget sample app running fast as working at qt5