Greetings,
I have a subdirs project which wraps a couple libraries and a main application. When I change something in one of the libraries the main application does not relink with them.. does anyone have a trick for getting an application to relink with its statically linked libs automatically when using QT Creator?
-Dan O
From stackoverflow
-
There is a workaround for this and also an interesting discussion on the subject (qmake seems to be the problem here) on the Qt Creator mailing list.
The workaround is to add a
PRE_TARGETDEPScommand to your main applications .pro file, e.g.:PRE_TARGETDEPS += /path/to/your/lib.aThis forces the relink.
Dan O : Thanks a ton, had found some discussions on the mailing list but had not stumbled across the workaround.
0 comments:
Post a Comment