That error means that you've haven't implemented a pure virtual function. Pure virtual functions are identified by having "= 0" in the prototype (as seen in the documentation). In this case the missing function is columnCount. If your model is a simple string list you may be interested in QStringListModel. You may also want to use Model Test with your custom model.
Bookmarks