Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to create a gui for a pure c++ data model (no qt)



  • What is the best approach to implementing a gui for an existing c++ library?

    The library in question represents graph data using simple c++ objects (no qt) and standard pointers. I.e do I write an abstraction layer to provide QObject classes with signals and properites?

    Perhaps there is some tutorial somewhere that would be relevant?



  • Use Qt model-view framework, write your custom model to contain your data.



  • Since QtQuick is signal-slot model driven, then yes, you have to provide QObject class over your pure c++ libs


Log in to reply