Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-80019

Qt 5.14.beta3 Android cant' compile

    XMLWordPrintable

Details

    • Android

    Description

      I recompile from source Qt 5.14.0-beta3 for 3 arch (I expected the assembly to complete 12 hours):

      /configure -opensource
      -release -nomake tests -nomake examples -no-compile-examples -android-sdk /android-sdk-linux -android-ndk /android-ndk-r20 \
      -xplatform android-clang -no-warnings-are-errors --disable-rpath \
      -openssl -I /android_openssl/openssl-1.1.1d/include -L /android_openssl/arm \
      -android-abis armeabi-v7a,x86,arm64-v8a,x86_64 -developer-build \
      -prefix /usr/local 
      

      Start build and give error:

      make
      make -f Makefile.Armeabi-v7a all
      make[1]: Entering directory '/myapp/src'
      /android-ndk-r20/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -c -target armv7a-linux-androideabi21 -fno-limit-debug-info -fPIC -fstack-protector-strong -DANDROID -O2 -mthumb -Oz -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DAPP_VERSION=\"0.0.24\" -DQT_DEPRECATED_WARNINGS -DQUICKDOWNLOAD_AUTO_REGISTER -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_ANDROIDEXTRAS_LIB -DQT_CORE_LIB -I. -IQuickDownload -IQuickDownload/src -IQjsonwebtoken -ISortFilterProxyModel -isystem /usr/local/include/QtQuick -isystem /usr/local/include/QtMultimedia -isystem /usr/local/include/QtGui -isystem /usr/local/include/QtQmlModels -isystem /usr/local/include/QtQml -isystem /usr/local/include/QtNetwork -isystem /usr/local/include/QtAndroidExtras -isystem /usr/local/include/QtCore -Iarmeabi-v7a -I/usr/local/mkspecs/android-clang -o armeabi-v7a/quickdownload.o QuickDownload/src/quickdownload.cpp
      In file included from QuickDownload/src/quickdownload.cpp:1:
      In file included from ./QuickDownload/src/quickdownload.h:4:
      In file included from /usr/local/include/QtCore/QObject:1:
      /usr/local/include/QtCore/qobject.h:46:10: fatal error: 'QtCore/qobjectdefs.h' file not found
      #include <QtCore/qobjectdefs.h>
               ^~~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      make[1]: *** [Makefile.Armeabi-v7a:807: armeabi-v7a/quickdownload.o] Error 1
      make[1]: Leaving directory '/myapp/src'
      make: *** [Makefile:48: armeabi-v7a-all] Error 2
      
      

      File are missing:

      ls /usr/local/include/QtCore/
      5.14.0                        QFile                       QMetaMethod                      QSignalBlocker                QXmlStreamEntityResolver         qdir.h                        qreadwritelock.h
      QAbstractAnimation            QFileDevice                 QMetaObject                      QSignalMapper                 QXmlStreamNamespaceDeclaration   qdiriterator.h                qrect.h
      QAbstractEventDispatcher      QFileInfo                   QMetaProperty                    QSignalTransition             QXmlStreamNamespaceDeclarations  qeasingcurve.h                qrefcount.h
      QAbstractItemModel            QFileInfoList               QMetaType                        QSize                         QXmlStreamNotationDeclaration    qelapsedtimer.h               qregexp.h
      QAbstractListModel            QFileSelector               QMimeData                        QSizeF                        QXmlStreamNotationDeclarations   qendian.h                     qregularexpression.h
      QAbstractNativeEventFilter    QFileSystemWatcher          QMimeDatabase                    QSocketNotifier               QXmlStreamReader                 qeventloop.h                  qresource.h
      QAbstractProxyModel           QFinalState                 QMimeType                        QSortFilterProxyModel         QXmlStreamStringRef              qeventtransition.h            qresultstore.h
      QAbstractState                QFlag                       QModelIndex                      QSpecialInteger               QXmlStreamWriter                 qexception.h                  qrunnable.h
      QAbstractTableModel           QFlags                      QModelIndexList                  QStack                        Q_PID                            qfactoryinterface.h           qsavefile.h
      QAbstractTransition           QFloat16                    QMultiHash                       QStandardPaths                Q_SECURITY_ATTRIBUTES            qfile.h                       qscopedpointer.h
      QAnimationDriver              QFunctionPointer            QMultiMap                        QState                        Q_STARTUPINFO                    qfiledevice.h                 qscopedvaluerollback.h
      QAnimationGroup               QFuture                     QMutableByteArrayListIterator    QStateMachine                 Qt                               qfileinfo.h                   qscopeguard.h
      QArgument                     QFutureInterface            QMutableFutureIterator           QStaticArrayData              QtAlgorithms                     qfileselector.h               qsemaphore.h
      QArrayData                    QFutureInterfaceBase        QMutableHashIterator             QStaticByteArrayData          QtCborCommon                     qfilesystemwatcher.h          qsequentialanimationgroup.h
      QArrayDataPointer             QFutureIterator             QMutableLinkedListIterator       QStaticByteArrayMatcherBase   QtCleanUpFunction                qfinalstate.h                 qset.h
      QArrayDataPointerRef          QFutureSynchronizer         QMutableListIterator             QStaticPlugin                 QtConfig                         qflags.h                      qsettings.h
      QAssociativeIterable          QFutureWatcher              QMutableMapIterator              QStaticStringData             QtContainerFwd                   qfloat16.h                    qshareddata.h
      QAtomicInt                    QFutureWatcherBase          QMutableSetIterator              QStorageInfo                  QtCore                           qfunctions_nacl.h             qsharedmemory.h
      QAtomicInteger                QGenericArgument            QMutableStringListIterator       QString                       QtCoreDepends                    qfunctions_vxworks.h          qsharedpointer.h
      QAtomicPointer                QGenericReturnArgument      QMutableVectorIterator           QStringAlgorithms             QtCoreVersion                    qfunctions_winrt.h            qsharedpointer_impl.h
      QBEInteger                    QGlobalStatic               QMutex                           QStringBuilder                QtDebug                          qfuture.h                     qsignalmapper.h
      QBasicMutex                   QHash                       QMutexLocker                     QStringData                   QtEndian                         qfutureinterface.h            qsignaltransition.h
      QBasicTimer                   QHashData                   QNoDebug                         QStringDataPtr                QtGlobal                         qfuturesynchronizer.h         qsize.h
      QBigEndianStorageType         QHashDummyValue             QNonConstOverload                QStringList                   QtMath                           qfuturewatcher.h              qsocketnotifier.h
      QBitArray                     QHashFunctions              QObject                          QStringListIterator           QtMessageHandler                 qgenericatomic.h              qsortfilterproxymodel.h
      QBitRef                       QHashIterator               QObjectCleanupHandler            QStringListModel              QtMsgHandler                     qglobal.h                     qstack.h
      QBuffer                       QHashNode                   QObjectData                      QStringLiteral                QtNumeric                        qglobalstatic.h               qstandardpaths.h
      QByteArray                    QHistoryState               QObjectList                      QStringMatcher                QtPlugin                         qhash.h                       qstate.h
      QByteArrayData                QIODevice                   QObjectUserData                  QStringRef                    QtPluginInstanceFunction         qhashfunctions.h              qstatemachine.h
      QByteArrayDataPtr             QIdentityProxyModel         QOperatingSystemVersion          QStringView                   QtPluginMetaDataFunction         qhistorystate.h               qstorageinfo.h
      QByteArrayList                QIncompatibleFlag           QPair                            QSysInfo                      qabstractanimation.h             qidentityproxymodel.h         qstring.h
      QByteArrayListIterator        QIntegerForSize             QParallelAnimationGroup          QSystemSemaphore              qabstracteventdispatcher.h       qiodevice.h                   qstringalgorithms.h
      QByteArrayMatcher             QInternal                   QPauseAnimation                  QTemporaryDir                 qabstractitemmodel.h             qisenum.h                     qstringbuilder.h
      QByteRef                      QItemSelection              QPersistentModelIndex            QTemporaryFile                qabstractnativeeventfilter.h     qitemselectionmodel.h         qstringlist.h
      QCache                        QItemSelectionModel         QPluginLoader                    QTextBoundaryFinder           qabstractproxymodel.h            qiterator.h                   qstringlistmodel.h
      QCalendar                     QItemSelectionRange         QPluginMetaData                  QTextCodec                    qabstractstate.h                 qjsonarray.h                  qstringliteral.h
      QCborArray                    QJsonArray                  QPoint                           QTextDecoder                  qabstracttransition.h            qjsondocument.h               qstringmatcher.h
      QCborError                    QJsonDocument               QPointF                          QTextEncoder                  qalgorithms.h                    qjsonobject.h                 qstringview.h
      QCborMap                      QJsonObject                 QPointer                         QTextStream                   qanimationgroup.h                qjsonvalue.h                  qsysinfo.h
      QCborParserError              QJsonParseError             QProcess                         QTextStreamFunction           qarraydata.h                     qlibrary.h                    qsystemdetection.h
      QCborStreamReader             QJsonValue                  QProcessEnvironment              QTextStreamManipulator        qarraydataops.h                  qlibraryinfo.h                qsystemsemaphore.h
      QCborStreamWriter             QJsonValuePtr               QPropertyAnimation               QThread                       qarraydatapointer.h              qline.h                       qt_windows.h
      QCborValue                    QJsonValueRef               QQueue                           QThreadPool                   qatomic.h                        qlinkedlist.h                 qtcore-config.h
      QCborValueRef                 QJsonValueRefPtr            QRandomGenerator                 QThreadStorage                qatomic_bootstrap.h              qlist.h                       qtcoreversion.h
      QChar                         QKeyValueIterator           QRandomGenerator64               QThreadStorageData            qatomic_cxx11.h                  qlocale.h                     qtemporarydir.h
      QCharRef                      QLEInteger                  QReadLocker                      QTime                         qatomic_msvc.h                   qlockfile.h                   qtemporaryfile.h
      QChildEvent                   QLatin1Char                 QReadWriteLock                   QTimeLine                     qbasicatomic.h                   qlogging.h                    qtestsupport_core.h
      QCollator                     QLatin1Literal              QRect                            QTimeZone                     qbasictimer.h                    qloggingcategory.h            qtextboundaryfinder.h
      QCollatorSortKey              QLatin1String               QRectF                           QTimer                        qbitarray.h                      qmap.h                        qtextcodec.h
      QCommandLineOption            QLibrary                    QRecursiveMutex                  QTimerEvent                   qbuffer.h                        qmargins.h                    qtextstream.h
      QCommandLineParser            QLibraryInfo                QRegExp                          QTranslator                   qbytearray.h                     qmath.h                       qthread.h
      QConcatenateTablesProxyModel  QLine                       QRegularExpression               QTransposeProxyModel          qbytearraylist.h                 qmessageauthenticationcode.h  qthreadpool.h
      QConstOverload                QLineF                      QRegularExpressionMatch          QTypeInfo                     qbytearraymatcher.h              qmetaobject.h                 qthreadstorage.h
      QContiguousCache              QLinkedList                 QRegularExpressionMatchIterator  QTypeInfoMerger               qcache.h                         qmetatype.h                   qtimeline.h
      QContiguousCacheData          QLinkedListData             QResource                        QTypeInfoQuery                qcalendar.h                      qmimedata.h                   qtimer.h
      QContiguousCacheTypedData     QLinkedListIterator         QReturnArgument                  QUnhandledException           qcborarray.h                     qmimedatabase.h               qtimezone.h
      QCoreApplication              QLinkedListNode             QRunnable                        QUrl                          qcborcommon.h                    qmimetype.h                   qtranslator.h
      QCryptographicHash            QList                       QSaveFile                        QUrlQuery                     qcbormap.h                       qmutex.h                      qtransposeproxymodel.h
      QDataStream                   QListData                   QScopeGuard                      QUrlTwoFlags                  qcborstream.h                    qnamespace.h                  qtypeinfo.h
      QDate                         QListIterator               QScopedArrayPointer              QUuid                         qcborvalue.h                     qnumeric.h                    qtypetraits.h
      QDateTime                     QListSpecialMethods         QScopedPointer                   QVarLengthArray               qchar.h                          qobject.h                     qurl.h
      QDeadlineTimer                QLittleEndianStorageType    QScopedPointerArrayDeleter       QVariant                      qcollator.h                      qobject_impl.h                qurlquery.h
      QDebug                        QLocale                     QScopedPointerDeleteLater        QVariantAnimation             qcommandlineoption.h             qobjectcleanuphandler.h       quuid.h
      QDebugStateSaver              QLockFile                   QScopedPointerDeleter            QVariantComparisonHelper      qcommandlineparser.h             qobjectdefs.h                 qvariant.h
      QDeferredDeleteEvent          QLoggingCategory            QScopedPointerObjectDeleteLater  QVariantHash                  qcompilerdetection.h             qobjectdefs_impl.h            qvariantanimation.h
      QDir                          QMap                        QScopedPointerPodDeleter         QVariantList                  qconcatenatetablesproxymodel.h   qoperatingsystemversion.h     qvarlengtharray.h
      QDirIterator                  QMapData                    QScopedValueRollback             QVariantMap                   qconfig-bootstrapped.h           qpair.h                       qvector.h
      QDynamicPropertyChangeEvent   QMapDataBase                QSemaphore                       QVector                       qconfig.h                        qparallelanimationgroup.h     qversionnumber.h
      QEasingCurve                  QMapIterator                QSemaphoreReleaser               QVectorIterator               qcontainerfwd.h                  qpauseanimation.h             qversiontagging.h
      QElapsedTimer                 QMapNode                    QSequentialAnimationGroup        QVersionNumber                qcontainertools_impl.h           qplugin.h                     qwaitcondition.h
      QEnableSharedFromThis         QMapNodeBase                QSequentialIterable              QWaitCondition                qcontiguouscache.h               qpluginloader.h               qwineventnotifier.h
      QEvent                        QMargins                    QSet                             QWeakPointer                  qcoreapplication.h               qpoint.h                      qxmlstream.h
      QEventLoop                    QMarginsF                   QSetIterator                     QWinEventNotifier             qcoreevent.h                     qpointer.h
      QEventLoopLocker              QMessageAuthenticationCode  QSettings                        QWriteLocker                  qcryptographichash.h             qprocess.h
      QEventTransition              QMessageLogContext          QSharedData                      QXmlStreamAttribute           qdatastream.h                    qprocessordetection.h
      QException                    QMessageLogger              QSharedDataPointer               QXmlStreamAttributes          qdatetime.h                      qpropertyanimation.h
      QExplicitlySharedDataPointer  QMetaClassInfo              QSharedMemory                    QXmlStreamEntityDeclaration   qdeadlinetimer.h                 qqueue.h
      QFactoryInterface             QMetaEnum                   QSharedPointer                   QXmlStreamEntityDeclarations  qdebug.h                         qrandom.h
      
      

      Qt 5.14.0-beta2 are working without errors

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            homdx Homdx Homdx
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes