A class member has ran away?!
Hi,
Yes I am a newbie but while I am working with QSpinBox and specially setRange(int min, int max) everything is OK I also tried compiling it and everything is OK but after a while I could not use setRange I can't see it in the drop down menu (in Qt Creator) and I have this Error message from the compiler:
error: 'class QSpinBox' has no member named 'setRange'????
I get around this error by using setMaximum and setMinimum.
But why does this happning??
Code:
Qt Creator 1.2.1
Based on Qt 4.5.2 (32 bit)
Built on Jul 10 2009 at 15:03:29
Thanks in advanced
Mohammad AlHobayyeb
Re: A class member has ran away?!
Did you by accident edit the QSpinBox class definition?
Re: A class member has ran away?!
Thank you this is the problem but I did not know that I can do so by accident. I thought they are read-only files.
Thank you.
Re: A class member has ran away?!
Quote:
Originally Posted by
MIH1406
error: 'class QSpinBox' has no member named 'setRange'????
Can you post a little bit more output from this error message ...?
Re: A class member has ran away?!