I understand this is an old question, but here are a few steps to make it easy:
- Move most of your configuration from file
main_project.proto file main_project.pri. - Use relative paths with respect to your * .pri or * .pro files, using the syntax
$$PWD/path/to/filewhere your * .pri or * .pro file $$PWDis. - Include
*.prifile withinclude($$PWD/main_project.pri) test main_project.test/test.pro include($$PWD/../main_project.pri), _.
, - .
, , , , test_suite, . , , common.pri test/common .
, script, , , ...