[Development] Missing headers after building && installing

Yang Fan missdeer at gmail.com
Wed Nov 21 08:10:17 CET 2012


Thanks for your reply. When I run configure with -developer-build, the
issue disappears, seems a bit stupid:(


On Tue, Nov 20, 2012 at 4:47 PM, Qi Liang <Liang.Qi at digia.com> wrote:

>  Sorry, can't reproduce your issue on 10.6.8. The default compiler on
> 10.6.8 + xcode 3.2.6 should be g++ 4.2, not clang++. Apple doesn't provide
> it. So maybe you are asking for the support of clang++ on 10.6, I guess.
>
>  And I think it's better to talk this kind of issue in "interest" mailing
> list, not here.
> http://lists.qt-project.org/mailman/listinfo/interest
>
>  Regards,
> Liang
>
>  ------------------------------
> *From:* development-bounces+liang.qi=digia.com at qt-project.org[development-bounces+liang.qi=
> digia.com at qt-project.org] on behalf of Yang Fan [missdeer at gmail.com]
> *Sent:* Tuesday, November 20, 2012 12:59 AM
> *To:* development at qt-project.org
> *Subject:* [Development] Missing headers after building && installing
>
>  Hi All,
>
> I built Qt5 from git on my Mac OS X 10.6.8 than make install to
> /usr/local/Qt-5.0.0. Then I tried to build a small program but got the
> following errors:
>
> clang++ -c -pipe -mmacosx-version-min=10.6 -O2 -Wall -W -fPIC
> -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/local/Qt-5.0.0/mkspecs/macx-clang -I.
> -I. -I/usr/local/Qt-5.0.0/include -I/usr/local/Qt-5.0.0/include/QtCore
> -I/usr/local/Qt-5.0.0/lib/QtCore.framework/Versions/5/Headers -I. -o
> json_parser.o json_parser.cc
> clang++ -c -pipe -mmacosx-version-min=10.6 -O2 -Wall -W -fPIC
> -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/local/Qt-5.0.0/mkspecs/macx-clang -I.
> -I. -I/usr/local/Qt-5.0.0/include -I/usr/local/Qt-5.0.0/include/QtCore
> -I/usr/local/Qt-5.0.0/lib/QtCore.framework/Versions/5/Headers -I. -o
> json_scanner.o json_scanner.cpp
> In file included from json_scanner.cpp:21:
> ./qjson_debug.h:24:10: fatal error: 'QtCore/QDebug' file not found
> #include <QtCore/QDebug>
>          ^
> In file included from json_parser.cc:36:
> In file included from json_parser.yy:26:
> In file included from ./parser_p.h:25:
> In file included from ./parser.h:24:
> ./qjson_export.h:23:10: fatal error: 'QtCore/qglobal.h' file not found
> #include <QtCore/qglobal.h>
>          ^
> 1 error generated.
> make[2]: *** [json_scanner.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> 1 error generated.
> make[2]: *** [json_parser.o] Error 1
> make[1]: *** [sub-QJSON-qjson-make_first-ordered] Error 2
> make: *** [sub-3rdparty-make_first-ordered] Error 2
>
> I looked into directory /usr/local/Qt-5.0.0/include/QtCore, there is no
> file called QDebug or qglobal.h, but in directory
> /usr/local/Qt-5.0.0/lib/QtCore.framework/Versions/5/Headers, there are. I
> think if there's something wrong with the installing process?
>
> Any suggestion would be appreciated.
>
> --
> Regards,
> Fan Yang
>
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
>


-- 
Regards,
Fan Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121121/127fdba3/attachment.html>


More information about the Development mailing list