How to Install QT Creator on Fedora 34
To Install QT Creator on Fedora 34.
Introduction:
Qt Creator is a cross-platform tool that allows developers to create Qt GUI applications that work on any OS, such as Linux, Microsoft Windows, and Mac OS.
Installation Procedure:
Step 1: Check the OS version by using the below command
[root@linuxhelp ~]# cat /etc/os-release
NAME=Fedora
VERSION="34 (Workstation Edition)"
ID=fedora
VERSION_ID=34
VERSION_CODENAME=""
PLATFORM_ID="platform:f34"
PRETTY_NAME="Fedora 34 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:34"
REDHAT_BUGZILLA_PRODUCT_VERSION=34
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=34
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation
Step 2: Install Qt Creator by using the below command
[root@linuxhelp ~]# dnf install qtcreator -y
Fedora 34 openh264 (From Cisco) - x86_64 1.1 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 7.8 kB/s | 6.7 kB 00:00
Fedora Modular 34 - x86_64 - Updates 9.0 kB/s | 6.6 kB 00:00
Fedora Modular 34 - x86_64 - Updates 94 kB/s | 591 kB 00:06
Fedora 34 - x86_64 - Updates 9.4 kB/s | 7.0 kB 00:00
Fedora 34 - x86_64 - Updates 1.3 MB/s | 7.9 MB 00:06
Fedora 34 - x86_64 43 kB/s | 6.8 kB 00:00
MySQL 8.0 Community Server 4.9 kB/s | 2.6 kB 00:00
MySQL Connectors Community 9.5 kB/s | 2.6 kB 00:00
MySQL Tools Community 7.3 kB/s | 2.6 kB 00:00
determining the fastest mirror (3 hosts).. done. 11 kB/s | 3.5 kB 00:00 ETA
Remi's Modular repository - Fedora 34 - x86_64 816 B/s | 858 B 00:01
done.s Modular repos100% [====================] 11 kB/s | 3.5 kB 00:00 ETA
Remi's Modular repository - Fedora 34 - x86_64 502 kB/s | 511 kB 00:01
perl-English-1.11-477.fc34.noarch
qt-creator-4.14.1-6.fc34.x86_64
qt-creator-data-4.14.1-6.fc34.noarch
qt5-qtbase-devel-5.15.2-30.fc34.x86_64
qt5-qtquickcontrols-5.15.2-3.fc34.x86_64
qt5-qtserialport-5.15.2-3.fc34.x86_64
qt5-qtsvg-5.15.2-4.fc34.x86_64
qt5-qttools-common-5.15.2-5.fc34.noarch
qt5-qttools-libs-designer-5.15.2-5.fc34.x86_64
qt5-qttools-libs-designercomponents-5.15.2-5.fc34.x86_64
qt5-qttools-libs-help-5.15.2-5.fc34.x86_64
qt5-rpm-macros-5.15.2-2.fc34.noarch
rhash-1.4.0-3.fc34.x86_64
vulkan-headers-1.2.189.0-1.fc34.noarch
vulkan-loader-devel-1.2.162.0-2.fc34.x86_64
xorg-x11-proto-devel-2021.4-1.fc34.noarch
yaml-cpp-0.6.3-4.fc34.x86_64
Complete!
Step 3: Once installed access the QtCreator application from the Menu
Step 4: QT application
Q
Does Qt Creator come with MinGW, should I use this version with Qt?
A
Use the version that was built against the Qt version.
Q
How do I reset all Qt Creator settings?
A
Qt Creator creates the following files and directories:
QtCreator.db,
QtCreator.ini,
qtversion.xml,
toolChains.xml,
qtcreator,
qtc-qmldump,
QtCreator.db,
QtCreator.ini,
qtversion.xml,
toolChains.xml,
qtcreator,
qtc-qmldump,
Q
Why does the Qt Creator only show a blank window or a dialog complaining about missing OpenGL support?
A
n some areas of Qt Creator, Qt Quick 2 is used, which relies on OpenGL API for drawing. Qt Quick 2 is most prominently used in the Welcome mode, but it is also used in the Qt Quick Designer, and the QML Profiler. It is unfortunate that OpenGL can cause problems, especially in remote setups
and with outdated drivers. Qt Creator can be accessed with Welcome mode disabled using the -noload Welcome command-line option. The console or Windows debugger log should contain any OpenGL-related error messages.
and with outdated drivers. Qt Creator can be accessed with Welcome mode disabled using the -noload Welcome command-line option. The console or Windows debugger log should contain any OpenGL-related error messages.
Q
Whether the QT creator is open-source?
A
Yes, the QT creator is an open-source application.
Many plugins specify either the path to the tool they need or the environment they run in. This is especially relevant for the OS X where /usr/local/bin might not be in the path when Qt Creator is started.