Qt5에서 RPi2 용 (간단한) GUI 응용 프로그램을 개발 중입니다. 설정 : 코드 개발은 Netbeans + Qt Designer를 사용하여 Windows 랩톱에서 수행되며 Raspbian Jessie를 실행하는 RPi에서 원격으로 빌드됩니다 (g ++ 4.9.2, Qt 5.3.2, 패키지 qt5-default). 여기에 설명되어 있습니다 . 이 설정은 일반적으로 잘 작동합니다.
그러나 최소한의 예제 조차도 작동하지 않지만 제대로 빌드됩니다. 시작에 실패 libEGL warning: DRI2: failed to authenticate
하고 응용 프로그램이 터미널에서 시작된 경우 나타납니다.
RPi에서 Qt를 실행할 수 없습니까? 그렇지 않으면이 문제를 해결하도록 도와주세요.
EDIT1 : find
Alexey Vesnin이 제안한 것처럼 명령을 수행 한 후 다음 과 같이하십시오.
/usr/lib/arm-linux-gnueabihf/libEGL.so
/usr/lib/arm-linux-gnueabihf/libEGL.so.1
/usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0
/usr/lib/chromium-browser/libs/libEGL.so
/usr/lib/chromium-browser/libs/libEGL.so.TOC
/opt/vc/lib/libEGL.so
/opt/vc/lib/libEGL_static.a
/usr/lib/arm-linux-gnueabihf/libGLESv2.so.2
/usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0
/usr/lib/arm-linux-gnueabihf/libGLESv2.so
/usr/lib/chromium-browser/libs/libGLESv2.so
/usr/lib/chromium-browser/libs/libGLESv2.so.TOC
/opt/vc/lib/libGLESv2_static.a
/opt/vc/lib/libGLESv2.so
EDIT2 : 추가 정보가있는 목록 :
-rw-r--r-- 1 pi pi 171312 Nov 11 14:20 /usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0
-rwxr-xr-x 1 root root 107880 Nov 2 22:27 /usr/lib/chromium-browser/libs/libEGL.so
-rw-r--r-- 1 root root 14189 Nov 2 22:27 /usr/lib/chromium-browser/libs/libEGL.so.TOC
-rw-r--r-- 1 root root 202072 Dec 19 21:01 /opt/vc/lib/libEGL.so
-rw-r--r-- 1 root root 245356 Dec 19 21:19 /opt/vc/lib/libEGL_static.a
-rw-r--r-- 1 pi pi 29996 Jan 12 2016 /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0
-rwxr-xr-x 1 root root 2632816 Nov 2 22:27 /usr/lib/chromium-browser/libs/libGLESv2.so
-rw-r--r-- 1 root root 29617 Nov 2 22:27 /usr/lib/chromium-browser/libs/libGLESv2.so.TOC
-rw-r--r-- 1 root root 100008 Dec 19 21:19 /opt/vc/lib/libGLESv2_static.a
-rw-r--r-- 1 root root 105768 Nov 25 17:35 /opt/vc/lib/libGLESv2.so
EDIT3 :
linux-vdso.so.1 (0x7ecef000)
/usr/lib/arm-linux-gnueabihf/libarmmem.so (0x76f53000)
libQt5Widgets.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5 (0x76a25000)
libQt5Gui.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5 (0x76655000)
libQt5Core.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5 (0x761d0000)
libGLESv2.so => /opt/vc/lib/libGLESv2.so (0x761ab000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x76183000)
libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0x760a6000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x7602b000)
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x75ffe000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x75ebd000)
libgobject-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0 (0x75e63000)
libglib-2.0.so.0 => /lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0x75d5f000)
libX11.so.6 => /usr/lib/arm-linux-gnueabihf/libX11.so.6 (0x75c49000)
libGLESv2.so.2 => /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 (0x75c31000)
/lib/ld-linux-armhf.so.3 (0x54b67000)
libpng12.so.0 => /lib/arm-linux-gnueabihf/libpng12.so.0 (0x75c01000)
libharfbuzz.so.0 => /usr/lib/arm-linux-gnueabihf/libharfbuzz.so.0 (0x75ba5000)
libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0x75b7d000)
libicui18n.so.52 => /usr/lib/arm-linux-gnueabihf/libicui18n.so.52 (0x759bd000)
libicuuc.so.52 => /usr/lib/arm-linux-gnueabihf/libicuuc.so.52 (0x75874000)
libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0x75861000)
librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x7584a000)
libEGL.so => /opt/vc/lib/libEGL.so (0x75810000)
libbcm_host.so => /opt/vc/lib/libbcm_host.so (0x757ea000)
libvchiq_arm.so => /opt/vc/lib/libvchiq_arm.so (0x757d4000)
libvcos.so => /opt/vc/lib/libvcos.so (0x757ba000)
libffi.so.6 => /usr/lib/arm-linux-gnueabihf/libffi.so.6 (0x757aa000)
libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0x75736000)
libxcb.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb.so.1 (0x75717000)
libdrm.so.2 => /usr/lib/arm-linux-gnueabihf/libdrm.so.2 (0x756fa000)
libglapi.so.0 => /usr/lib/arm-linux-gnueabihf/libglapi.so.0 (0x756c1000)
libfreetype.so.6 => /usr/lib/arm-linux-gnueabihf/libfreetype.so.6 (0x75629000)
libgraphite2.so.3 => /usr/lib/arm-linux-gnueabihf/libgraphite2.so.3 (0x755fb000)
libicudata.so.52 => /usr/lib/arm-linux-gnueabihf/libicudata.so.52 (0x73f7e000)
libXau.so.6 => /usr/lib/arm-linux-gnueabihf/libXau.so.6 (0x73f73000)
libXdmcp.so.6 => /usr/lib/arm-linux-gnueabihf/libXdmcp.so.6 (0x73f67000)