我正在Qt5中为RPi2开发一些(简单的)GUI应用程序。设置:代码开发是在Windows笔记本电脑上使用Netbeans + Qt Designer进行的,并使用附带的工具(g ++ 4.9.2,Qt 5.3.2,软件包qt5-default)在运行Raspbian Jessie的RPi上远程构建。这里描述。这种设置通常可以正常工作。
但是,即使构建得很好,即使是最小的示例也行不通。它无法启动,libEGL warning: DRI2: failed to authenticate
如果已从终端启动了应用程序,则会出现。
Qt不能在RPi上运行吗?否则请帮助我解决此问题。
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
编辑3:
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)