Please accept my apologize in advance if my question is very low level!

I have a project in Qt c++ (QT Widget application). I want to have a button in my project (App) that by pressing this button, another project in another directory (e.g. a Console project) starts to run. Indeed, the directories of my projects differ from each other.
I want to know, is it possible to run my console project by a widget project while these projects are not in the same directory? If yes, how?

Thank you!