Did you include the header for QScrollBar in your class?
Did you include the header for QScrollBar in your class?
It doesn't have to, because you're passing a pointer to it, which at that point is a resolved type. At that point it just doesn't know the QScrollBar is a QObject.
Horse sense is the thing that keeps horses from betting on people. --W.C. Fields
Ask Smart Questions
Bookmarks