-c -pipe -g -Wall -W -D_REENTRANT -DQT_PHONON_LIB -DQT_XML_LIB -DQT_GU

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/phonon -I/usr/include -I. -I. -o main.o main.cpp
In file included from main.cpp:2:
mainwindow.h:23: error: cannot declare field ‘MainWindow::imageList’ to be of abstract type ‘ImageListModel’
imagelistmodel.h:9: note: because the following virtual functions are pure within ‘ImageListModel’:
/usr/include/QtCore/qabstractitemmodel.h:171: note: virtual QModelIndex QAbstractItemModel::index(int, int, const QModelIndex&) const
/usr/include/QtCore/qabstractitemmodel.h:173: note: virtual QModelIndex QAbstractItemModel::parent(const QModelIndex&) const
/usr/include/QtCore/qabstractitemmodel.h:178: note: virtual int QAbstractItemModel::rowCount(const QModelIndex&) const
/usr/include/QtCore/qabstractitemmodel.h:179: note: virtual int QAbstractItemModel::columnCount(const QModelIndex&) const
/usr/include/QtCore/qabstractitemmodel.h:182: note: virtual QVariant QAbstractItemModel::data(const QModelIndex&, int) const
make: *** [main.o] Error 1