[Development] 5.2.0 rc1 mac include directory structure
tsteven4 at gmail.com
Sat Nov 30 22:25:55 CET 2013
Thanks, that works.
But in some previous releases, e.g. 4.8.2, either -I or -F (with the
path to include or Headers respectively) could work because in addition
to the headers under the QtCore.framework there was also a QtCore
directory in /installpath/include. The analogous directory in Qt
5.2.0rc1 is /installpath/Qt5.2.0rc1/5.2.0-rc1/clang_64/include which now
only has directories QtOpenGLExtensions, QtPlatformSupport and
QtUiTools. So the -I method is no longer possible, the -F method must
Was the dropping of support for the -I method intentional?
Was it intentional that some but not all of the headers are available in
the include directory?
On 11/30/13, 10:27 AM, Thiago Macieira wrote:
> On sábado, 30 de novembro de 2013 08:50:42, tsteven4 wrote:
>> includes like
>> #include <QtCore/QTextCodec>
> 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.
> Development mailing list
> Development at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Development