Friday, August 26, 2016

How to install QT SDK 5.7 on Lubuntu 16.04

If you are a C++ programmer and you want to build some graphical application your best choice is using QT framework, with QT you can develop desktop app for windows, linux and mac, you can also develop android app with QT.

By the time i wrote this article the latest version of QT SDK (Software Development Kit) is 5.7.0, but this installation tutorial shall works for older and newer version of QT as well. 

If you are going to develop android app, choose the QT SDK for android, otherwise choose the normal QT SDK, for this tutorial i'm going to use QT 5.7.0 for android 64 bit version and lubuntu 16.04 xenial.

Step by step how to install QT SDK 5.7.0 on lubuntu 16.04
  • install build-essential package, read my previous post if you confused
  • download the QT SDK for linux (choose either the android version or the standard version)
  • give execute permission to the installer (assuming that the installer is on Downloads folder)
cd ~/Downloads
chmod +x
  • run the installer from command line or just double click on the .run file
  • the installation wizard will appear and you need to login with your QT account if you already have or create new one if you don't have.
  • follow the installation wizard until finish

Note that if you install QT SDK for android development you need to have also JDK installed on your system, android SDK and NDK.

Even though you have the QT SDK for android you still can create desktop and console application if you want, so don't worry about that.

QT is a good framework if you are a C++ programmer, you can build desktop, console and mobile application and deploy it to many operating system.

How to uninstall QT SDK from lubuntu
Just in case you want to remove/uninstall QT SDK from your lubuntu, you can go to the installation folder of QT SDK (possibly on your home folder). 

And then run the 'MaintenanceTool' binary (either from command line or graphical mode), choose 'remove all components' and hit 'next' and then click 'uninstall'.

~ happy coding ~

No comments:

Post a Comment