pmabie
7th October 2007, 03:49
Hello Using Vista, Qt4.3.1 and Msvc 2005 pro
I created a ui form in the QT Designer and I am loading it thru ui.setupUi;
ui.setModel(indexModel);
when I try to set the Model I get a this error.
error C2248: 'QListWidget::setModel' : cannot access private member declared in class 'QListWidget'
I have made a QListWidget and tried to setModel , works fine .
QListWidget *dummy = new QListWidget();
dummy->setMode(indexModel);
I was wondering if anyone may have come across this one ,and what you did to fix it .
thanks .
I created a ui form in the QT Designer and I am loading it thru ui.setupUi;
ui.setModel(indexModel);
when I try to set the Model I get a this error.
error C2248: 'QListWidget::setModel' : cannot access private member declared in class 'QListWidget'
I have made a QListWidget and tried to setModel , works fine .
QListWidget *dummy = new QListWidget();
dummy->setMode(indexModel);
I was wondering if anyone may have come across this one ,and what you did to fix it .
thanks .