I’ve made a my widget which has a Q_PROPERTY like this:

Qt Code:
  1. Q_PROPERTY(QDate date READ date WRITE setDate NOTIFY dateChanged USER true )
To copy to clipboard, switch view to plain text mode 

I created a QDataWidgetMapper and addMapping. The date from my widget is not readed by mapper. Even there is not invoked a date() method. What could be wrong? My class inherits from QFrame and has a Q_OBJECT macro.