Pandora 1GHz ⇒ Debian Mark2

解決qtcreator的"initialize OpenGL"問題


開啓qtcreator時,如果遇到如下錯錯誤:

libEGL warning: DRI2: failed to authenticate
Unable to find an X11 visual which matches EGL config 125
Could not initialize OpenGL
Aborted

只要在啓動命令帶入-noload Welcome即可

$ sudo vim /usr/share/applications/qtcreator.desktop 
[Desktop Entry]
Exec=qtcreator -noload Welcome
Icon=QtProject-qtcreator
Type=Application
Terminal=false
Name=Qt Creator
GenericName=Integrated Development Environment
MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.nokia.qt.qmakeprofile;application/vnd.nokia.xml.qt.resource;
Categories=Qt;Development;IDE;
InitialPreference=9


返回上一頁