Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to correctly install Qt 5.4 and have it run on Amazon EC2 free ubuntu instance?
Forum Updated to NodeBB v4.3 + New Features

How to correctly install Qt 5.4 and have it run on Amazon EC2 free ubuntu instance?

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 2.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zzzhhh
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved