<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thiago,<br>
<br>
Thanks, that works. <br>
<br>
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 be used.<br>
<br>
Was the dropping of support for the -I method intentional?<br>
Was it intentional that some but not all of the headers are
available in the include directory?<br>
<br>
Steve<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/30/13, 10:27 AM, Thiago Macieira
wrote:<br>
</div>
<blockquote cite="mid:3061774.P9QlVTBpZc@tjmaciei-mobl2" type="cite">
<pre wrap="">On sábado, 30 de novembro de 2013 08:50:42, tsteven4 wrote:
</pre>
<blockquote type="cite">
<pre wrap="">includes like
#include <QtCore/QTextCodec>
with
-I/installpath/Qt5.2.0rc1/5.2.0-rc1/clang_64/lib/QtCore.framework/Versions/5
/Headers
</pre>
</blockquote>
<pre wrap="">
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.
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Development mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Development@qt-project.org">Development@qt-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.qt-project.org/mailman/listinfo/development">http://lists.qt-project.org/mailman/listinfo/development</a>
</pre>
</blockquote>
<br>
</body>
</html>