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

-feature-protobuf-wellknowntypes not working for WASM

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.6.0 RC, 6.6.1, 6.7.0 FF
    • 6.6.0 Beta3
    • WebAssembly
    • 18f8ec667 (dev), d8d929b03 (6.6), 04b34f593 (6.6.0)
    • Foundation PM Staging

    Description

      I'm now getting this build error:

      ERROR: Feature "protobuf_wellknowntypes": Forcing to "ON" breaks its condition:
      TARGET WrapProtoc::WrapProtoc AND ( TARGET WrapProtobuf::WrapLibProtobuf OR QT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR ) AND ( TARGET Qt6::qtprotobufgen OR ( QT_FEATURE_qtprotobufgen AND NOT CMAKE_CROSSCOMPILING ) )
      Condition values dump:
      TARGET WrapProtoc::WrapProtoc found
      TARGET WrapProtobuf::WrapLibProtobuf not found
      QT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR = "/usr/include"
      TARGET Qt6::qtprotobufgen not found
      QT_FEATURE_qtprotobufgen = "OFF"
      CMAKE_CROSSCOMPILING = "TRUE"

      whereas before 4639b206a42a4903719c431e0a24fad51e06a6fe, building ProtobufWellKnownTypes for WASM was working ...

      – and from config.summary:

      Qt Protobuf:
      Qt Core types support ................ no
      Qt Gui types support ................. no
      Well-known types support ............. yes
      Qt Protobuf tools:
      Qt Protobuf generator ................ no
      Qt GRPC:
      gRPC support ......................... yes
      Native gRPC support .................. no
      Qt GRPC tools:
      Qt GRPC generator .................... no
      Qt Remote Objects:
      High Availability Manager (ham) ...... no

      Attachments

        1. log-host.tgz
          19.95 MB
          Glen Mabey
        2. log-wasm.tgz
          19.22 MB
          Glen Mabey
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            semlanik Alexey Edelev
            glenm Glen Mabey
            Vladimir Minenko Vladimir Minenko
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes