0

I have read article Adding Libraries to Projects for Reusing my c++ classes in my diffrent qt quick applications,

I have many Custom qml types Like MyCustomGridView.qml and I using this in many project But I have to copy the file in my new Project and When I extend this in one project I have to make change by hand in all proejcts.

My question is How can I reuse this qml types like c++ library in diffrent projects?

mohsen
  • 1,763
  • 3
  • 17
  • 55
  • take a look at qml plugins: https://doc.qt.io/qt-5/qtqml-modules-cppplugins.html – luffy Apr 22 '20 at 08:45
  • if you are using a subdir project to link the same qml project in different libraries, why do you have to copy them? just add it as subproject no? Or I'm missing something? – Moia Jun 05 '20 at 06:54
  • @Moia Can You tell me how?I think this not possible. – mohsen Jun 21 '20 at 16:33

0 Answers0