prykHetQuo
23rd January 2009, 16:10
OS: Ubuntu 8.10 x86.
Qt version: 4.4.3
Issue:
Having a QDialogButtonBox object, when I am trying to do
buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false);
I get the error:
dialog.cpp:39: error: invalid use of incomplete type 'struct QPushButton'
/usr/include/qt4/QtGui/qdialog.h:49: error: forward declaration of 'struct QPushButton'
Any ideas about how to fix this problem?
Thanks.
Qt version: 4.4.3
Issue:
Having a QDialogButtonBox object, when I am trying to do
buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false);
I get the error:
dialog.cpp:39: error: invalid use of incomplete type 'struct QPushButton'
/usr/include/qt4/QtGui/qdialog.h:49: error: forward declaration of 'struct QPushButton'
Any ideas about how to fix this problem?
Thanks.