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

examples/grpc/magic8ball/clientservice.cpp:26:14: error: invalid use of incomplete type ‘class QDebug’

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • 6.5.4, 6.6.2
    • 6.6.2
    • GRPC
    • None
    • 07f3ae72a (6.6), 384f6ea6c (tqtc/lts-6.5)

    Description

       /home/qt/work/qt/qtgrpc/examples/grpc/magic8ball/clientservice.cpp: In member function ‘void ClientService::errorOccurred()’:
      /home/qt/work/qt/qtgrpc/examples/grpc/magic8ball/clientservice.cpp:26:14: error: invalid use of incomplete type ‘class QDebug’
         26 |     qWarning() << "Connection error occurred. Have you started server part:"
            |              ^
      In file included from /home/qt/work/install/target/include/QtCore/qglobal.h:47,
                       from /home/qt/work/install/target/include/QtCore/qnamespace.h:12,
                       from /home/qt/work/install/target/include/QtCore/qobjectdefs.h:12,
                       from /home/qt/work/install/target/include/QtCore/qobject.h:10,
                       from /home/qt/work/install/target/include/QtCore/QObject:1,
                       from /home/qt/work/qt/qtgrpc/examples/grpc/magic8ball/clientservice.h:7,
                       from /home/qt/work/qt/qtgrpc/examples/grpc/magic8ball/clientservice.cpp:4:
      /home/qt/work/install/target/include/QtCore/qtypeinfo.h:17:7: note: forward declaration of ‘class QDebug’
         17 | class QDebug;
            |       ^~~~~~
      Sccache command failed, re-try calling build tool directly
      /home/qt/work/qt/qtgrpc/examples/grpc/magic8ball/clientservice.cpp: In member function ‘void ClientService::errorOccurred()’:
      /home/qt/work/qt/qtgrpc/examples/grpc/magic8ball/clientservice.cpp:26:14: error: invalid use of incomplete type ‘class QDebug’
         26 |     qWarning() << "Connection error occurred. Have you started server part:"
            |              ^
      In file included from /home/qt/work/install/target/include/QtCore/qglobal.h:47,
                       from /home/qt/work/install/target/include/QtCore/qnamespace.h:12,
                       from /home/qt/work/install/target/include/QtCore/qobjectdefs.h:12,
                       from /home/qt/work/install/target/include/QtCore/qobject.h:10,
                       from /home/qt/work/install/target/include/QtCore/QObject:1,
                       from /home/qt/work/qt/qtgrpc/examples/grpc/magic8ball/clientservice.h:7,
                       from /home/qt/work/qt/qtgrpc/examples/grpc/magic8ball/clientservice.cpp:4:
      /home/qt/work/install/target/include/QtCore/qtypeinfo.h:17:7: note: forward declaration of ‘class QDebug’
         17 | class QDebug;
            |       ^~~~~~
      

      Build log: https://testresults.qt.io/logs/qt/qtgrpc/0b332a8fe1f316b7e8b9c0e6e02b6f0d06fb6575/LinuxUbuntu_22_04x86_64LinuxQEMUarmv7GCCqtci-linux-Ubuntu-22.04-x86_64-51-53eeb5Sccache_UseConfigure/0012dddb72196905914056f6f8702a39fb0c2db1/build_1704714475/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtgrpc/tasks/1704714450

      Tested changes (refs/builds/qtci/6.6/1701068229):
      https://codereview.qt-project.org/c/qt/qtgrpc/+/521397/2 Update dependencies on '6.6' in qt/qtgrpc

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes