QT PY as MIDI controller

Hi I have just purchased a qt py with the intention of using it as a USB MIDI controller.
I have used trinket m0, rpi and itsy bitsy for similar, so I thought it would be straightforward.

I can’t seem to find any resources for this.
Any ideas on where to get started.

Many thanks
Mark