cookieki
8th November 2010, 07:27
Hi,All.
I got the problem when subclassing QListWidgetPrivate.
#include <private/qlistwidget_p.h>
...
QItemSelectionModel::SelectionFlags QListWidgetPrivateEx::selectionCommand(const QModelIndex &index,const QEvent *event) const
{
Q_D(const QAbstractItemView);
...
}
compiler(vs2003) shows error.
'd_func': identifier not found, even with argument-dependent lookup
What's the problem?
I got the problem when subclassing QListWidgetPrivate.
#include <private/qlistwidget_p.h>
...
QItemSelectionModel::SelectionFlags QListWidgetPrivateEx::selectionCommand(const QModelIndex &index,const QEvent *event) const
{
Q_D(const QAbstractItemView);
...
}
compiler(vs2003) shows error.
'd_func': identifier not found, even with argument-dependent lookup
What's the problem?