[solved] ERROR: "Classeur_Model does not name a type"
i try to use a QAbstractItemModel for show data from database inside a QTreeView, but now i have an error i not understand where this come from.
Could you help me please ?
here is the pastebin code (include the line where the error is): http://pastebin.com/tiVjFmiv
You have circular dependencies. i.e. you include classeur_model.h in classeur_treeview.h and classeur_treeview.h in classeur_model.h
ho yes... it's right, why i done that, it is stupid...
You're welcome !
Don't forget to update the thread title prepending [solved] so other forum users may know a solution has been found :)