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 <[email protected]> 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:* > [email protected][development-bounces+liang.qi= > [email protected]] on behalf of Yang Fan [[email protected]] > *Sent:* Tuesday, November 20, 2012 12:59 AM > *To:* [email protected] > *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 > [email protected] > http://lists.qt-project.org/mailman/listinfo/development > > -- Regards, Fan Yang
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
