# need help in compiling

I am trying to compile the Tutorial mfc that is present in the Open casacade sourcecode and i'm getting the following error:
.....\qframe.h(47) : error C2470: 'QFrame' : looks like a function definition, but there is no parameter list; skipping apparent body

the linecode that generates the error is :
class Q_EXPORT QFrame : public QWidget

any idea how to solve it?? because i have no idea how i could solve it.
Regards

i reinstalled opencascade and qt package and i still get that error on the qpopupmenu.h file :

1>d:\qt\4.3.4\src\gui\widgets\qpopupmenu.h(49) : error C2470: 'QPopupMenu' : looks like a function definition, but there is no parameter list; skipping apparent body

i just don't know how i could solve it..

As far as I know the OpenCascade demos are written for qt 3, but you are using qt 4.