unset(extra_generator_args) if(TARGET Qt::Qml) list(APPEND extra_generator_args QML) endif() qt_internal_add_test(tst_protobuf_sequence SOURCES sequencetest.cpp INCLUDE_DIRECTORIES ../../shared LIBRARIES Qt::Test Qt::Protobuf ) qt6_protobuf_generate(TARGET tst_protobuf_sequence PROTO_FILES proto/sequence.proto FIELDENUM ${extra_generator_args} OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/qt_protobuf_generated" )