The power of reink when created in QT Creator

Hello,

I have a subdirs project that wraps a couple of libraries and a main application. When I change something in one of the libraries, the main application does not access them. Does anyone have a trick to let the application automatically correspond with their statically linked libraries when using QT Creator?

-Dan O

+17
c ++ qt linker static-libraries qt-creator
Sep 28 '09 at 4:37
source share
1 answer

There is a workaround for this, as well as an interesting discussion of this issue (qmake seems to be the problem here) on the Qt Creator mailing list.

The workaround is to add the PRE_TARGETDEPS command to the main .pro file of the application file, for example:

 PRE_TARGETDEPS += /path/to/your/lib.a 

It makes relink.

+25
Sep 28 '09 at 6:40
source share



All Articles