[Interest] static libs/osx

Thiago Macieira thiago.macieira at intel.com
Wed Dec 18 17:03:07 CET 2013


On quarta-feira, 18 de dezembro de 2013 07:39:19, Thiago Macieira wrote:
> On quarta-feira, 18 de dezembro de 2013 10:29:17, Tim Blechmann wrote:
> > >> No one tries that. You're entirely on your own. Patches will be
> > >> accepted
> > >> once you get it working.
> > > 
> > > ok, then i wonder: how do i compile qt/osx as static libraries with all
> > > headers appearing the the build folder in a way that i am not on my own?
> > 
> > btw, maybe this is simple a documentation issue: according to [1] one
> > will have to run the following 3 lines:
> > 
> > --
> > cd /path/to/Qt
> > ./configure -static <other parameters>
> > make sub-src
> > --
> > 
> > however the sub-src target does not exist. maybe the documentation could
> > be updated or the part about building statically can be removed? in a
> > way it is a bit confusing to have step-by-step instructions, which do
> > not work :/
> 
> make sub-src is the equivalent of building just the src/ subdir in qtbase.
> Since you're building statically, you probably passed -nomake examples. In
> that case, make sub-src and make all should compile the same things. The
> argument to make should not be the difference.

By the way, the target exists once you make at least once. Even if you make 
and Ctrl+C 2 seconds afterwards.

Another option is to do make qmake first.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131218/bcd34868/attachment.sig>


More information about the Interest mailing list