@zyend
ok my answer was regarding qmake only sry.
For a qmake only solution you could define the target directory for the lib, and specify this path (relatively) in your myexe pro file.
But IIRC QtCreator solely ignores the output dirs specified in the qmake pro-file and uses it's custom settings instead. See this, to link to an internal project in QtCreator.