Project Dependencies without Qt-Creator and Subdirs Project
-
Hi,
i want to add to my pro-file "A" a project dependency to another pro-file "B", that at the time of building the project A also the project B gets build. This is quite similar as the project dependencies in Qt-Creator.
I dont want to use Qt-Creator for it, as well as subdirs is not my choice of solution.
Can someone give me a hint on this?
-
You might want to check out "this":http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#pre-targetdeps
-
Well, but what do i specify then?
PRE_TARGETDEPS = project-B.pro
-
[quote author="Stefan Walter" date="1358241295"]Well, but what do i specify then?
PRE_TARGETDEPS = project-B.pro[/quote]
Typically it could be used when project-A is using a library. You would list this library (or these libraries). -
[quote author="koahnig" date="1358248651"][quote author="Stefan Walter" date="1358241295"]Well, but what do i specify then?
PRE_TARGETDEPS = project-B.pro[/quote]
Typically it could be used when project-A is using a library. You would list this library (or these libraries). [/quote]This means that the PRE_TARGETDEPS is not what i am looking for, because it expects ready made libraries.