当我编译Qt快速项目并在freescale imx6 solo board(arm平台)上运行时,我收到错误(见下文)。当我制作一个小部件项目时,它运行正常。
./ clocks -platform linuxfb:fb = / dev / fb0 -plugin evdevtouch是:/ dev /输入/ EVENT4 启用QML调试。只能在安全的环境中使用它。此插件不支持createPlatformOpenGLContext!失败 为格式QSurfaceFormat创建OpenGL上下文(版本2.0,选项 QFlags(),depthBufferSize 24,redBufferSize -1,greenBufferSize -1, blueBufferSize -1,alphaBufferSize -1,stencilBufferSize 8,samples -1,swapBehavior 2,swapInterval 1,profile 0)
这是我的Qt 5.6.0配置项。我错过了什么吗?
Build options:
Configuration .......... accessibility
accessibility-atspi-bridge audio-backend c++11 clock-gettime
clock-monotonic compile_examples concurrent cross_compile dbus
dbus-linked egl eglfs enable_new_dtags evdev eventfd fontconfig
full-config getaddrinfo getifaddrs inotify ipv6ifname large-config
libudev linuxfb medium-config minimal-config mremap neon no-gif
no-harfbuzz opengl opengles2 openvg pcre png posix_fallocate qpa qpa
reduce_exports release rpath shared small-config system-freetype
system-jpeg system-png system-sqlite system-zlib threadsafe-cloexec
tslib xcb xcb-plugin xcb-qt xcb-sm xcb-xlib xinput2 xkbcommon-qt xlib
xrender
Build parts ............ libs
Mode ................... release
Using sanitizer(s)...... none
Using C++ standard ..... c++11
Using gold linker....... no
Using new DTAGS ........ yes
Using PCH .............. no
Using LTCG ............. no
Target compiler supports:
Neon ................. yes
Qt modules and options: Qt D-Bus ............... yes (linked to
dbus-1)
Qt Concurrent .......... yes
Qt GUI ................. yes
Qt Widgets ............. yes
Large File ............. no QML
debugging .......... yes
Use system proxies ..... no
Support enabled for:
Accessibility .......... yes
ALSA ................... no
CUPS ................... no
Evdev .................. yes
FontConfig ............. yes
FreeType............... yes
(system library)
Glib ................... no
GStreamer .............. no
GTK theme .............. no
HarfBuzz ............... no
Iconv .................. no
ICU .................... no
Image formats:
GIF .................. no
JPEG ................. yes (plugin, using system library)
PNG .................. yes (in QtGui, using system library) libinput................ no
Logging backends:
journald ............... no
syslog ............... no
mtdev .................. no
Networking:
getaddrinfo .......... yes
getifaddrs ........... yes
IPv6 ifname .......... yes
libproxy.............. no
OpenSSL .............. no
NIS .................... no
OpenGL / OpenVG:
EGL .................. yes
OpenGL ............... yes (OpenGL ES 2.0+)
OpenVG ............... yes-auto
PCRE ................... yes (bundled copy)
pkg-config ............. yes
PulseAudio............. no
QPA backends:
DirectFB ............. no
EGLFS ................ yes
EGLFS i.MX6 ........ no
EGLFS i.MX6 Wayland. no
EGLFS EGLDevice .... no
EGLFS GBM .......... no
EGLFS Mali ......... no
EGLFS Raspberry Pi . no
EGLFS X11 .......... no
LinuxFB .............. yes
Mir client............ no
XCB .................. yes (bundled copy)
**EGL on X ........... no**
GLX ................ no
MIT-SHM ............ yes
Xcb-Xlib ........... yes
Xcursor ............ yes (loaded at runtime)
Xfixes ............. yes (loaded at runtime)
Xi ................. no
Xi2 ................ yes
Xinerama ........... yes (loaded at runtime)
Xrandr ............. yes (loaded at runtime)
Xrender ............ yes
XKB ................ yes
XShape ............. yes
XSync .............. yes
XVideo ............. yes
Session management ..... yes
SQL rivers:
DB2 .................. no
InterBase ............ no
MySQL ................ no
OCI .................. no
ODBC ................. no
PostgreSQL ........... no
SQLite 2 ............. no
SQLite ............... yes (plugin, using system library)
TDS .................. no
tslib .................. yes
udev .................. yes
xkbcommon-x11........... yes (bundled copy,
XKB config root: /usr/share/X11/xkb)
xkbcommon-evdev......... no
zlib ................... yes (system library)
NOTE: Qt is using double for qreal on this system. This is binary
incompatible against Qt 5.1. Configure with '-qreal float' to create a
build that is binary compatible with 5.1.
Qt is now configured for building. Just run 'make'. Once everything is
built, you must run 'make install'. Qt will be installed into
/usr/local/QT
Prior to reconfiguration, make sure you remove any leftovers from the
previous build.
我在互联网上搜索,发现X上的EGL应该是肯定的。我该如何设置这个项目?