> The problem is that it means you have a gui app But you do not have to create a QApplication, a window or anything like that for a QStandardItemModel, you can use it just like QList, but you have to link against QtGui, too...