1. 安装完成后命令行执行 ./qtcreator 崩溃,提示如下错误:
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
执行命令安装依赖文件:apt-get install libxcb-xinerama0
2. 编译程序提示:
cannot find -lGL
执行命令查找libGL位置:locate libGL
执行命令创建链接:ln -s /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so
3. 命令行qmake报错:
执行命令安装:apt-get install qt5-default