Qt 交叉编译5.15源码过不去
iperf 2021-04-30 09:41:52 各位请教一下,有没有人交叉编译过Qt5.15以上的版本?
我编译器用的arm-linux-gnueabihf-g++ 4.9版本,这个版本编译5.5 ,5。10的都编译过。
但是想编译5.15就出问题了
from /home/uu/temp/qt-everywhere-src-5.15.2/qtbase/qmake/main.cpp:30:
/home/uu/temp/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h: In instantiation of ‘QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T*) [with T = QList<QVariant>]’:
/home/uu/temp/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/kernel/qvariant.h:772:139: required from here
/home/uu/temp/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1160:135: error: ambiguous class template instantiation for ‘struct QtMetaTypePrivate::ContainerCapabilitiesImpl<QList<QVariant>, void>’
, _iteratorCapabilities(ContainerAPI<T>::IteratorCapabilities | (1 << 4) | (ContainerCapabilitiesImpl<T>::ContainerCapabilities << (4+3)))
一执行configure就这个错误
不知道大佬们有没有交叉编译过5.15以上的?