Ubuntu下QtCreator 5.7启动后黑屏问题一例

现象:操作系统为Ubuntu 12.04.5 LTS,安装QtCreator 5.7.0或QtCreator 5.7.1后,启动QtCreator时均出现黑色窗口。

处理方案:修改QtCreator的启动器配置文件即可,这个文件位于/usr/share/applications/DigiaQt-qtcreator-community.desktop,在终端中输入:

sudo gedit /usr/share/applications/DigiaQt-qtcreator-community.desktop

找到Exec=行,在该行末尾添加:

 -noload Welcome

使其看起来像:

Exec=/opt/Qt5.7.1/Tools/QtCreator/bin/qtcreator -noload Welcome

保存该文件,重新启动QtCreator,问题解决。

参考资料:

https://www.jianshu.com/p/0290c3d3a695

https://blog.csdn.net/bukehaha/article/details/85336023

it
除非特别注明,本页内容采用以下授权方式: Creative Commons Attribution-ShareAlike 3.0 License