Installing the QT in Raspberry pi is very easy using the command line, but it will take 30 minutes to 4 hours to finish the installation depending upon the speed of the internet connection. Downloading and installing the fourth version, QT4 using commands are already discussed in a previous article.In this project the Raspberrypi board is loaded with Ubuntu and is remotely accessed using VNC.
The list includes âQt 4 Assistantâ, âQt 4 Designerâ, âQt 4 Linguistâ and âQt Creatorâ. The âQt 4 Assistantâ is basically provides help in the form of documentations related to the topics in QT. âQt 4 Designerâ is where the user can create a design and save it as a â.uiâ file which can then be used in QT projects. The âQt 4 Linguistâ provides a language view of the design created. The âQt Creatorâ is where all these things can be done in the same IDE which helps in creating a GUI using QT.
Click on the âQt Creatorâ and the following window opens up which includes options for creating a project, editing the code, design the UI and even option for debugging. Options are available in the same window for compile, build and run also.
Select the âApplicationsâ >> âQtGui Applicationsâ and click on the âChooseâ button. The following steps are about the files to be generated and the location where they need to be generated.
This window asks the location where the project files need to be saved. It is suggested to create a separate folder for each and every QT project since they will generate many numberams of files for a single project. Here a folder named âhello_worldâ has been created for the project at /home/pi/raspberry_piQT/hello_world and the name of the project is also given as âhello_worldâ.
For more detail: Hello World Program using Qt in Raspberry Pi