Qt dependencies between projects

I have several projects that are loaded together in QtCreator, and they are not grouped by a unique project. I need to create dependencies between these modules, and not just consider TARGETDEPS, which checks if the library is present in the directory.

The dependency I'm requesting should practically emulate the user’s action in the qtcreator of the “Change project settings” check in the list of dependencies at the bottom of the page. Therefore, if a module depends on another module, qtcreator first qmake / make / etc .. is different. How can i do

thanks daniele

+4
source share
1 answer

I have never tried this on my own (because I use Scons for a large application with multiple projects), but the goal of QMake subdirs may be what you are looking for:

http://doc.trolltech.com/4.5/qmake-variable-reference.html#subdirs

There is a fairly detailed explanation of how to use it here: How to use the QMake sub-pattern template?

+1
source

Source: https://habr.com/ru/post/1299232/


All Articles