You mean you want your tool to build as part of your project, as a sub project?
Then look qmake docs.
Have a look at SUBDIRS.