Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Make LIBS dependency avaible for all SUBDIRS *.pro file
dridk last edited by
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
IIRC. you can try using a qmake cache file.
Hope it helps
TobbY last edited by
Hi @dridk ,
config.prifile. There you can specify all your dependencies. And add config to your pro.
koahnig last edited by
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.