Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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