qtcreator_sub_dir_example
qtcreator_sub_dir_example copied to clipboard
Question about target deps
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
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? :-)