[Solved] one problem with QDialogButtonBox
Hello everyone.
This is part of my code.
- ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false);//buttonBox is a QDialogButtonBox widget I added in Qt //Creator's design mode
When I compiled,Qt Creator said that sentence is” error:invalid use of incomplete type ‘struct QPushButton’ “
I don’t know why and how to solve it.
Thank you for your attention.
2 replies
You must log in to post a reply. Not a member yet? Register here!

