Use QGC without its GUI

I made a Python code that generates .plan files that QGC can load. Is there a way to call a command to load those plans automatically into QGC (without using its graphical interface)? Does QGC accept these types of commands directly or would you have to go through PX4?

Thank you in advance!