簡體   English   中英

使用-platform eglfs運行Qt5應用程序時,i.MX6上的“EGL錯誤:無法創建EGL表面:錯誤0x300b”

[英]“EGL Error : could not create the EGL surface: error 0x300b” on i.MX6 when running Qt5 application with -platform eglfs

我試圖通過指定eglfs平台來運行沒有X Server的hellogl_es2 Qt示例:

./hellogl_es2 -platform eglfs
EGL Error : Could not create the egl surface: error = 0x300b

Aborted (core dumped)

CPU是飛思卡爾i.MX6。

Linux內核是3.10.17。

分發是Ubuntu 14.04.4 LTS(可靠)。

Qt版本是5.2.1,安裝自http ://packages.ubuntu.com,armhf架構,軟件包qtbase5-dev,qtbase5-examples,qtbase5-examples-dbg。

核心轉儲是:

GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from hellowindow...(no debugging symbols found)...done.
[New LWP 19681]
[New LWP 19683]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `./hellowindow -platform eglfs'.
Program terminated with signal SIGABRT, Aborted.
#0  0xb66168e6 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) backtrace
#0  0xb66168e6 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0xb6624f0e in raise () from /lib/arm-linux-gnueabihf/libc.so.6
#2  0xb6627766 in abort () from /lib/arm-linux-gnueabihf/libc.so.6
#3  0xb6902372 in QMessageLogger::fatal(char const*, ...) const () from /usr/local/Qt-5.2.1/lib/libQt5Core.so.5
#4  0xb62599fc in ?? () from /usr/local/Qt-5.2.1/plugins/platforms/libqeglfs.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) q

該行為與其他Qt示例項目相同。

我試圖從有或沒有應用此補丁的來源重新制作Qt: https//patchwork.openembedded.org/patch/66349/但沒有結果(相同的錯誤)。

我有這個問題在Cubieboard A10上使用qt 5.2並通過從源代碼編譯修改它並根據本教程改變qeglfshooks_stub.cpp Qt在Cubieboard上

希望這可以幫助

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM