Make LIBS dependency avaible for all SUBDIRS *.pro file
-
Hi,
I have a project "test" with many test units (testX.pro) as SUBDIRS.myproject - test - test1/test1.pro - test2/test2.pro - test3/test3.pro test.pro
I would like to avoid adding LIBRARY dependency in each testX.pro file .
Is is possible to add something in the root test.pro to have INCLUDE_PATH and LIBS avaible for all testX.pro file ? -
-
Hi,
I have a project "test" with many test units (testX.pro) as SUBDIRS.myproject - test - test1/test1.pro - test2/test2.pro - test3/test3.pro test.pro
I would like to avoid adding LIBRARY dependency in each testX.pro file .
Is is possible to add something in the root test.pro to have INCLUDE_PATH and LIBS avaible for all testX.pro file ?I am using a file ".qmake.conf" to place common statements to be used in all (sub)projects in sub-folders. There must be a thread started by me with a similar topic around. I cannot find it anymore.
IIRC @SGaist suggested also there the cache file, which did not work as expected, but .qmake.conf did. Probably I have provided some reasoning in the sequence of my thread.