Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6.0 Beta3
-
Operating system used: Ubuntu 22.04
Target platform: WebAssembly
Qt configure line / project configure line:
../qt6/configure -qt-host-path $HOST_INSTALL_DIR -platform wasm-emscripten -prefix $INSTALL_DIR -confirm-license -feature-thread -skip qtgraphs -- -DQT_BUILD_TESTS_BY_DEFAULT=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/include
Qt version / branch: 6.6
CMake version: 3.22.1
Ninja version: 1.10.1
WebAssembly Emscripten version: 3.1.37Operating system used: Ubuntu 22.04 Target platform: WebAssembly Qt configure line / project configure line: ../qt6/configure -qt-host-path $HOST_INSTALL_DIR -platform wasm-emscripten -prefix $INSTALL_DIR -confirm-license -feature-thread -skip qtgraphs -- -DQT_BUILD_TESTS_BY_DEFAULT=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/include Qt version / branch: 6.6 CMake version: 3.22.1 Ninja version: 1.10.1 WebAssembly Emscripten version: 3.1.37
-
-
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