[Development] 5.2.0 rc1 mac include directory structure

tsteven4 tsteven4 at gmail.com
Sat Nov 30 16:50:42 CET 2013


All the headers for QtCore seem to be in the directory 
/installpath/Qt5.2.0rc1/5.2.0-rc1/clang_64/lib/QtCore.framework/Versions/5/Headers. 
The only subdiretory under this directory is 5.2.0, which only contains 
a directory QtCore which only contains a directory private.  In 
Qt5.2.0rc1/5.2.0-rc1/clang_64/lib/QtCore.framework/Versions/5/Headers I 
can find the include file QtCore and QTextCodec, but I am used to using 
includes like
#include <QtCore/QTextCodec>

with 
-I/installpath/Qt5.2.0rc1/5.2.0-rc1/clang_64/lib/QtCore.framework/Versions/5/Headers

This fails because QtCore is not a directory.

Indeed many of the include files in 
/installpath/Qt5.2.0rc1/5.2.0-rc1/clang_64/lib/QtCore.framework/Versions/5/Headers 
seem to assume QtCore is a directory in the include path, e.g.
> qvariant.h:#include <QtCore/qlist.h>

Is this an intentional change from previous releases or a build problem 
or a usage problem on my part?

Thanks



More information about the Development mailing list