Don't forget to the PRE_TARGETDEPS if you expect the libraries to be re-linked when they change. I've only managed to get this to work when all projects were part of a SUBDIR however (at least with shadow builds which are too much of a hassle to turn off).
On Thu, Sep 16, 2010 at 12:22 PM, André Pönitz <[email protected]>wrote: > On Thursday 16 September 2010 13:11:35 ext Paul Smith wrote: > > Dear All, > > > > I would like to compile my programs with ALL necessary libraries > > statically linked. > > [Why?] > > > With KDevelop, there is an option "All static libraries" to do that > > automatically; > > It changes the project files to add linker instructions to use static > instead of dynamic libraries? > > > I cannot find a similar option in QtCreator. > > You need a static build of Qt to start with, then in the .pro use e.g. > the LIBS variable to directly include the .a files. > > Andre' > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator >
_______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
