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

Error when building for Android: qqmlgrpchttp2channel.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.7.3, 6.8.0 Beta3, 6.9.0 FF
    • 6.8.0 Beta2
    • GRPC
    • None
    • 1ecde1235 (dev), c99d719b3 (6.8), 7bcb2fdbd (6.7)

    Description

      Android build fails this way:

      Configuration command

      cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON -GNinja -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu --log-level=STATUS -DCMAKE_C_FLAGS=-ffile-prefix-map=/builds/bastif/qt-android/debian/output/source_dir=. -DCMAKE_CXX_FLAGS=-ffile-prefix-map=/builds/bastif/qt-android/debian/output/source_dir=. -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_BINDIR=lib/aarch64-linux-gnu/qt-android-6.8-arm64-v8a/bin -DINSTALL_LIBDIR=lib/aarch64-linux-gnu/qt-android-6.8-arm64-v8a -DINSTALL_LIBEXECDIR=lib/aarch64-linux-gnu/qt-android-6.8-arm64-v8a/libexec -DINSTALL_ARCHDATADIR=lib/aarch64-linux-gnu/qt-android-6.8-arm64-v8a -DINSTALL_EXAMPLESDIR=lib/aarch64-linux-gnu/qt-android-6.8-arm64-v8a/examples -DINSTALL_DATADIR=share/qt-android-6.8-arm64-v8a -DINSTALL_DESCRIPTIONSDIR=share/qt-android-6.8-arm64-v8a/modules -DINSTALL_DOCDIR=share/qt-android-6.8-arm64-v8a/doc -DINSTALL_SYSCONFDIR=lib/qt-android-6.8-arm64-v8a/etc/xdg -DINSTALL_INCLUDEDIR=include/aarch64-linux-gnu/qt-android-6.8-arm64-v8a -DINSTALL_PLUGINSDIR=lib/aarch64-linux-gnu/qt-android-6.8-arm64-v8a/plugins -DINSTALL_TESTSDIR=lib/aarch64-linux-gnu/qt-android-6.8-arm64-v8a/tests -DINSTALL_TRANSLATIONSDIR=share/qt-android-6.8-arm64-v8a/translations -DINSTALL_MKSPECSDIR=lib/aarch64-linux-gnu/qt-android-6.8-arm64-v8a/mkspecs -DINSTALL_PUBLICBINDIR=lib/aarch64-linux-gnu/qt-android-6.8-arm64-v8a/bin -DBUILD_WITH_PCH=OFF -DANDROID_SDK_ROOT=/builds/bastif/qt-android/android-sdk -DCMAKE_TOOLCHAIN_FILE=/builds/bastif/qt-android/r26b/android-ndk-r26b/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DQT_USE_CCACHE=ON -DQT_HOST_PATH=/usr -DQT_HOST_PATH_CMAKE_DIR=/usr/lib/x86_64-linux-gnu/qt-android-6.8-host/cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_qtwayland=OFF -DFEATURE_qtwebengine_build=OFF -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON ../..
      

      Error:

      [9916/11747] /usr/bin/ccache /builds/bastif/qt-android/r26b/android-ndk-r26b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=aarch64-none-linux-android28 --sysroot=/builds/bastif/qt-android/r26b/android-ndk-r26b/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DGrpcQuick_EXPORTS -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_GRPCQUICK_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GRPC_LIB -DQT_GUI_LIB -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_CONTEXTLESS_CONNECT=1 -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_OPENGL_LIB -DQT_PROTOBUF_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_USE_QSTRINGBUILDER -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtgrpc/src/grpcquick/GrpcQuick_autogen/include -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtGrpcQuick -I/builds/bastif/qt-android/debian/output/source_dir/qtgrpc/src/grpcquick -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtgrpc/src/grpcquick -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtGrpcQuick/6.8.0 -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtGrpcQuick/6.8.0/QtGrpcQuick -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtdeclarative/src/qml -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtQml/6.8.0 -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtQml/6.8.0/QtQml -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/src/corelib -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtCore/6.8.0 -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtCore/6.8.0/QtCore -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtCore -I/builds/bastif/qt-android/debian/output/source_dir/qtbase/mkspecs/android-clang -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtQml -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtQmlIntegration -I/builds/bastif/qt-android/debian/output/source_dir/qtdeclarative/src/qmlintegration -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtdeclarative/src/qmlintegration -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtNetwork -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtQuick -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtGui -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtQmlMeta -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtQmlModels -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtOpenGL -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtGrpc -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtProtobuf -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -ffile-prefix-map=/builds/bastif/qt-android/debian/output/source_dir=. -DNDEBUG -Oz -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -pthread -ftrivial-auto-var-init=pattern -fstack-protector-strong -std=c++17 -MD -MT qtgrpc/src/grpcquick/CMakeFiles/GrpcQuick.dir/qqmlgrpchttp2channel.cpp.o -MF qtgrpc/src/grpcquick/CMakeFiles/GrpcQuick.dir/qqmlgrpchttp2channel.cpp.o.d -o qtgrpc/src/grpcquick/CMakeFiles/GrpcQuick.dir/qqmlgrpchttp2channel.cpp.o -c /builds/bastif/qt-android/debian/output/source_dir/qtgrpc/src/grpcquick/qqmlgrpchttp2channel.cpp
      FAILED: qtgrpc/src/grpcquick/CMakeFiles/GrpcQuick.dir/qqmlgrpchttp2channel.cpp.o 
      /usr/bin/ccache /builds/bastif/qt-android/r26b/android-ndk-r26b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=aarch64-none-linux-android28 --sysroot=/builds/bastif/qt-android/r26b/android-ndk-r26b/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DGrpcQuick_EXPORTS -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_GRPCQUICK_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GRPC_LIB -DQT_GUI_LIB -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_CONTEXTLESS_CONNECT=1 -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_OPENGL_LIB -DQT_PROTOBUF_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_USE_QSTRINGBUILDER -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtgrpc/src/grpcquick/GrpcQuick_autogen/include -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtGrpcQuick -I/builds/bastif/qt-android/debian/output/source_dir/qtgrpc/src/grpcquick -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtgrpc/src/grpcquick -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtGrpcQuick/6.8.0 -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtGrpcQuick/6.8.0/QtGrpcQuick -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtdeclarative/src/qml -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtQml/6.8.0 -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtQml/6.8.0/QtQml -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/src/corelib -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtCore/6.8.0 -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtCore/6.8.0/QtCore -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtCore -I/builds/bastif/qt-android/debian/output/source_dir/qtbase/mkspecs/android-clang -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtQml -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtQmlIntegration -I/builds/bastif/qt-android/debian/output/source_dir/qtdeclarative/src/qmlintegration -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtdeclarative/src/qmlintegration -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtNetwork -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtQuick -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtGui -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtQmlMeta -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtQmlModels -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtOpenGL -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtGrpc -I/builds/bastif/qt-android/debian/output/source_dir/debian/build-arm64-v8a/qtbase/include/QtProtobuf -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -ffile-prefix-map=/builds/bastif/qt-android/debian/output/source_dir=. -DNDEBUG -Oz -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -pthread -ftrivial-auto-var-init=pattern -fstack-protector-strong -std=c++17 -MD -MT qtgrpc/src/grpcquick/CMakeFiles/GrpcQuick.dir/qqmlgrpchttp2channel.cpp.o -MF qtgrpc/src/grpcquick/CMakeFiles/GrpcQuick.dir/qqmlgrpchttp2channel.cpp.o.d -o qtgrpc/src/grpcquick/CMakeFiles/GrpcQuick.dir/qqmlgrpchttp2channel.cpp.o -c /builds/bastif/qt-android/debian/output/source_dir/qtgrpc/src/grpcquick/qqmlgrpchttp2channel.cpp
      ../../qtgrpc/src/grpcquick/qqmlgrpchttp2channel.cpp:39:9: error: calling 'warning' with incomplete return type 'QDebug'
              qWarning() << "Unable to initialize the channel. The host URI is not valid.";
              ^~~~~~~~~~
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/global/qlogging.h:167:93: note: expanded from macro 'qWarning'
      #define qWarning QMessageLogger(QT_MESSAGELOG_FILE, QT_MESSAGELOG_LINE, QT_MESSAGELOG_FUNC).warning
                                                                                                  ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/global/qlogging.h:120:12: note: 'warning' declared here
          QDebug warning() const;
                 ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/global/qtypeinfo.h:15:7: note: forward declaration of 'QDebug'
      class QDebug;
            ^
      ../../qtgrpc/src/grpcquick/qqmlgrpchttp2channel.cpp:39:20: error: invalid operands to binary expression ('QDebug' and 'const char[61]')
              qWarning() << "Unable to initialize the channel. The host URI is not valid.";
              ~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:531:1: note: candidate function template not viable: cannot convert argument of incomplete type 'QDebug' to 'QDataStream &' for 1st argument
      operator<<(QDataStream &s, const T &t)
      ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/text/qbytearray.h:722:28: note: candidate function not viable: cannot convert argument of incomplete type 'QDebug' to 'QDataStream &' for 1st argument
      Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QByteArray &);
                                 ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/text/qstring.h:1487:28: note: candidate function not viable: cannot convert argument of incomplete type 'QDebug' to 'QDataStream &' for 1st argument
      Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
                                 ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/kernel/qobject.h:479:22: note: candidate function not viable: no known conversion from 'const char[61]' to 'const QObject *' for 2nd argument
      Q_CORE_EXPORT QDebug operator<<(QDebug, const QObject *);
                           ^
      /builds/bastif/qt-android/debian/output/source_dir/qtgrpc/src/grpc/qgrpcdefs.h:27:22: note: candidate function not viable: no known conversion from 'const char[61]' to 'const QGrpcMetadata' (aka 'const unordered_multimap<QByteArray, QByteArray>') for 2nd argument
      Q_GRPC_EXPORT QDebug operator<<(QDebug debug, const QGrpcMetadata &metadata);
                           ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/io/qurl.h:328:22: note: candidate function not viable: no known conversion from 'const char[61]' to 'const QUrl' for 2nd argument
      Q_CORE_EXPORT QDebug operator<<(QDebug, const QUrl &);
                           ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/text/qchar.h:626:28: note: candidate function not viable: cannot convert argument of incomplete type 'QDebug' to 'QDataStream &' for 1st argument
      Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
                                 ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:682:21: note: candidate function not viable: cannot convert argument of incomplete type 'QDebug' to 'QDataStream &' for 1st argument
      inline QDataStream &operator<<(QDataStream &s, QKeyCombination combination)
                          ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/io/qurl.h:323:28: note: candidate function not viable: cannot convert argument of incomplete type 'QDebug' to 'QDataStream &' for 1st argument
      Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QUrl &);
                                 ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:517:21: note: candidate template ignored: could not match 'QFlags<Enum>' against 'const char *'
      inline QDataStream &operator<<(QDataStream &s, QFlags<Enum> e)
                          ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:548:63: note: candidate template ignored: could not match 'const QList<T>' against 'const char[61]'
      inline QDataStreamIfHasOStreamOperatorsContainer<QList<T>, T> operator<<(QDataStream &s, const QList<T> &v)
                                                                    ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:560:62: note: candidate template ignored: could not match 'const QSet<T>' against 'const char[61]'
      inline QDataStreamIfHasOStreamOperatorsContainer<QSet<T>, T> operator<<(QDataStream &s, const QSet<T> &set)
                                                                   ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:573:73: note: candidate template ignored: could not match 'const QHash<Key, T>' against 'const char[61]'
      inline QDataStreamIfHasOStreamOperatorsContainer<QHash<Key, T>, Key, T> operator<<(QDataStream &s, const QHash<Key, T> &hash)
                                                                              ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:585:78: note: candidate template ignored: could not match 'const QMultiHash<Key, T>' against 'const char[61]'
      inline QDataStreamIfHasOStreamOperatorsContainer<QMultiHash<Key, T>, Key, T> operator<<(QDataStream &s, const QMultiHash<Key, T> &hash)
                                                                                   ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:597:72: note: candidate template ignored: could not match 'const QMap<Key, T>' against 'const char[61]'
      inline QDataStreamIfHasOStreamOperatorsContainer<QMap<Key, T>, Key, T> operator<<(QDataStream &s, const QMap<Key, T> &map)
                                                                             ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:609:77: note: candidate template ignored: could not match 'const QMultiMap<Key, T>' against 'const char[61]'
      inline QDataStreamIfHasOStreamOperatorsContainer<QMultiMap<Key, T>, Key, T> operator<<(QDataStream &s, const QMultiMap<Key, T> &map)
                                                                                  ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:622:49: note: candidate template ignored: could not match 'const std::pair<T1, T2>' against 'const char[61]'
      inline QDataStreamIfHasOStreamOperators<T1, T2> operator<<(QDataStream& s, const std::pair<T1, T2> &p)
                                                      ^
      ../../qtgrpc/src/grpcquick/qqmlgrpchttp2channel.cpp:59:9: error: calling 'warning' with incomplete return type 'QDebug'
              qWarning() << "Changing the host URI is not supported.";
              ^~~~~~~~~~
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/global/qlogging.h:167:93: note: expanded from macro 'qWarning'
      #define qWarning QMessageLogger(QT_MESSAGELOG_FILE, QT_MESSAGELOG_LINE, QT_MESSAGELOG_FUNC).warning
                                                                                                  ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/global/qlogging.h:120:12: note: 'warning' declared here
          QDebug warning() const;
                 ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/global/qtypeinfo.h:15:7: note: forward declaration of 'QDebug'
      class QDebug;
            ^
      ../../qtgrpc/src/grpcquick/qqmlgrpchttp2channel.cpp:59:20: error: invalid operands to binary expression ('QDebug' and 'const char[40]')
              qWarning() << "Changing the host URI is not supported.";
              ~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:531:1: note: candidate function template not viable: cannot convert argument of incomplete type 'QDebug' to 'QDataStream &' for 1st argument
      operator<<(QDataStream &s, const T &t)
      ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/text/qbytearray.h:722:28: note: candidate function not viable: cannot convert argument of incomplete type 'QDebug' to 'QDataStream &' for 1st argument
      Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QByteArray &);
                                 ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/text/qstring.h:1487:28: note: candidate function not viable: cannot convert argument of incomplete type 'QDebug' to 'QDataStream &' for 1st argument
      Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
                                 ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/kernel/qobject.h:479:22: note: candidate function not viable: no known conversion from 'const char[40]' to 'const QObject *' for 2nd argument
      Q_CORE_EXPORT QDebug operator<<(QDebug, const QObject *);
                           ^
      /builds/bastif/qt-android/debian/output/source_dir/qtgrpc/src/grpc/qgrpcdefs.h:27:22: note: candidate function not viable: no known conversion from 'const char[40]' to 'const QGrpcMetadata' (aka 'const unordered_multimap<QByteArray, QByteArray>') for 2nd argument
      Q_GRPC_EXPORT QDebug operator<<(QDebug debug, const QGrpcMetadata &metadata);
                           ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/io/qurl.h:328:22: note: candidate function not viable: no known conversion from 'const char[40]' to 'const QUrl' for 2nd argument
      Q_CORE_EXPORT QDebug operator<<(QDebug, const QUrl &);
                           ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/text/qchar.h:626:28: note: candidate function not viable: cannot convert argument of incomplete type 'QDebug' to 'QDataStream &' for 1st argument
      Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
                                 ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:682:21: note: candidate function not viable: cannot convert argument of incomplete type 'QDebug' to 'QDataStream &' for 1st argument
      inline QDataStream &operator<<(QDataStream &s, QKeyCombination combination)
                          ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/io/qurl.h:323:28: note: candidate function not viable: cannot convert argument of incomplete type 'QDebug' to 'QDataStream &' for 1st argument
      Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QUrl &);
                                 ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:517:21: note: candidate template ignored: could not match 'QFlags<Enum>' against 'const char *'
      inline QDataStream &operator<<(QDataStream &s, QFlags<Enum> e)
                          ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:548:63: note: candidate template ignored: could not match 'const QList<T>' against 'const char[40]'
      inline QDataStreamIfHasOStreamOperatorsContainer<QList<T>, T> operator<<(QDataStream &s, const QList<T> &v)
                                                                    ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:560:62: note: candidate template ignored: could not match 'const QSet<T>' against 'const char[40]'
      inline QDataStreamIfHasOStreamOperatorsContainer<QSet<T>, T> operator<<(QDataStream &s, const QSet<T> &set)
                                                                   ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:573:73: note: candidate template ignored: could not match 'const QHash<Key, T>' against 'const char[40]'
      inline QDataStreamIfHasOStreamOperatorsContainer<QHash<Key, T>, Key, T> operator<<(QDataStream &s, const QHash<Key, T> &hash)
                                                                              ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:585:78: note: candidate template ignored: could not match 'const QMultiHash<Key, T>' against 'const char[40]'
      inline QDataStreamIfHasOStreamOperatorsContainer<QMultiHash<Key, T>, Key, T> operator<<(QDataStream &s, const QMultiHash<Key, T> &hash)
                                                                                   ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:597:72: note: candidate template ignored: could not match 'const QMap<Key, T>' against 'const char[40]'
      inline QDataStreamIfHasOStreamOperatorsContainer<QMap<Key, T>, Key, T> operator<<(QDataStream &s, const QMap<Key, T> &map)
                                                                             ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:609:77: note: candidate template ignored: could not match 'const QMultiMap<Key, T>' against 'const char[40]'
      inline QDataStreamIfHasOStreamOperatorsContainer<QMultiMap<Key, T>, Key, T> operator<<(QDataStream &s, const QMultiMap<Key, T> &map)
                                                                                  ^
      /builds/bastif/qt-android/debian/output/source_dir/qtbase/src/corelib/serialization/qdatastream.h:622:49: note: candidate template ignored: could not match 'const std::pair<T1, T2>' against 'const char[40]'
      inline QDataStreamIfHasOStreamOperators<T1, T2> operator<<(QDataStream& s, const std::pair<T1, T2> &p)
                                                      ^
      4 errors generated.
      
      

      Attachments

        For Gerrit Dashboard: QTBUG-127341
        # Subject Branch Project Status CR V

        Activity

          People

            semlanik Alexey Edelev
            ban F S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes