Skip to content

Compiler error if used with QT6 (Syntax error) #534

@mfranzen0906

Description

@mfranzen0906

In my application, I need to use QT6 and cyclonedds.
When I used QT5 it compiled just fine.

But now that I have to migrate to QT6, I am getting compiler errors for the TopicInstaceImpl.hpp:

ddscxx\dds/topic/detail/TopicInstanceImpl.hpp(42,34): error C2760: Syntax error: "::" was not expected here, but "ID-expression".

Is this a known problem? When I edit the file locally and remove all the :: before each dds::core::..., it seems to compile just fine. Would it be a problem to add this change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions