找回密码
 立即注册
收起左侧

在DM8168上运行Qt5.6应用程序时报错:can not open egl display

0
回复
8567
查看
[复制链接]
累计签到:2 天
连续签到:1 天
来源: 2017-10-13 11:15:15 显示全部楼层 |阅读模式
5Qter豆
如题:
由于我想在DM8168上运行qml应用程序,因而必须使用eglfs插件,但当我运行时有如下的错误:
  1. Could not open egl display
  2. Aborted
复制代码
configure结果如下:
  1. Configuration .......... accessibility alsa 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 glib gstreamer-0.10 gtk2 gtkstyle harfbuzz iconv inotify ipv6ifname kms large-config largefile libudev linuxfb medium-config minimal-config mremap opengl opengles2 openssl openvg pcre png posix_fallocate precompile_header pulseaudio qpa qpa reduce_exports release rpath shared small-config system-freetype system-jpeg system-png system-zlib threadsafe-cloexec tslib xlib xrender
  2.   Build parts ............ libs
  3.   Mode ................... release
  4.   Using sanitizer(s)...... none
  5.   Using C++ standard ..... c++11
  6.   Using gold linker....... no
  7.   Using new DTAGS ........ yes
  8.   Using PCH .............. yes
  9.   Using LTCG ............. no
  10.   Target compiler supports:
  11.     Neon ................. no

  12. Qt modules and options:
  13.   Qt D-Bus ............... yes (linked to dbus-1)
  14.   Qt Concurrent .......... yes
  15.   Qt GUI ................. yes
  16.   Qt Widgets ............. yes
  17.   Large File ............. yes
  18.   QML debugging .......... yes
  19.   Use system proxies ..... no

  20. Support enabled for:
  21.   Accessibility .......... yes
  22.   ALSA ................... yes
  23.   CUPS ................... no
  24.   Evdev .................. yes
  25.   FontConfig ............. yes
  26.   FreeType ............... yes (system library)
  27.   Glib ................... yes
  28.   GStreamer .............. yes (0.10)
  29.   GTK theme .............. yes
  30.   HarfBuzz ............... yes (bundled copy)
  31.   Iconv .................. yes
  32.   ICU .................... no
  33.   Image formats:
  34.     GIF .................. yes (plugin, using bundled copy)
  35.     JPEG ................. yes (plugin, using system library)
  36.     PNG .................. yes (in QtGui, using system library)
  37.   libinput................ no
  38.   Logging backends:
  39.     journald ............... no
  40.     syslog   ............... no
  41.   mtdev .................. no
  42.   Networking:
  43.     getaddrinfo .......... yes
  44.     getifaddrs ........... yes
  45.     IPv6 ifname .......... yes
  46.     libproxy.............. no
  47.     OpenSSL .............. yes (loading libraries at run-time)
  48.   OpenGL / OpenVG:
  49.     EGL .................. yes
  50.     OpenGL ............... yes (OpenGL ES 2.0+)
  51.     OpenVG ............... yes-auto
  52.   PCRE ................... yes (bundled copy)
  53.   pkg-config ............. yes
  54.   PulseAudio ............. yes
  55.   QPA backends:
  56.     DirectFB ............. no
  57.     EGLFS ................ yes
  58.       EGLFS i.MX6 ........ no
  59.       EGLFS i.MX6 Wayland. no
  60.       EGLFS EGLDevice .... no
  61.       EGLFS GBM .......... no
  62.       EGLFS Mali ......... no
  63.       EGLFS Raspberry Pi . no
  64.       EGLFS X11 .......... no
  65.     LinuxFB .............. yes
  66.     Mir client............ no
  67.     XCB .................. no
  68.   Session management ..... yes
  69.   SQL drivers:
  70.     DB2 .................. no
  71.     InterBase ............ no
  72.     MySQL ................ no
  73.     OCI .................. no
  74.     ODBC ................. no
  75.     PostgreSQL ........... no
  76.     SQLite 2 ............. no
  77.     SQLite ............... yes (plugin, using bundled copy)
  78.     TDS .................. no
  79.   tslib .................. yes
  80.   udev ................... yes
  81.   xkbcommon-x11........... no
  82.   xkbcommon-evdev......... no
  83.   zlib ................... yes (system library)

  84. reply quote  0  
复制代码
由上面看到 eglfs是支持的,是不是由于后端X11 或者 kms未支持导致的以上的错误呢 》??

有大神可以解答下吗 .....

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

公告
可以关注我们的微信公众号yafeilinux_friends获取最新动态,或者加入QQ会员群进行交流:190741849、186601429(已满) 我知道了