4

I have to create one application in QT using MVC.So, how to maintain a MVC pattern in qt application.How to create a controller in QT ?

Any help ?

snehal
  • 1,798
  • 4
  • 17
  • 24

1 Answers1

2

MVC means separated model-view-control layers. If you can do, put each layer classes into their own library.

The controller layer is a glue between model and view layers. In it's simplest form, it just connects their signal and slots. More complex controllers are using lambda functions and doing more in their methods.

BЈовић
  • 62,405
  • 41
  • 173
  • 273