[Interest] Qt5.15 from source on centOS 7

Alexander Carôt alexander_carot at gmx.net
Fri Jun 17 07:46:14 CEST 2022


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



--
http://www.carot.de
Email : Alexander at Carot.de
Tel.: +49 (0)177 5719797



More information about the Interest mailing list