[Qt-interest] Qt 4.5 : QDataWidgetMapper does not show data.

wim.delvaux at adaptiveplanet.com wim.delvaux at adaptiveplanet.com
Wed Apr 22 03:11:51 CEST 2009


Hi,

I have this code

        mapper = new QDataWidgetMapper(this);
        mapper->setModel(EventsDetailDataSource);
        mapper->addMapping( Process_LBL, EVTLVC_PROCESS );

where the '_LBL' widget is a QLabel.

I checked the 'data' method of the EventsDetailDataSource model and it 
properly returns data. However the data is NOT shown in the label.

In 4.4 this work fine

What is wrong ?

If this is a 4.5 bug, I heart that the patches will be put in a 'git' 
repository.  Any URL explaining how to access it ?

Thx
W



More information about the Qt-interest-old mailing list