Open In App

How To Install Qt Creator On Linux?

Last Updated : 22 May, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

Qt Creator is a cross-platform C++, JavaScript, and QML integrated environment that simplifies GUI application development. It is currently available for Windows, macOS, and Linux. It is part of the SDK for the Qt GUI application development framework and uses the Qt API, which encapsulates host OS GUI function calls. It includes a visual debugger and an integrated WYSIWYG GUI layout and forms designer. The editor has features such as syntax highlighting and autocompletion. Below are the steps to install Qt Creator in a Linux distribution.

Install Prerequisites

The Qt installers for Linux assume that a C++ compiler, debugger, make, and other development tools are provided by the host operating system.  If the tools are not present in your distribution, run the following commands in your terminal based on your distro.

Debian/Ubuntu/Linux Mint

sudo apt-get install build-essential libgl1-mesa-dev

Debian/ubuntu/linux-mint

 

Fedora/RHEL/CentOS

sudo yum groupinstall “C Development Tools and Libraries”

sudo yum install mesa-libGL-devel

C-development-tools-and-libraries

 

Install-mesa-libGL-devel

 

openSUSE

sudo zypper install -t pattern devel_basis

Install-t-pattern-devel-basis

 

Download the Qt installer

You can download the Qt installer for Linux from its official site which will automatically detect your operating system and will recommend the correct version for your system based on the architecture of the computer.

Run the Qt installer

The downloaded file will be named something like qt-unified-Linux-x64-version-online.run. This file would not run directly in the Linux distribution, so the user must turn it into an executable file by changing its permissions. The permissions can be changed through the terminal or by using the file manager.

Using Terminal (all distributions), Locate the file in your system and change the directory accordingly in the terminal using the cd command.

chmod +x qt*.run

Locating-the-file

 

This will change the turn the file into an executable. One can also give the full name of the file in place of qt*.run. Run the file with the following command

/qt*.run

Running-the-file

 

Using file manager (Debian-based distributions)

  1. Locate the file in the system and right-click on it
  2. Go to Properties.
  3. Under the Permissions tab, enable Allow executing file as a program.
  4. Run the file by right-clicking on it.
executing-file-as-program

The installer window will show up. Install the application based on your preferences. Make sure any file starting with the same initials as the Qt installer does not exist in the same directory.


Similar Reads

MSFvenom Payload Creator (MSFPC) – Installation And Usage in kali linux
Creating effective payloads is key for penetration testing and security research. MSFvenom provides a very flexible payload generation system that can be used to avoid detection. This guide will teach beginners how to install and use the MSFvenom Payload Creator (MSFPC) in Kali Linux. You'll learn how to easily generate customized payload executabl
7 min read
How to Install GD module on Linux?
GD is a python library. It provides various features and an async-ready API wrapper for the geometry dash. It is easy to use. It is used to implement the geometry dash API and is also very handy to work with object-oriented design. Installing GD module on Linux Method 1: Using pip to install GD Package Follow the below steps to install the GD packa
2 min read
How to Install Kali Linux on Windows?
Kali Linux is an open-source Linux distribution based on Debian, designed for sophisticated penetration testing and security auditing. Kali Linux includes hundreds of tools for diverse information security activities such as penetration testing, security research, computer forensics, and reverse engineering. This multi-platform solution is accessib
2 min read
How to install and configure Docker on Arch-based Linux Distributions(Manjaro) ?
In this article, we are going to see how to install and configure Docker on Arch-based Linux Distributions. Docker is an open-source containerization platform used for building, running, and managing applications in an isolated environment. A container is isolated from another and bundles its software, libraries, and configuration files. Containers
2 min read
Install Pytorch on Linux
In this article, we are going to see how you can install PyTorch in the Linux system. We are using Ubuntu 20 LTS you can use any other one. To successfully install PyTorch in your Linux system, follow the below procedure: First, check if you are using python’s latest version or not. Because PyGame requires python 3.7 or a higher version, make sure
2 min read
How to Install and Use Htop on Linux?
For Linux systems, Htop is an interactive system control, process viewer, and process manager. It was created as a replacement for the Linux program top, and it has a lot of the same features as the top, but with a lot more flexibility in terms of how system processes can be interpreted. Unlike top, htop displays the entire list of running processe
2 min read
How to Install Deepin on Linux?
Deepin is the top Linux distribution from China, it provides a beautiful, easy-to-use, safe, and reliable operating system for global users. Deepin is based on Debian's stable branch. The feature that sets Deepin aside from the rest of Linux distributions is its desktop environment known as DDE Deepin Desktop Environment, which was described as "th
3 min read
How to Install NuGet from Command Line on Linux?
NuGet is the package manager for the .NET framework. It's very much useful for developers as developers can create, publish and consume packages. The package format of NuGet consists of a single ZIP file with the extension of .nupkg and which is the DLL compiled code like the package’s version number. A NuGet package manager is a cross-platformed m
2 min read
How to Install VirtualBox in Linux?
Virtual Machine abstracts the hardware of our personal computers such as CPU, disk drives, memory, NIC (Network Interface Card), etc., into many different execution environments as per our requirements, hence giving us a feeling that each execution environment is a single computer. For example, VirtualBox. We can create a virtual machine for severa
3 min read
How to Install Git on Windows Subsystem for Linux?
Git is an open-source distributed version control system developed to handle everything from simple to complex projects with performance and speed. Git software allows a team or group of developers to work together, with all using the same files and folders. It gradually reduces the confusion that tends to happen when multiple people are editing th
2 min read