How to correctly install Qt 5.4 and have it run on Amazon EC2 free ubuntu instance?
I tried to install Qt 5.4 (including Qt Creator) on Amazon EC2 ubuntu instance (the t2.micro type which belongs to Free Tier). I can complete the installation without any error but when running it, I always got the following error:
Qt: XKEYBOARD extension not present on the X server.
Could not initialize GLX
Aborted (core dumped)
The settings are described as follows. The free ubuntu instance of Amazon EC2 has no nVidia (or any other vendor) hardware graphics card installed, so I have to install mesa OpenGL library, as well as libglu1-mesa-dev package as introduced in "this article":http://qt-project.org/wiki/Install_Qt_5_on_Ubuntu. I connect the instance using VNC remote desktop with a gnome shell. I have no idea how to install GLX support or XKEYBOARD mentioned in the above error message. Actually, I think I have installed X11 and GLX because dpkg -l returns a lot of things like libgl1-mesa-glx:amd64 or x11proto-dri3-dev. Any ideas about this problem? Thanks a lot.