Follow up: I successfully compiled and installed gcc-7.3.0 on this centOS7 machine and now the configure process works fine by building qmake in /qt5/qtbase/bin/ however, then it bails out with this issue:
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory What apart from doing "make install" within gcc-7.3.0 should I do in order to get a working libstdc++.so.6 ? Of course I cannot do yum install libstdc++ becasue this would install an outdated lib. Any further help appreciated, best Alex -- http://www.carot.de Email : alexan...@carot.de Tel.: +49 (0)177 5719797 > Gesendet: Freitag, 17. Juni 2022 um 09:05 Uhr > Von: "Alexander Carôt" <alexander_ca...@gmx.net> > An: fro...@tungware.se, "qt qt" <interest@qt-project.org> > Betreff: Re: [Interest] Qt5.15 from source on centOS 7 > > > Hi, default GCC version on CentOS 7.9 is 4.8.5 but Qt 5.15 requires at > > least GCC version 5. > > Got it – thank you ! > > > > -- > http://www.carot.de > Email : alexan...@carot.de > Tel.: +49 (0)177 5719797 > > > > Gesendet: Freitag, 17. Juni 2022 um 08:18 Uhr > > Von: "Henry Skoglund" <he...@tungware.se> > > An: interest@qt-project.org > > Betreff: Re: [Interest] Qt5.15 from source on centOS 7 > > > > On 2022-06-17 07:46, Alexander Carôt wrote: > > > Hi all, > > > > > > I have to compile Qt5.15 from source on an older centOS 7.9 machine but > > > it fails due to this issue (sorry, only german language): > > > > > > .In file included from ../include/QtCore/qmetatype.h:1:0, > > > from > > > ../include/QtCore/../../src/corelib/kernel/qvariant.h:46, > > > from ../include/QtCore/qvariant.h:1, > > > from > > > ../include/QtCore/../../src/corelib/text/qlocale.h:43, > > > from ../include/QtCore/qlocale.h:1, > > > from > > > ../include/QtCore/../../src/corelib/serialization/qtextstream.h:46, > > > from ../include/QtCore/qtextstream.h:1, > > > from ../include/QtCore/../../src/corelib/io/qdebug.h:49, > > > from ../include/QtCore/qdebug.h:1, > > > from > > > /var/www/vhosts/soundjack.eu/qt5/qtbase/qmake/library/proitems.h:34, > > > from > > > /var/www/vhosts/soundjack.eu/qt5/qtbase/qmake/library/qmakeparser.h:34, > > > from > > > /var/www/vhosts/soundjack.eu/qt5/qtbase/qmake/library/qmakeevaluator.h:36, > > > from > > > /var/www/vhosts/soundjack.eu/qt5/qtbase/qmake/project.h:32, > > > from > > > /var/www/vhosts/soundjack.eu/qt5/qtbase/qmake/main.cpp:30: > > > ../include/QtCore/../../src/corelib/kernel/qmetatype.h: In Instanziierung > > > von > > > »QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const > > > T*) [with T = QList<QVariant>]«: > > > ../include/QtCore/../../src/corelib/kernel/qvariant.h:772:139: von hier > > > erfordert > > > ../include/QtCore/../../src/corelib/kernel/qmetatype.h:1160:135: Fehler: > > > mehrdeutige Klassentemplate-Instanziierung für »struct > > > QtMetaTypePrivate::ContainerCapabilitiesImpl<QList<QVariant>, void>« > > > , _iteratorCapabilities(ContainerAPI<T>::IteratorCapabilities | > > > (1 << 4) | (ContainerCapabilitiesImpl<T>::ContainerCapabilities << (4+3))) > > > > > > > > > There is an ambigious class template instantiation for struct > > > QtMetaTypePrivate::ContainerCapabilitiesImpl<QList<QVariant> – that > > > obvious but I currently don't know how to resolve it. > > > > > > Can anyone help ? > > > > > > Thanks ! > > > > > > Alex > > > > > Hi, default GCC version on CentOS 7.9 is 4.8.5 but Qt 5.15 requires at > > least GCC version 5. > > > > _______________________________________________ > > Interest mailing list > > Interest@qt-project.org > > https://lists.qt-project.org/listinfo/interest > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest > _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest