You can select in your IDE which program should be run. The IDE will not run more than one executable.
You can run all tests on the command line with 'make test' or 'cmake --test' (iirc)
@vdevadass Please take a look here to see how to use INCLUDEPATH and LIBS libraries in pro file: http://doc.qt.io/qtcreator/creator-project-qmake-libraries.html