Sunday, December 13, 2015

How to install QT C++ 5.5 on Lubuntu 15.10


QT is probably the best framework for C++ ever, if you are studying the basic of C++ you might also need to learn about QT if you are interested developing software with UI without having to learn new programming language.

QT C++ can also be use to develop both android and IOS apps, so it's double benefit for you if you are learning QT framework, you can develop desktop app and mobile app, all in one package.

In this article i will show you how to install QT version 5.5 on lubuntu 15.10 wily werewolf

Step by step how to install QT C++ 5.5.x on Lubuntu 15.10
  • download QT offline installer for linux from this website. choose the one that match with your operating system type (32 bit or 64 bit). If you want to develop android app, choose the android version, don't worry it can also be use to develop desktop app too.
  • after download, open terminal/console and then go to where the QT offline installer is located (possibly ~/Downloads/)
  • give execute permission to that file

  • chmod +x qt-opensource-linux-x86-android-5.5.1.run
    

  • run the installer

  • ./qt-opensource-linux-x86-android-5.5.1.run
    

  • follow the installation wizard until finish
  • install C/C++ compiler and other essential build tool

  • sudo apt-get install build-essential
    

  • install openGL library

  • sudo apt-get install libgl1-mesa-dev
    

  • done, you can start coding with QT 5.5 
Once installed, you can find QT creator (the default IDE for QT C++) from the start menu > Programming > QT Creator (Community).









~ happy coding ~

No comments:

Post a Comment