[SOLVED] "'X' does not namea type" compiler error
-
wrote on 5 Jan 2014, 12:00 last edited by
I'm trying to copy a tutorial problem and have the following line of code in the header file:
@private:
QdoubleSpinBox *entries[10];@
Upon compiling the code, I get a compiler error on that line saying QdoubleSpinBox does not name a type.
How do I resolve this?
-
wrote on 5 Jan 2014, 13:19 last edited by
It's spelled QDoubleSpinBox (notice the capital D) I believe.
-
wrote on 5 Jan 2014, 13:48 last edited by
You've got to be kidding me, wow, it works. I was convinced it was small d as the ui widget are by default called doubleSpinBox. Thanks!
1/3