wh201906/Proxmark3GUI

no member named 'textChanged' in 'QSpinBox'

jsxyhyj opened this issue · 2 comments

win qt5.12.8
Proxmark3GUI-master\ui\mf_trailerdecoderdialog.cpp:18: error: no member named 'textChanged' in 'QSpinBox'

Proxmark3GUI-master\ui\mf_trailerdecoderdialog.cpp:18: error: 'textChanged' is not a member of 'QSpinBox'
connect(ui->C0Box, &QSpinBox::textChanged, this, &MF_trailerDecoderDialog::on_boxChanged);
^~~~~~~~~~~

Which version are you using? Is it under master branch or dev branch?

I know what the problem is. The signal textChanged() is intruduced in Qt 5.14, which will pass the text with prefix and suffix.
I didn't realize the compatibility there. And I will replace it with valueChanged() because I don't need the prefix and suffix.
Thanks for your issue.