Error installing Qt creator on CentOS Linux 7-2009.
-
Hello. I am trying to use Qt Creator on CentOS Linux 7-2009 with GNOME. I installed it with the open source linux .run installer. The downloaded installer was called
qt-unified-linux-x64-4.4.1-online.run
During installation, I got the following error message:
Error during installation process (qt.qt6.631.gcc_64):Could not find the required QmakeOutputInstallerKey(qt.qt6.631.gcc_64_qmakeoutput) value on the installer object. The ConsumeOutput operation on the valid qmake needs to be called first.
Selecting the "Retry" button did nothing, and "Ignore" let the installation continue. Then, trying to run qtcreator from the applications menu does nothing. From the terminal, running qtcreator gives
./qtcreator: error while loading shared libraries: libQt6Core.so.6: cannot open shared object file: No such file or directory
These issues are probably related. Can someone help me fix them or tell whether qtcreator works on CentOS?
I've searched both of these messages online but there doesn't appear to be a fix from what I can tell. -
Hi, and welcome!
@gfbr said in Error installing Qt creator on CentOS Linux 7-2009.:
Hello. I am trying to use Qt Creator on CentOS Linux 7-2009 with GNOME.
CentOS 7 is too old to run applications that are built with the official Qt 6, because Qt 6 requires GLIBC 2.28. The latest official build of Qt Creator is built with Qt 6, so it can't run on CentOS 7.
Your two options are:
- Download the official version of Qt Creator 5, which was built with Qt 5: https://download.qt.io/official_releases/qtcreator/5.0/5.0.3/, OR
- Download an unofficial build of Qt Creator 7, which was also built with Qt 5: https://download.qt.io/snapshots/qtcreator_qt5/
-
@JKSH I am trying now to install Qt Creator 5 on Windows (I will use CentOS later). I get Qt Creator, but I do not have any way to install Qt 5 in the installer/maintenance tool (Qt creator 5 doesn't have a maintenance tool?). Additionally, I load a project I want to look at and I am told there are no kits enabled. Where or how can I install Qt 5?
-
@gfbr said in Error installing Qt creator on CentOS Linux 7-2009.:
I do not have any way to install Qt 5 in the installer/maintenance tool (Qt creator 5 doesn't have a maintenance tool?)
The online installer (MaintenanceTool) only offers Qt Creator 7. You need to use my link above to install Qt Creator 5.
Additionally, I load a project I want to look at and I am told there are no kits enabled. Where or how can I install Qt 5?
Have you already installed Qt 5 using the online installer?
After you've done that, register that copy of Qt with your copy of Qt Creator 5. See https://doc.qt.io/qtcreator/creator-project-qmake.html#registering-installed-qt-versions
-
@JKSH Nevermind. I can't seem to get this to work on CentOS now. I am using a VM within Windows. I've installed Qt Creator 5 from your link. That works and I can open the project. Then, I have the online installer and I am trying to get Qt 5. I've tried several configurations but they all get stuck at "x of y components installed." I've tried to install only "Desktop gcc 64-bit" under Qt 5 without the default selection and with the default selection of installation when I do custom installation. None of these work and I have to force quit the installation. Is there a proper way or different way to get Qt 5 now?
-
This post is deleted!
-
This post is deleted!