[Qt-interest] INCLUDEPATH / LIBS with blank spaces

Andreas Pakulat apaku at gmx.de
Tue May 19 21:42:56 CEST 2009


On 19.05.09 20:43:16, Thiago Macieira wrote:
> Andreas Pakulat wrote:
> >On 19.05.09 16:25:59, Oliver.Knoll at comit.ch wrote:
> >> Miguel Cardenas wrote on Tuesday, May 19, 2009 3:00 PM:
> >> >...if I "quote" them they still are not
> >> > found! What can I do?
> >>
> >> Remove the blanks or Rename_Your_Include_Paths_Like_This?
> >
> >Or use a buildsystem that doesn't have arbitrary limits. There are
> > plenty out there, for example hand-written makefiles, scons, cmake,
> > autotools, boost's bjam.
> 
> This is not about arbitrary limits.
[...]
> Anyways, qmake supports paths with spaces:
> INCLUDEPATH += "/path/with spaces"
> LIBS += -L"/path/with spaces"
> 
> It does whitespace condensing though. To have more than one space:
> INCLUDEPATH += . "/tmp/foo\ \ bar"
> LIBS += -L"/tmp/foo\ \ bar" -labc

Hmm, right. Then why do I remember having a hard time building Qt in a
directory with spaces... Or maybe that was a problem of MS VC rather
than qmake.

Andreas

-- 
Your domestic life may be harmonious.



More information about the Qt-interest-old mailing list