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