[Qt-creator] Theory of Operation question concerning configurations

Jonathan S. Shapiro shap at eros-os.org
Thu May 31 01:24:17 CEST 2012


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 <chighland at gmail.com> wrote:

> On Wed, May 30, 2012 at 2:24 PM, Jonathan S. Shapiro <shap at eros-os.org>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20120530/71cdc7d7/attachment.html>


More information about the Qt-creator mailing list