各位請教一下,有沒有人交叉編譯過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以上的?
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/281806.html
標籤:Qt
上一篇:Handler 中的奧秘
下一篇:as關于opencv匯入
