Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946

Shadow building and gets static librariess



  • Well, here I am, again. I have shadow building, with a static library (global.lib) and I need that static library into my other subprojects, but how to find that library in shadow build? How to move it to some folder?



  • You can use $DESTDIR to specify a definite location within your build tree to put the static library in. Otherwise, you might be able to do something using $OUT_PWD



  • Okay. But now it will copy library to my BIN folder (because it is set up globally (DESTDIR) ). Hmm...I must remake my QMAKE. But, anyway, thanks.


Log in to reply