mirror of https://github.com/qt/qtgrpc.git
Disable QML Protobuf tests in Android
The introduced ProtobufQuick module breaks the assignment operator for the fields of the protobuf scalar types. It seems the issue is related to the QML_USING macro which is used to register the protobuf scalar types. If type is not registers it operates normally and doesn't throw an error. As workaround the assignment can be done using explicit Number() constructor. Task-number: QTBUG-127174 Pick-to: 6.8 Change-Id: I8a8b0c588d0f083fb6a9d35fb35366a3bc01f1cf Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
This commit is contained in:
parent
0da8af84b8
commit
3d6c2827a0
|
|
@ -1,10 +1,13 @@
|
|||
# Copyright (C) 2023 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
add_subdirectory(basic)
|
||||
add_subdirectory(enums)
|
||||
add_subdirectory(nopackage)
|
||||
add_subdirectory(syntax)
|
||||
add_subdirectory(nested)
|
||||
add_subdirectory(messagelists)
|
||||
add_subdirectory(oneof)
|
||||
if(NOT ANDROID) # ProtobufQuick breaks the assignment in QML for protobuf scalar types.
|
||||
# See QTBUG-127174
|
||||
add_subdirectory(basic)
|
||||
add_subdirectory(enums)
|
||||
add_subdirectory(nopackage)
|
||||
add_subdirectory(syntax)
|
||||
add_subdirectory(nested)
|
||||
add_subdirectory(messagelists)
|
||||
add_subdirectory(oneof)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue