This is the 1st bug that I have ever reported on qt. so if there is any more info I will get back asap.
when cross compiling or native compiling for the device linux-rasp-pi-g++ some things are set that maybe should not be set.
1) I wonder why the default platform is getting set to wayland as there is no distros for the pi that I know of that us wayland out of the box
QT_QPA_DEFAULT_PLATFORM = wayland
maybe this should be changed to eglfs
2) there is not a distro out there that I know of that uses debian squeeze as there base. contains(DISTRO, squeeze) maybe this can stay but I would also like to see it set for jessie and wheezy as they are the most used OS for the pi out there.
3) there are no options for the DISTRO wheezy or jessie.
this makes it so when one is compiling for the pi it is not adding the include paths for
and eglfs platform plugin fails to find these on the compile.
4) this is more of a request but maybe there should be more info on this on the wiki. I am willing to write about it but I am new here and would like some guidance.
My configure of qtbase
./configure -opengl es2 -qpa eglfs -dbus -no-xcb -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=/home/joseph/raspberry/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -nomake tests -prefix /opt/qt5.2.1-rpi -no-pch -skip qttools -no-compile-examples
mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp:50:22: fatal error: bcm_host.h: No such file or directory