Skip to content

qt Compilation Issue after replacing foreach with foreachRS in rs_frame.hpp #5116

@zainmehdi

Description

@zainmehdi

I was having Q_FOREACH macro error and as referenced in may other issues I replaced foreach with foreachRS but now I start getting these errors

error: expected ‘)’ before ‘]’ token
define foreach Q_FOREACH

My qt version is 5.13.1 and I installed librealsense from source. Please suggest any solution

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