QWizard fields and custom properties
Hi, I'm working with QWizard and I have a problem related to fields.
I have a class which has its own property defined in this way:
Code:
Q_PROPERTY(QString file READ
file WRITE setFile
)
It emits a signal called selectionChanged()
In the code where I subclass QWizardPage I add the following code:
Code:
registerField("packageIcon",m_pPackageIconEdit,"file",SIGNAL(selectionChanged()));
where pPackageIconEdit is an instance of the class above.
The problem is that the field is not registered, and in the following pages the field is left blank.
What should I do?
Re: QWizard fields and custom properties
Have you found a fix for this ? I have a similar problem :(