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

Android from Sources 5.15 error: SkipEmptyParts is not a member of 'QString'

    XMLWordPrintable

Details

    • Android
    • 744246b1129f6042c0264eb578a6e5c86e09f80a

    Description

      Error build from sources branch 5.15 (today checkout) from git for android:

      make[2]: Leaving directory '/qt/qt5/qtdeclarative/src'
      cd tools/ && ( test -e Makefile || /qt/qt5/qtbase/bin/qmake -o Makefile /qt/qt5/qtdeclarative/tools/tools.pro ) && make -f Makefile
      make[2]: Entering directory '/qt/qt5/qtdeclarative/tools'
      cd qmllint/ && ( test -e Makefile || /qt/qt5/qtbase/bin/qmake -o Makefile /qt/qt5/qtdeclarative/tools/qmllint/qmllint.pro ) && make -f Makefile
      make[3]: Entering directory '/qt/qt5/qtdeclarative/tools/qmllint'
      g++ -c -pipe -O2 -std=c++11 -fno-exceptions -Wall -Wextra -ffunction-sections -fdata-sections -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_USE_QSTRINGBUILDER -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_QMLDEVTOOLS_LIB -DQT_BOOTSTRAP_LIB -DQT_VERSION_STR='"5.15.0"' -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=0 -DQT_BOOTSTRAPPED -DQT_NO_CAST_TO_ASCII -I. -I../../include -I../../include/QtQml -I../../include/QtQml/5.15.0 -I../../include/QtQml/5.15.0/QtQml -I/qt/qt5/qtbase/include -I/qt/qt5/qtbase/include/QtCore -I/qt/qt5/qtbase/include/QtCore/5.15.0 -I/qt/qt5/qtbase/include/QtCore/5.15.0/QtCore -I/qt/qt5/qtbase/include/QtXml -I/qt/qt5/qtbase/include/QtXml/5.15.0 -I/qt/qt5/qtbase/include/QtXml/5.15.0/QtXml -I/qt/qt5/qtbase/mkspecs/linux-g++ -o .obj/findunqualified.o findunqualified.cpp
      findunqualified.cpp: In function 'QStringList completeImportPaths(const QString&, const QString&, int, int)':
      findunqualified.cpp:127:79: error: 'SkipEmptyParts' is not a member of 'QString'
       127 | const QVector<QStringRef> parts = uri.splitRef(QLatin1Char('.'), QString::SkipEmptyParts);
       | ^~~~~~~~~~~~~~
      make[3]: *** [Makefile:1152: .obj/findunqualified.o] Error 1
      make[3]: Leaving directory '/qt/qt5/qtdeclarative/tools/qmllint'
      make[2]: *** [Makefile:51: sub-qmllint-make_first] Error 2
      make[2]: Leaving directory '/qt/qt5/qtdeclarative/tools'
      make[1]: *** [Makefile:75: sub-tools-make_first] Error 2
      make[1]: Leaving directory '/qt/qt5/qtdeclarative'
      make: *** [Makefile:345: module-qtdeclarative-make_first] Error 2
      

      Env: Fedora 31. Configure options:

      export NDK_VERSION=r21

      LANG=C ./configure -opensource -confirm-license \
      -release -nomake tests -nomake examples -no-compile-examples -android-sdk /android-sdk-linux -android-ndk /android-ndk-r21 \
      -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 \
      -recheck-all -skip qtquick3d

      Attachments

        Activity

          People

            ulherman Ulf Hermann
            homdx Homdx Homdx
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: