[Development] Problem comiling with option -qtnamespace and -qtlibinfix in Mac OS X 10.9.4

Oswald Buddenhagen oswald.buddenhagen at digia.com
Tue Jul 8 11:22:58 CEST 2014

On Tue, Jul 08, 2014 at 07:12:37AM +0200, Hauke Kr├╝ger wrote:
> I have problems compiling Qt-5.3.1 from the sources in Mac OS X 10.9.4 
> when specifying the option -qtnamespace and -qtlibinfix.

> 1) Option with unspecified namespace: Running configure without 
> -qtnamespace:
> [...]
> 2) Option with specified Option -qtnamespace
> -> In the terminal, running "./configure -qtnamespace rtproc" -> "make" 
> in the directory qt-everywhere-opensource-src-5.3.1/qtbase does not work:
> During the compilation of e.g. src/network, I see the following compiler 
> error:
> [...]
> The main difference: Instead of
> "-I../../lib/QtCore.framework/Versions/5/Headers/5.3.1/QtCore",
> the include path is set to
> "......./lib/QtCore.framework/Headers/5.3.1/QtCore"
> where the headers are not located.
i don't know why compiling with a namespace would do that. i didn't
think it has any effect except setting a #define.
did you start with an empty build dir both times? if not, it's more
likely that this somehow leads to the failure.

More information about the Development mailing list