我正在尝试加载具有一些3D图形的QT应用程序,应用程序在两台Linux PC(其中QT)上运行,但在第三项(新PC)上显示此错误。
"QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled"
我尝试安装
sudo apt-get install mesa-common-dev
sudo apt-get install freeglut3
sudo apt-get install freeglut3-dev
并添加了软链接
sudo ln -s /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 libGL.soudo ln -s /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 libGL.so
机器配置
description: VGA compatible controller
product: 4th Generation Core Processor Family Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:30 memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff
请指导,任何输入都是很有帮助的。