Error when building Qt5.15.16 from source
-
It Is Qt5 what is the version of mingw64 used?
-
@Christian-Ehrlicher I do not understand. My Perl version is v5.38.2 and cmake version is 3.28.3.
As I understand it is relatively recent. What exactly is outdated?@Gravit22 said in Error when building Qt5.15.16 from source:
My Perl version is v5.38.2 and cmake version is 3.
Neither of them is your compiler... You need a recent gcc
-
@Gravit22 said in Error when building Qt5.15.16 from source:
My Perl version is v5.38.2 and cmake version is 3.
Neither of them is your compiler... You need a recent gcc
@Christian-Ehrlicher My gcc version is:
gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Also seems not too bad
@piervalli as I understand this is my mingw64 version -
Sorry usually I use Windows instead of Linux the same version of Qt Ubuntu 20.04, you can find on release notes which is the distro used.
-
This is page
https://wiki.qt.io/Qt_5.15_Tools_and_Versions -
@Christian-Ehrlicher My gcc version is:
gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Also seems not too bad
@piervalli as I understand this is my mingw64 version@Gravit22 it looks like an older version is used. What does 'gcc - - version' say?
-
@Gravit22 it looks like an older version is used. What does 'gcc - - version' say?
@Christian-Ehrlicher It states the version of gcc is 13.3.0
gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
Worked for me
Qt5.15.16 Compiled on Lubuntu 20.04 64-bit GLIBC 2.31 GCC 9.4.0 ../qt-everywhere-src-5.15.16/configure -release -prefix "/opt/Qt/5.15.16/gcc_64" -opensource -confirm-license -silent -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -system-freetype -opengl desktop -make libs -make tools -flite -openssl-runtime OPENSSL_PREFIX="/opt/Qt/Tools/OpenSSLv3/src" make make install
-
Also - do you really need qtlocation? If not simply skip it.
-
Hi, good advice of @Christian-Ehrlicher 's to skip it, otherwise there is a solution here:
https://bugreports.qt.io/browse/QTBUG-122589