Пробую по другой инструкции:
http://qt-project.org/wiki/RaspberryPi_Beginners_guideСконфигурировал:
Debug .................. no
C++11 support .......... yes
pkg-config ............. yes
QtDBus module .......... no
QtConcurrent code ...... yes
QtGui module ........... yes
QtWidgets module ....... yes
JavaScriptCore JIT ..... To be decided by JavaScriptCore
QML debugging .......... yes
PCH support ............ no
iWMMXt support ......... no
NEON support ........... yes
IPv6 ifname support .... yes
getaddrinfo support .... yes
getifaddrs support ..... yes
Accessibility .......... yes
NIS support ............ yes
CUPS support ........... no
Iconv support .......... yes
Glib support ........... no
GStreamer support ...... no
PulseAudio support ..... no
Large File support ..... yes
GIF support ............ plugin
JPEG support ........... plugin (qt)
PNG support ............ yes (qt)
zlib support ........... system
Session management ..... auto
libudev support ........ no
OpenGL support ......... yes (OpenGL ES 2.x)
OpenVG support ......... no
XShape support ......... auto
XVideo support ......... auto
XSync support .......... auto
Xinerama support ....... runtime
Xcursor support ........ runtime
Xfixes support ......... runtime
Xrandr support ......... runtime
Xi support ............. runtime
Xi2 support ............ auto
MIT-SHM support ........ auto
FontConfig support ..... no
XKB Support ............ auto
immodule support ....... yes
GTK theme support ...... no
SQLite support ......... plugin (qt)
OpenSSL support ........ no
Alsa support ........... no
libICU support ......... no
PCRE support ........... qt
Xcb support ............ no
Xrender support ........ no
EGLFS support .......... yes
DirectFB support ....... no
LinuxFB support ........ yes
KMS support ............ no
Во время сборки ошибки не заметил(наверно пропустил). Вроде бы собралась.make install.
make[2]: Leaving directory `/home/anval/opt/qt5/qtbase/src/concurrent'
cd gui/ && ( test -f Makefile || /home/anval/opt/qt5/qtbase/bin/qmake /home/anval/opt/qt5/qtbase/src/gui/gui.pro -o Makefile ) && make -f Makefile install
make[2]: Entering directory `/home/anval/opt/qt5/qtbase/src/gui'
make[2]: *** No rule to make target `/mnt/rasp-pi-rootfs/opt/vc/include/GLES2/gl2.h', needed by `.obj/release-shared/qwindowsysteminterface.o'. Stop.
make[2]: Leaving directory `/home/anval/opt/qt5/qtbase/src/gui'
make[1]: *** [sub-gui-install_subtargets] Error 2
make[1]: Leaving directory `/home/anval/opt/qt5/qtbase/src'
make: *** [sub-src-install_subtargets] Error 2
anval@anval-desktop:~/opt/qt5/qtbase$
Установил libgles2-mesa libgles2-mesa-dev.
Попробовал make - та же ошибка.
Может надо было устанавливать(mesa) в директорию с qt? Или надо заново собрать?