The Qt Software Development Kit is a cross- platform application framework that is widely used for developing application software with a graphical user interface.Opera is one of the well known applications developed with Qt.The framework works on the Windows, Linux and Mac OS X operating systems.It is possible to create graphical user interface's for your applications that will run on Windows, Linux and Mac OS X.You can see more detailed information on the website.You can find additional information on creating your first Qt program in the following document.The installation of 64-bit version of the software development kit on the Linux platform will be covered in the document.
Step 1: To determine your Ubuntu Linux operating system bit version, you need to open a terminal and type the following:
If you are on the 32-bit version of the Linux, then you need to download the 64-bit Qt SDK.The bit version of your operating system architecture will show whether it is 32-bit or 64-bit.
Step 2: Next is the Qt Software Development Kit.
The Linux system architecture should be 32-bit or 64-bit.Adding development libraries will allow you to run Qt applications without problems.Unless you have a really fast download connection, it's best to download the offline installation.The online and offline installer methods are used to download the Qt SDK.The offline method is what I prefer to use.It takes several hours to download the SDK because the classes that make up it are so large.It's possible that this is a turn off for some users who want to try out the software.Unless you have a really fast connection, I would recommend using the offline installer.
Step 3: Enter the following commands when you open up a terminal.
The apt-get update command is used to update the package index files.You can add additional development libraries to your Linux system with this command.
Step 4: You can type/ copy/paste.
You will be put into the Downloads directory on your system.
Step 5: You can type/Copy/Paste.
You can run chmod to make the Qt SDK for all users on your system.
Step 6: The following command is needed to install the Qt SDK.
You must have super user privileges to install the qtsdk.
Step 7: You will be prompted to pick a directory when you install the SDK.
There is a directory called /opt/QtSDK that you can install into if you selectopt.
Step 8: The following command can be used to change the permissions on the directory.
Step 9: You can type/Copy/Paste.
All users of your system will be able to use the Qt SDK.
Step 10: You can type/Copy/Paste.
The chmod will prevent error messages when you start the program because it won't write to the directory.
Step 11: Once the program is installed, open up a terminal and use a text editor to modify your profile.
gedit /etc/profile
Step 12: The following text should be entered at the end of the /etc/profile file.
If you add this line below your /etc/profile system wide file, you will be able to use the terminal line to make Qt programs.
Step 13: You can type/Copy/Paste.
The path is called the "opt/QtSDK/Desktop/ Qt PATH".
Step 14: Make sure you enter the correct version number when you see the number highlighted in bold.
There are always new version changes for the Qt SDK.Make sure you are aware of your version number.The version number in the /etc/profile would reflect the version we are using in this example.
Step 15: Take the /etc/profile file and exit.
Step 16: The following command is used to reload the /etc/profile file.
There is a possibility that this is not the case.You need to enter a.A space is needed in order to reload your profile file.
Step 17: Once the /etc/profile file is reloaded, you can type the following commands to make sure your Linux system recognizes that the Qt SDK has been accepted.
Step 18: You can type/Copy/Paste.
You should get a reply such as the one below.
Step 19: Write the following command down.
qMake -version
Step 20: You should get a similar response.
' '
Step 21: This lets you know that you can use the command line to make programs.
You will be able to use Qt programs on your Linux system.How to create your first Qt program on Ubuntu Linux can be found in this document.
Step 22: To determine your Ubuntu Linux operating system bit version, you need to open a terminal and type the following:
If you are on the 32-bit version of the Linux, then you need to download the 64-bit Qt SDK.The bit version of the operating system architecture will show whether it is 32-bit or 64-bit.
Step 23: Next is the Qt Software Development Kit.
The Linux system architecture should be 32-bit or 64bit.You can add development libraries if you follow these steps.Unless you have a really fast download connection, it's best to download the offline installation.The online and offline installer methods are used to download the Qt SDK.The offline method is what I prefer to use.It takes several hours to download the SDK because the classes that make up it are so large.It's possible that this is a turn off for some users who want to try out the SDK.Unless you have a really fast connection, I would recommend using the offline installer.
Step 24: Enter the following commands when you open up a terminal.
This command is used to update the package index files from their sources.Adding additional Qt development libraries to your Linux system will allow your programs to run smoothly.If you want to install additional C/C++ libraries on top of the compatible ones, I included this information.When running your Qt applications, libx11-xcb-dev libglu1-mesa-deficiency will be added.
Step 25: You can type/Copy/Paste.
You will be put into the Downloads directory on your system.
Step 26: You can type/Copy/Paste.
The chmod will make the qt-linux-opensource-5.0.2-x86_64-offline.run for all users.
Step 27: The following command should be used to install the Qt SDK.
You must have super user privileges to install the Qt SDK.
Step 28: You will be prompted to pick a directory when you install the SDK.
There is a directory called /opt/QtSDK that you can install into if you selectopt.
Step 29: The following command can be used to change the permissions on the directory location.
Step 30: You can type/Copy/Paste.
All users on your system will be able to use the Qt SDK.
Step 31: You can type/Copy/Paste.
The chmod will prevent error messages when you start the program.
Step 32: Once the program is installed, open up a terminal and use a text editor to modify your profile.
gedit /etc/profile
Step 33: The following text should be entered at the end of the /etc/profile file.
Adding this line to your /etc/profile system wide file will allow you to make use of the terminal line.
Step 34: You can type/ copy/paste.
export PATH
Step 35: If the version number is highlighted in bold, you should enter it correctly.
There are always new version changes for the Qt SDK.Make sure you keep your version number in mind.The version number in the /etc/profile would reflect the version we are using.
Step 36: Go to the /etc/profile file and save it.
Step 37: The following command is used to reload the /etc/profile file.
.You need to enter a.A space is needed in order to reload your profile file.
Step 38: Once the /etc/profile file is reloaded, you can type the following commands to make sure your Linux system recognizes that the Qt SDK has been accepted.
Step 39: You can type/Copy/Paste.
You should get a response like the one below.
Step 40: Write the following command down.
qMake -version.
Step 41: You should get a similar reply.
Step 42: This lets you know that you can use the command line to make programs.
You will be able to use Qt programs on your Linux system.How to create your first Qt program on Ubuntu Linux can be found in this document.