Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about target deps #3

Open
dawidchyrzynski opened this issue Nov 24, 2018 · 1 comment
Open

Question about target deps #3

dawidchyrzynski opened this issue Nov 24, 2018 · 1 comment
Labels

Comments

@dawidchyrzynski
Copy link

PRE_TARGETDEPS += $${TARGET_PATH}

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
@idelsink
Copy link
Owner

idelsink commented Dec 8, 2018

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 idelsink added the bug label Dec 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants