BigHeadSammy
26th August 2016, 08:14
Hi
As title says, this is my code
...
QStringList test;
...
QRadioButton *Btn[test.size()];
but it show error "it needs constants"
i don't want to rewrite like this QRadioButton *Btn[100];
please give me some advice
thanks!
As title says, this is my code
...
QStringList test;
...
QRadioButton *Btn[test.size()];
but it show error "it needs constants"
i don't want to rewrite like this QRadioButton *Btn[100];
please give me some advice
thanks!