I'm getting this compile-time error pointing to the widget class that I inherited from QWidget. I only recycled the previous code I was using I don't know why I'm getting this error.
In the file included from main.cpp:2:
webcam.h:13: error: expected class-name before "{" token
Attached are the files main.cpp and webcam.h
Bookmarks