Qt 5.9 error eglfs with raspberry pi 3 -
i have compiled latest version of qt git 5.9.2 latest raspibian (2017-08-16-raspbian-stretch.img) sysroot.
i have install library compile -opengl es2. compilation succeeded when run application have error :
this application failed start because not find or load qt platform plugin "eglfs" in "".
reinstalling application may fix problem.
abandon
i have necessary libs without unfound dependencies :
pi@raspberrypi:~/testrpi $ ls -lisa /usr/local/qt5pi/plugins/platforms total 548 260886 4 drwxr-sr-x 2 root staff 4096 août 19 14:15 . 260882 4 drwxr-sr-x 8 root staff 4096 août 19 14:32 .. 260915 8 -rwxrwxr-x 1 root staff 6976 août 19 14:15 libqeglfs.so 260932 224 -rwxrwxr-x 1 root staff 228732 août 19 14:15 libqlinuxfb.so 260930 92 -rwxrwxr-x 1 root staff 90796 août 19 14:15 libqminimalegl.so 260888 24 -rwxrwxr-x 1 root staff 21472 août 19 14:15 libqminimal.so 260890 76 -rwxrwxr-x 1 root staff 74744 août 19 14:15 libqoffscreen.so 260934 116 -rwxrwxr-x 1 root staff 116604 août 19 14:15 libqvnc.so
i have installed libglesv2 , libegl , libeglfs can see them resolved ldd :
pi@raspberrypi:~/testrpi $ ldd /usr/local/qt5pi/plugins/platforms/libqeglfs.so linux-vdso.so.1 (0x7ebd6000) /usr/lib/arm-linux-gnueabihf/libarmmem.so (0x76f4f000) libqt5eglfsdeviceintegration.so.5 => /usr/local/qt5pi/lib/libqt5eglfsdeviceintegration.so.5 (0x76eda000) libqt5dbus.so.5 => /usr/local/qt5pi/lib/libqt5dbus.so.5 (0x76e6f000) libfreetype.so.6 => /usr/lib/arm-linux-gnueabihf/libfreetype.so.6 (0x76dbf000) libxext.so.6 => /usr/lib/arm-linux-gnueabihf/libxext.so.6 (0x76da0000) libx11.so.6 => /usr/lib/arm-linux-gnueabihf/libx11.so.6 (0x76c7d000) libegl.so.1 => /usr/lib/arm-linux-gnueabihf/libegl.so.1 (0x76c42000) libqt5gui.so.5 => /usr/local/qt5pi/lib/libqt5gui.so.5 (0x768ab000) libqt5core.so.5 => /usr/local/qt5pi/lib/libqt5core.so.5 (0x7643b000) libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0x76428000) libglesv2.so.2 => /usr/lib/arm-linux-gnueabihf/libglesv2.so.2 (0x7640e000) libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x763e5000) libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0x7629d000) libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x76270000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76131000) libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0x7610a000) libpng16.so.16 => /usr/lib/arm-linux-gnueabihf/libpng16.so.16 (0x760d0000) /lib/ld-linux-armhf.so.3 (0x76f76000) libxcb.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb.so.1 (0x760a1000) libx11-xcb.so.1 => /usr/lib/arm-linux-gnueabihf/libx11-xcb.so.1 (0x7608f000) libxcb-dri2.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-dri2.so.0 (0x7607b000) libxcb-xfixes.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-xfixes.so.0 (0x76064000) libxcb-dri3.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-dri3.so.0 (0x76051000) libxcb-present.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-present.so.0 (0x7603e000) libxcb-sync.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb-sync.so.1 (0x76028000) libxshmfence.so.1 => /usr/lib/arm-linux-gnueabihf/libxshmfence.so.1 (0x76016000) libwayland-client.so.0 => /usr/lib/arm-linux-gnueabihf/libwayland-client.so.0 (0x75ffc000) libwayland-server.so.0 => /usr/lib/arm-linux-gnueabihf/libwayland-server.so.0 (0x75fdf000) libgbm.so.1 => /usr/lib/arm-linux-gnueabihf/libgbm.so.1 (0x75fc4000) libexpat.so.1 => /lib/arm-linux-gnueabihf/libexpat.so.1 (0x75f92000) libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x75f13000) libdrm.so.2 => /usr/lib/arm-linux-gnueabihf/libdrm.so.2 (0x75ef6000) libglapi.so.0 => /usr/lib/arm-linux-gnueabihf/libglapi.so.0 (0x75ebd000) libxau.so.6 => /usr/lib/arm-linux-gnueabihf/libxau.so.6 (0x75eb2000) libxdmcp.so.6 => /usr/lib/arm-linux-gnueabihf/libxdmcp.so.6 (0x75e9d000) libffi.so.6 => /usr/lib/arm-linux-gnueabihf/libffi.so.6 (0x75e85000) librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x75e6e000) libbsd.so.0 => /lib/arm-linux-gnueabihf/libbsd.so.0 (0x75e45000)
i tested setting qt_qpa_platform_plugin_path location of libqeglfs.so same error persist :
this application failed start because not find or load qt platform plugin "eglfs"
in "/usr/local/qt5pi/plugins/platforms".
reinstalling application may fix problem.
abandon
i need serious problem ! thanks.
update configure
configure command :
./configure -opengl es2 -device linux-rasp-pi3-g++ -device-option cross_compile=~/opt/gcc-linaro-5.4.1-2017.05-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -reduce-exports -release -make libs -make tools -prefix /usr/local/qt5pi -hostprefix /usr/local/qt5pi -no-use-gold-linker
the output :
configure summary: building on: linux-g++ (x86_64, cpu features: mmx sse sse2) building for: devices/linux-rasp-pi3-g++ (arm, cpu features: neon) configuration: cross_compile compile_examples enable_new_dtags largefile neon precompile_header shared rpath release c++11 c++14 c++1z concurrent dbus reduce_exports stl build options: mode ................................... release optimize release build size ........ no building shared libraries .............. yes using c++ standard ..................... c++1z using gold linker ...................... no using new dtags ........................ yes using precompiled headers .............. yes using ltcg ............................. no target compiler supports: neon ................................. yes build parts ............................ libs tools qt modules , options: qt concurrent .......................... yes qt d-bus ............................... yes qt d-bus directly linked libdbus .... no qt gui ................................. yes qt network ............................. yes qt sql ................................. yes qt testlib ............................. yes qt widgets ............................. yes qt xml ................................. yes support enabled for: using pkg-config ....................... yes qml debugging .......................... yes udev ................................... no using system zlib ...................... yes qt core: doubleconversion ....................... yes using system doubleconversion ........ no glib ................................... no iconv .................................. yes icu .................................... no logging backends: journald ............................. no syslog ............................... no slog2 ................................ no using system pcre2 ..................... no qt network: getaddrinfo() .......................... yes getifaddrs() ........................... yes ipv6 ifname ............................ yes libproxy ............................... no openssl ................................ no qt directly linked openssl ........ no sctp ................................... no use system proxies ..................... yes qt gui: accessibility .......................... yes freetype ............................... yes using system freetype ................ yes harfbuzz ............................... yes using system harfbuzz ................ no fontconfig ............................. no image formats: gif .................................. yes ico .................................. yes jpeg ................................. yes using system libjpeg ............... no png .................................. yes using system libpng ................ yes egl .................................... yes openvg ................................. no opengl: desktop opengl ....................... no opengl es 2.0 ........................ yes opengl es 3.0 ........................ yes opengl es 3.1 ........................ yes session management ..................... yes features used qpa backends: evdev .................................. yes libinput ............................... no integrity hid .......................... no mtdev .................................. no tslib .................................. no xkbcommon-evdev ........................ no qpa backends: directfb ............................... no eglfs .................................. yes eglfs details: eglfs i.mx6 .......................... no eglfs i.mx6 wayland .................. no eglfs egldevice ...................... yes eglfs gbm ............................ no eglfs mali ........................... no eglfs raspberry pi ................... no egl on x11 ........................... yes linuxfb ................................ yes vnc .................................... yes mir client ............................. no qt widgets: gtk+ ................................... no styles ................................. fusion windows qt printsupport: cups ................................... no qt sql: db2 (ibm) .............................. no interbase .............................. no mysql .................................. no oci (oracle) ........................... no odbc ................................... no postgresql ............................. no sqlite2 ................................ no sqlite ................................. yes using system provided sqlite ......... no tds (sybase) ........................... no note: available linux: linux-clang linux-icc qt configured building. run 'make'. once built, must run 'make install'. qt installed '/mnt/rasp-pi-rootfs/usr/local/qt5pi'. prior reconfiguration, make sure remove leftovers previous build.
Comments
Post a Comment