cross-compiling pyside2 for AArch64
-
hi,
we are trying to add the pyside2 for the ti,am625 processor with yocto image. we have download the Qt source code from the site link:
https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.15-src/.we are following the steps provided for compiling Qt5 for rasberry pi, but we have changed the folder structure according to the package we want to build which in our case pyside.
we have created a build folder inside src and from that folder we have executed the below command
cmake ../ -GNinja -DCMAKE_BUILD_TYPE=Release -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=$HOME/qt-host
then ran the below command
cmake --build . --parallel 8
this gave the below error
[7/1342] Building CXX object sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/propertyspec.cpp.o FAILED: sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/propertyspec.cpp.o /bin/c++ -DCMAKE_CXX_COMPILER=\"/bin/c++\" -DHAVE_LIBXSLT -DHAVE_QTXMLPATTERNS -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -Isources/shiboken2/ApiExtractor/apiextractor_autogen/include -I/usr/lib/llvm-10/include -I../sources/shiboken2/ApiExtractor -Isources/shiboken2/ApiExtractor -I../sources/shiboken2/ApiExtractor/parser -I/usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtXmlPatterns -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -Wall -fvisibility=hidden -Wno-strict-aliasing -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_TO_ASCII -O3 -DNDEBUG -fPIC -fPIC -std=gnu++11 -MD -MT sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/propertyspec.cpp.o -MF sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/propertyspec.cpp.o.d -o sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/propertyspec.cpp.o -c ../sources/shiboken2/ApiExtractor/propertyspec.cpp In file included from ../sources/shiboken2/ApiExtractor/propertyspec.cpp:29: ../sources/shiboken2/ApiExtractor/propertyspec.h:46:38: error: ISO C++ forbids declaration of ‘Q_DISABLE_COPY_MOVE’ with no type [-fpermissive] 46 | Q_DISABLE_COPY_MOVE(QPropertySpec) | ^ ../sources/shiboken2/ApiExtractor/propertyspec.h:46:38: error: expected ‘;’ at end of member declaration 46 | Q_DISABLE_COPY_MOVE(QPropertySpec) | ^ | ; ../sources/shiboken2/ApiExtractor/propertyspec.cpp: In static member function ‘static TypeSystemProperty QPropertySpec::typeSystemPropertyFromQ_Property(const QString&, QString*)’: ../sources/shiboken2/ApiExtractor/propertyspec.cpp:93:67: error: ‘SkipEmptyParts’ is not a member of ‘Qt’ 93 | auto propertyTokens = declaration.split(QLatin1Char(' '), Qt::SkipEmptyParts); | ^~~~~~~~~~~~~~ [9/1342] Building CXX object sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetabuilder.cpp.o FAILED: sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetabuilder.cpp.o /bin/c++ -DCMAKE_CXX_COMPILER=\"/bin/c++\" -DHAVE_LIBXSLT -DHAVE_QTXMLPATTERNS -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -Isources/shiboken2/ApiExtractor/apiextractor_autogen/include -I/usr/lib/llvm-10/include -I../sources/shiboken2/ApiExtractor -Isources/shiboken2/ApiExtractor -I../sources/shiboken2/ApiExtractor/parser -I/usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtXmlPatterns -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -Wall -fvisibility=hidden -Wno-strict-aliasing -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_TO_ASCII -O3 -DNDEBUG -fPIC -fPIC -std=gnu++11 -MD -MT sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetabuilder.cpp.o -MF sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetabuilder.cpp.o.d -o sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetabuilder.cpp.o -c ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp In file included from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:31: ../sources/shiboken2/ApiExtractor/propertyspec.h:46:38: error: ISO C++ forbids declaration of ‘Q_DISABLE_COPY_MOVE’ with no type [-fpermissive] 46 | Q_DISABLE_COPY_MOVE(QPropertySpec) | ^ ../sources/shiboken2/ApiExtractor/propertyspec.h:46:38: error: expected ‘;’ at end of member declaration 46 | Q_DISABLE_COPY_MOVE(QPropertySpec) | ^ | ; ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp: In function ‘void writeRejectLogFile(const QString&, const QMap<QString, AbstractMetaBuilder::RejectReason>&)’: ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:2950:51: error: ‘endl’ is not a member of ‘Qt’ 2950 | s << QString(72, QLatin1Char('*')) << Qt::endl; | ^~~~ ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:2950:51: note: suggested alternatives: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qloggingcategory.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QLoggingCategory:1, from ../sources/shiboken2/ApiExtractor/reporthandler.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:32: /usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:260:28: note: ‘endl’ 260 | Q_CORE_EXPORT QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/c++/9/iterator:64, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:53, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:45, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSharedPointer:1, from ../sources/shiboken2/ApiExtractor/abstractmetalang_typedefs.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder_p.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:29: /usr/include/c++/9/ostream:599:5: note: ‘std::endl’ 599 | endl(basic_ostream<_CharT, _Traits>& __os) | ^~~~ ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:2983:18: error: ‘endl’ is not a member of ‘Qt’ 2983 | s << Qt::endl; | ^~~~ ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:2983:18: note: suggested alternatives: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qloggingcategory.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QLoggingCategory:1, from ../sources/shiboken2/ApiExtractor/reporthandler.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:32: /usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:260:28: note: ‘endl’ 260 | Q_CORE_EXPORT QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/c++/9/iterator:64, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:53, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:45, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSharedPointer:1, from ../sources/shiboken2/ApiExtractor/abstractmetalang_typedefs.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder_p.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:29: /usr/include/c++/9/ostream:599:5: note: ‘std::endl’ 599 | endl(basic_ostream<_CharT, _Traits>& __os) | ^~~~ ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:2989:43: error: ‘endl’ is not a member of ‘Qt’ 2989 | s << " - " << it.key() << Qt::endl; | ^~~~ ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:2989:43: note: suggested alternatives: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qloggingcategory.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QLoggingCategory:1, from ../sources/shiboken2/ApiExtractor/reporthandler.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:32: /usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:260:28: note: ‘endl’ 260 | Q_CORE_EXPORT QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/c++/9/iterator:64, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:53, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:45, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSharedPointer:1, from ../sources/shiboken2/ApiExtractor/abstractmetalang_typedefs.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder_p.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:29: /usr/include/c++/9/ostream:599:5: note: ‘std::endl’ 599 | endl(basic_ostream<_CharT, _Traits>& __os) | ^~~~ ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:2992:51: error: ‘endl’ is not a member of ‘Qt’ 2992 | s << QString(72, QLatin1Char('*')) << Qt::endl << Qt::endl; | ^~~~ ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:2992:51: note: suggested alternatives: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qloggingcategory.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QLoggingCategory:1, from ../sources/shiboken2/ApiExtractor/reporthandler.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:32: /usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:260:28: note: ‘endl’ 260 | Q_CORE_EXPORT QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/c++/9/iterator:64, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:53, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:45, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSharedPointer:1, from ../sources/shiboken2/ApiExtractor/abstractmetalang_typedefs.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder_p.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:29: /usr/include/c++/9/ostream:599:5: note: ‘std::endl’ 599 | endl(basic_ostream<_CharT, _Traits>& __os) | ^~~~ ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:2992:63: error: ‘endl’ is not a member of ‘Qt’ 2992 | s << QString(72, QLatin1Char('*')) << Qt::endl << Qt::endl; | ^~~~ ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:2992:63: note: suggested alternatives: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qloggingcategory.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QLoggingCategory:1, from ../sources/shiboken2/ApiExtractor/reporthandler.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:32: /usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:260:28: note: ‘endl’ 260 | Q_CORE_EXPORT QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/c++/9/iterator:64, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:53, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:45, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSharedPointer:1, from ../sources/shiboken2/ApiExtractor/abstractmetalang_typedefs.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder_p.h:32, from ../sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp:29: /usr/include/c++/9/ostream:599:5: note: ‘std::endl’ 599 | endl(basic_ostream<_CharT, _Traits>& __os) | ^~~~ [10/1342] Building CXX object sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetalang.cpp.o FAILED: sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetalang.cpp.o /bin/c++ -DCMAKE_CXX_COMPILER=\"/bin/c++\" -DHAVE_LIBXSLT -DHAVE_QTXMLPATTERNS -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -Isources/shiboken2/ApiExtractor/apiextractor_autogen/include -I/usr/lib/llvm-10/include -I../sources/shiboken2/ApiExtractor -Isources/shiboken2/ApiExtractor -I../sources/shiboken2/ApiExtractor/parser -I/usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtXmlPatterns -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -Wall -fvisibility=hidden -Wno-strict-aliasing -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_TO_ASCII -O3 -DNDEBUG -fPIC -fPIC -std=gnu++11 -MD -MT sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetalang.cpp.o -MF sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetalang.cpp.o.d -o sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetalang.cpp.o -c ../sources/shiboken2/ApiExtractor/abstractmetalang.cpp In file included from ../sources/shiboken2/ApiExtractor/abstractmetalang.cpp:31: ../sources/shiboken2/ApiExtractor/propertyspec.h:46:38: error: ISO C++ forbids declaration of ‘Q_DISABLE_COPY_MOVE’ with no type [-fpermissive] 46 | Q_DISABLE_COPY_MOVE(QPropertySpec) | ^ ../sources/shiboken2/ApiExtractor/propertyspec.h:46:38: error: expected ‘;’ at end of member declaration 46 | Q_DISABLE_COPY_MOVE(QPropertySpec) | ^ | ; [12/1342] Building CXX object sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/typesystem.cpp.o FAILED: sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/typesystem.cpp.o /bin/c++ -DCMAKE_CXX_COMPILER=\"/bin/c++\" -DHAVE_LIBXSLT -DHAVE_QTXMLPATTERNS -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -Isources/shiboken2/ApiExtractor/apiextractor_autogen/include -I/usr/lib/llvm-10/include -I../sources/shiboken2/ApiExtractor -Isources/shiboken2/ApiExtractor -I../sources/shiboken2/ApiExtractor/parser -I/usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtXmlPatterns -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -Wall -fvisibility=hidden -Wno-strict-aliasing -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_TO_ASCII -O3 -DNDEBUG -fPIC -fPIC -std=gnu++11 -MD -MT sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/typesystem.cpp.o -MF sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/typesystem.cpp.o.d -o sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/typesystem.cpp.o -c ../sources/shiboken2/ApiExtractor/typesystem.cpp ../sources/shiboken2/ApiExtractor/typesystem.cpp: In member function ‘void Modification::formatDebug(QDebug&) const’: ../sources/shiboken2/ApiExtractor/typesystem.cpp:513:30: error: ‘hex’ is not a member of ‘Qt’ 513 | d << "modifiers=" << Qt::hex << Qt::showbase << modifiers << Qt::noshowbase << Qt::dec; | ^~~ ../sources/shiboken2/ApiExtractor/typesystem.cpp:513:30: note: suggested alternatives: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, from ../sources/shiboken2/ApiExtractor/typesystem.cpp:32: /usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:239:28: note: ‘hex’ 239 | Q_CORE_EXPORT QTextStream &hex(QTextStream &s); | ^~~ In file included from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iterator:64, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:53, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QHash:1, from ../sources/shiboken2/ApiExtractor/typesystem_typedefs.h:32, from ../sources/shiboken2/ApiExtractor/typesystem.h:33, from ../sources/shiboken2/ApiExtractor/typesystem.cpp:29: /usr/include/c++/9/bits/ios_base.h:1036:3: note: ‘std::hex’ 1036 | hex(ios_base& __base) | ^~~ ../sources/shiboken2/ApiExtractor/typesystem.cpp:513:41: error: ‘showbase’ is not a member of ‘Qt’ 513 | d << "modifiers=" << Qt::hex << Qt::showbase << modifiers << Qt::noshowbase << Qt::dec; | ^~~~~~~~ ../sources/shiboken2/ApiExtractor/typesystem.cpp:513:41: note: suggested alternatives: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, from ../sources/shiboken2/ApiExtractor/typesystem.cpp:32: /usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:241:28: note: ‘showbase’ 241 | Q_CORE_EXPORT QTextStream &showbase(QTextStream &s); | ^~~~~~~~ In file included from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iterator:64, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:53, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QHash:1, from ../sources/shiboken2/ApiExtractor/typesystem_typedefs.h:32, from ../sources/shiboken2/ApiExtractor/typesystem.h:33, from ../sources/shiboken2/ApiExtractor/typesystem.cpp:29: /usr/include/c++/9/bits/ios_base.h:906:3: note: ‘std::showbase’ 906 | showbase(ios_base& __base) | ^~~~~~~~ ../sources/shiboken2/ApiExtractor/typesystem.cpp:513:70: error: ‘noshowbase’ is not a member of ‘Qt’ 513 | d << "modifiers=" << Qt::hex << Qt::showbase << modifiers << Qt::noshowbase << Qt::dec; | ^~~~~~~~~~ ../sources/shiboken2/ApiExtractor/typesystem.cpp:513:70: note: suggested alternatives: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, from ../sources/shiboken2/ApiExtractor/typesystem.cpp:32: /usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:244:28: note: ‘noshowbase’ 244 | Q_CORE_EXPORT QTextStream &noshowbase(QTextStream &s); | ^~~~~~~~~~ In file included from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iterator:64, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:53, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QHash:1, from ../sources/shiboken2/ApiExtractor/typesystem_typedefs.h:32, from ../sources/shiboken2/ApiExtractor/typesystem.h:33, from ../sources/shiboken2/ApiExtractor/typesystem.cpp:29: /usr/include/c++/9/bits/ios_base.h:914:3: note: ‘std::noshowbase’ 914 | noshowbase(ios_base& __base) | ^~~~~~~~~~ ../sources/shiboken2/ApiExtractor/typesystem.cpp:513:88: error: ‘dec’ is not a member of ‘Qt’ 513 | d << "modifiers=" << Qt::hex << Qt::showbase << modifiers << Qt::noshowbase << Qt::dec; | ^~~ ../sources/shiboken2/ApiExtractor/typesystem.cpp:513:88: note: suggested alternatives: In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1, from ../sources/shiboken2/ApiExtractor/typesystem.cpp:32: /usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:238:28: note: ‘dec’ 238 | Q_CORE_EXPORT QTextStream &dec(QTextStream &s); | ^~~ In file included from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iterator:64, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:53, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:49, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QHash:1, from ../sources/shiboken2/ApiExtractor/typesystem_typedefs.h:32, from ../sources/shiboken2/ApiExtractor/typesystem.h:33, from ../sources/shiboken2/ApiExtractor/typesystem.cpp:29: /usr/include/c++/9/bits/ios_base.h:1028:3: note: ‘std::dec’ 1028 | dec(ios_base& __base) | ^~~ [14/1342] Building CXX object sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/typesystemparser.cpp.o ninja: build stopped: subcommand failed.
kindly check and help us in cross compiling for AARCH64
-
This looks like your Qt version is way too old. PySide2 also does not support the platform; please use the current version (PySide 6), see https://doc.qt.io/qtforpython-6/gettingstarted/index.html for cross build instructions.