How to use MAVSDK for one way communication

I want to use MavlinkPassthrough (which requires a system) to send custom mavlink messages.
I tried different options to do this, but in all cases mavsdk->systems() returns empty vector.