[Development] 5.2.0 rc1 mac include directory structure

Thiago Macieira thiago.macieira at intel.com
Sat Nov 30 18:27:49 CET 2013

On sábado, 30 de novembro de 2013 08:50:42, tsteven4 wrote:
> includes like
> #include <QtCore/QTextCodec>
> with 
> -I/installpath/Qt5.2.0rc1/5.2.0-rc1/clang_64/lib/QtCore.framework/Versions/5
> /Headers

That -I was your mistake. You should have passed it the Mac way:

 -F/installpath/Qt5.2.0rc1/5.2.0-rc1/clang_64/lib/ -framework QtCore

The very reason why we have mandatory <ModuleName/headername> in our own 
headers is so that we support this style of includes on Mac.
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/development/attachments/20131130/eadb4a29/attachment.sig>

More information about the Development mailing list