That definitely won't work. The .o files for the two types of libraries are typically generated using very different compile options.
On Wed, May 30, 2012 at 12:43 PM, Coda Highland <[email protected]> wrote: > On Wed, May 30, 2012 at 2:24 PM, Jonathan S. Shapiro <[email protected]> > wrote: > > I understand the solution that uses multiple ".pro" files, but this > approach > > doesn't seem to interact happily with QtCreator. What QtCreator sees in > this > > case is two projects, with the result that source files need to be added > to > > both of them. > > You missed my point on the second one -- the second project contains > NO source files but rather only performs linking. Qt Creator should > display this as an empty subproject but I THINK it should still do the > trick -- although you may need to point to the static lib by path in > OBJECTS instead of with a LIBS += -l directive. > > /s/ Adam > >
_______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
