How to install glibc on centos2/12/2023 If you are not careful enough and click the “Next” button directly, only Qt creator is installed. But in the next step that selects the components to be installed, only “Tools” is selected by default. It seems Qt cares about customers’ privacy. That is optional and you can skip this step and continue the installation. At the beginning of the installation, there is an option to create an account using your email. ![]() Here I remind you of a trick Qt plays to let user register an account and collect users’ privacy. You can resolve the garbled character problem by installing the fonts: The unreadable characters are due to to the missing of fonts. The problem is the garbled characters on the Qt installation GUI. QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-root’ QXcbConnection: Could not connect to display Now if you run the downloaded file, you will get the warning: To run this file, you need to set up GUI environment first. And strangely, it is an executable file under Linux. The downloaded file is a large file named qt-opensource-linux-圆4-5.10.1.run. Yum install devtoolset-3-gcc devtoolset-3-gcc-c++Īfter installing gcc4.9, I downloaded the Qt5.10.1 for Linux. So I resort to installing the devtoolset-3 package using yum: I also could not find a place to provide the latest gcc binaries. ![]() I have tried to download the source code of gcc and build from source but failed due to the memory requirements. ![]() According to the Qt official document on supported platforms, if you want to install Qt 5.10 on CentOS 6 (x86_64), you should install GCC 4.9.1 first, whereas GCC 4.9.1 is included in the devtoolset-3 package. First, you should know which version of gcc is needed by Qt 5.10 on CentOS6 and install the correct version of gcc in the first place. Installing Qt 5.10 on CentOS6 is also a bitter thing to do. If you’ve read my post on how to install Qt 5.10 on Windows, you must have known the installation of Qt on Windows is not a trivial work.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |