Qt online installer fails in Ubuntu 18.04
-
I'm trying to install qt 5.15 in a fresh ubuntu 18.04 but I keep getting this error.
I did run this first
sudo apt-get install qt5-default
because the online installer doesn't run without it. In the command terminal, I get this/Qt//Tools/QtCreator/libexec/qtcreator/sdktool: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.28
not found`Any suggestions!
-
@CroCo said in Qt online installer fails in Ubuntu 18.04:
I'm not sure why you get this error, but it's not fatal. You can ignore it and complete the setup manually later.
I did run this first
sudo apt-get install qt5-default
because the online installer doesn't run with it. In the command terminal, I get this/Qt//Tools/QtCreator/libexec/qtcreator/sdktool: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.28
not found`This error is because the latest Qt Creator from the online installer is based on Qt 6, which only supports Ubuntu 20.04 and newer. You'll need to use an older version of Qt Creator (for example, from
sudo apt-get install qtcreator
).You can use the older version of Qt Creator with Qt 5.15, no problem.
@JonB said in Qt online installer fails in Ubuntu 18.04:
Qt 5.15 is a commercial-only release, not available to us here. You need to ask your support at The Qt Company.
Qt 5.15.2 is definitely available on the open-source online installer.
-
@JKSH said in Qt online installer fails in Ubuntu 18.04:
Qt 5.15.2 is definitely available on the open-source online installer.
I'm lost! (Personally I never download/compile source anyway, only use Linux pre-supplied distros.) I wrote this because every time I have seen a question about 5.15.x anywhere else in this forum, @SGaist has replied saying it's commercial and OP should ask TQtC? [Unless it was a version greater than 5.15.2... ??]
-
@JonB said in Qt online installer fails in Ubuntu 18.04:
[Unless it was a version greater than 5.15.2... ??]
That's right: https://www.qt.io/blog/commercial-lts-qt-5.15.3-released
It's the LTS (Long Term Support) aspect that became commercial-only. Open-source users still got the short-term releases (5.15.0 to 5.15.2). And Debian Bullseye ships with Qt 5.15.2.
Thanks to the agreement with the KDE Free Qt Foundation though, releases are not allowed to stay commercial-only forever. They must be open-sourced within 12 months of the commercial release, so Qt 5.15.3's sources become open earlier this month.
-
@JKSH this is exactly what I thought because I see in the option Qt Creator 7 is selected by default and I can't untick this option. Using
sudo apt-get install qtcreator
installs old qt creator (i.e. I think is Qt Creator 4.2) which doesn't support the modern cmake features I need. Does this mean I can't use the online installer in ubuntu 18.04? What the latest Qt Creator that is compatible with ubuntu 18.04 and how can I install it separately? -
Never mind. I've solved it by running 5.12.x Offline Installer which contains Qt Creator 5.0.2 which is enough for me. But I found it odd Qt forces me to install Qt Creator 7 yet it is not compatible with Ubuntu 18.04. It would be nice if the installer also provides options for different Qt Creator versions.
-
@CroCo said in Qt online installer fails in Ubuntu 18.04:
Never mind. I've solved it by running 5.12.x Offline Installer which contains Qt Creator 5.0.2 which is enough for me.
I'm glad to hear that you solved your problem.
If you want Qt Creator 5.0.3, you can get the standalone installer from https://download.qt.io/official_releases/qtcreator/5.0/5.0.3/
But I found it odd Qt forces me to install Qt Creator 7 yet it is not compatible with Ubuntu 18.04. It would be nice if the installer also provides options for different Qt Creator versions.
I agree