Amanda
7th November 2006, 21:42
Hi,
I'm nearly done with a Qt 3 to Qt 4 porting project.
I get the following QList compile errors. How can I do these calls in Qt 4? Or do I need to use QListPtr instead (I'm trying to avoid that option because it will require a lot of code changes)?
error: 'class QList<QWidget>' has no member named 'findRef'
error: 'class QList<QWidget>' has no member named 'next'
error: 'class QList<QWidget>' has no member named 'prev'
error: 'class QList<QWidget>' has no member named 'removeRef'
error: no matching function for call to `QList<QWidget>::append(QWidget*&)'
error: no matching function for call to `QList<QWidget>:: prepend(QWidget*&)'
Thanks,
Amanda
I'm nearly done with a Qt 3 to Qt 4 porting project.
I get the following QList compile errors. How can I do these calls in Qt 4? Or do I need to use QListPtr instead (I'm trying to avoid that option because it will require a lot of code changes)?
error: 'class QList<QWidget>' has no member named 'findRef'
error: 'class QList<QWidget>' has no member named 'next'
error: 'class QList<QWidget>' has no member named 'prev'
error: 'class QList<QWidget>' has no member named 'removeRef'
error: no matching function for call to `QList<QWidget>::append(QWidget*&)'
error: no matching function for call to `QList<QWidget>:: prepend(QWidget*&)'
Thanks,
Amanda