Introduction

Qt is a cross-platform software development kit (SDK) that allows us to compile, build, and develop COSMOS.

Installing

First check to see if you have Qt already installed. There are typically two places where it could be installed. The first option is in the "user" folder:

$ cd ~/Qt

The second option is in the "opt" folder:

$ cd /opt/Qt

If Qt is not in either of these folders then you'll have to install it. If you get an error message:

"bash: cd: /home/<user>/qt: No such file or directory"

Then you'll need to install Qt.

We recommend using the latest version of Qt because it is compatible with most of the COSMOS tools.

  1. Go to this link: http://www.qt.io/download-open-source/ and download the open source (free) version of Qt to “Downloads” folder
  2. Open the terminal in the “Downloads” folder
cd Downloads
  1. Check the file name in the downloads folder and copy the file name
ls qt-unified-linux*
  1. To start the installer you’ll have to make the installer script executable:
chmod +x qt-unified-linux*
sudo ./qt-unified-linux*
  1. You’ll accept the default parameters on most of the dialogs. On the login dialog just hit the ‘skip’ button. Once you get to the “Select Components” menu make sure to select “desktop gcc 64-bit” version from the Qt menu as show in in the picture.

Select the latest version for Qt “Desktop gcc 64 bit”. The screenshot below is just for illustrative purposes.

See Also

Tags: