Could not initialize GLX
Unsolved
Installation and Deployment
-
Re: QTCreator does not start: Could not initialize GLX
I was compile github project. It dependency QT. I installed Qt 5.8 by command line on Ubuntu 16.04.(https://www.jianshu.com/p/afbc42ad2cfd)
I only run the code by remote ssh with xshell.When I run the demo. It shows the following messages.
XcbConnection: Failed to initialize XRandr
Could not initialize GLX
Aborted (core dumped)So far i havent't found any solution how to solve this issue. Any help is appreciated.
Xinhui
-
Normally Qt requires OpenGL and a screen to work. So you're getting issues when you launch apps through the terminal because screen is missing.
Try running your app like so:
./myApplication -platform minimal # OR ./myApplication -platform offscreen