You need to add the MIDI Input Device plugin to your project, located in the Input Device section of the Plugins menu.