Consegui instalar o Qt-5.8.0 no meu sistema (RHEL 6.6). Após a instalação, também adicionei-o a $PATH
. Agora, quando digito qmake --version
, recebo a seguinte saída:
QMake version 3.1
Using Qt version 5.8.0 in /usr/local/Qt-5.8.0/lib
Quando eu digito echo $PATH
, recebo a seguinte saída:
/usr/local/Qt-5.8.0/bin:/usr/local/Qt-5.8.0/bin:/root/gcc-4.8.2/bin:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-1.b13.el6.x86_64/bin:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-1.b13.el6.x86_64/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/apache/apache-ant-1.9.9/bin:/root/bin:/usr/apache/apache-ant-1.9.9/bin
No entanto, o qt-creator não foi instalado com o Qt-5.8.0. Então eu fui para este link e cliquei na opção "Qt Creator 4.2.1 para Linux 64-bit ( 93 MB). " Isso fez com que o executável qt-creator-opensource-linux-x86_64-4.2.1.run
fosse baixado na minha pasta Downloads.
Durante o processo de configuração, fui solicitado a selecionar a pasta para instalação do criador de qt. Então, criei uma nova pasta chamada qtcreator
in /usr/local
. Depois que o processo de configuração foi concluído, fui para /usr/local/qtcreator/bin
através do terminal e digitei o comando ./qtcreator
. Ele deu a seguinte saída:
./qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by ./qtcreator)
./qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/qtcreator/libExtensionSystem.so.4)
./qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/qtcreator/libAggregation.so.4)
./qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/qtcreator/libUtils.so.4)
./qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/Qt/lib/libQt5Widgets.so.5)
./qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/Qt/lib/libQt5Gui.so.5)
./qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/Qt/lib/libQt5Concurrent.so.5)
./qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/Qt/lib/libQt5Network.so.5)
./qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/Qt/lib/libQt5Core.so.5)
./qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/qtcreator/../Qt/lib/libQt5Qml.so.5)
A pasta bin contém os seguintes arquivos:
qbs qbs-qmltypes qbs-setup-toolchains qtcreator.sh
qbs-config qbs-setup-android qt.conf
qbs-config-ui qbs-setup-qt qtcreator
Quando eu digito ./qtcreator.sh
, recebo a seguinte saída:
[root@gksrv bin]# ./qtcreator.sh
/usr/local/qtcreator/bin/qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/qtcreator)
/usr/local/qtcreator/bin/qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/qtcreator/libExtensionSystem.so.4)
/usr/local/qtcreator/bin/qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/qtcreator/libAggregation.so.4)
/usr/local/qtcreator/bin/qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/qtcreator/libUtils.so.4)
/usr/local/qtcreator/bin/qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/Qt/lib/libQt5Widgets.so.5)
/usr/local/qtcreator/bin/qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/Qt/lib/libQt5Gui.so.5)
/usr/local/qtcreator/bin/qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/Qt/lib/libQt5Concurrent.so.5)
/usr/local/qtcreator/bin/qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/Qt/lib/libQt5Network.so.5)
/usr/local/qtcreator/bin/qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/Qt/lib/libQt5Core.so.5)
/usr/local/qtcreator/bin/qtcreator: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/local/qtcreator/bin/../lib/qtcreator/../Qt/lib/libQt5Qml.so.5)
O qt-creator e o Qt-5.8.0 não são compatíveis entre si? Se o Qt-5.8.0 estiver funcional, por que o criador de qt não está funcionando?
É absolutamente necessário instalar o libc.so. 6
para o qt-creator? Eu pensei em instalar o Qt-5.8.0 resolvido todas essas dependências.