qtcreator_sub_dir_example icon indicating copy to clipboard operation
qtcreator_sub_dir_example copied to clipboard

Question about target deps

Open dawidchyrzynski opened this issue 7 years ago • 1 comments

https://github.com/idelsink/qtcreator_sub_dir_example/blob/38f099015a30ff5d63efd04bbe6e4eadafd6cffb/SubTestProject/common.pri#L70

Hey, I've got a question. Shouldn't it be the exact path to the output library rather than a path to the directory? Otherwise, parent project won't be rebuilt when dependencies are updated. Working example for unix:

PRE_TARGETDEPS += $${LIB_PATH}/lib$${TARGET_NAME}.a

dawidchyrzynski avatar Nov 24 '18 11:11 dawidchyrzynski

You make a good point. Even the documentation specifies it: http://doc.qt.io/qtcreator/creator-project-qmake-libraries.html

You can make a pr to fix it if you want so you get the credit? :-)

idelsink avatar Dec 08 '18 19:12 idelsink