wh201906 / Proxmark3GUI

A cross-platform GUI for Proxmark3 client | 为PM3设计的跨平台图形界面
GNU Lesser General Public License v2.1
872 stars 150 forks source link

no member named 'textChanged' in 'QSpinBox' #9

Closed jsxyhyj closed 3 years ago

jsxyhyj commented 3 years ago

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); ^~~

wh201906 commented 3 years ago

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

wh201906 commented 3 years ago

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.