[Development] Missing headers after building && installing
Qi Liang
Liang.Qi at digia.com
Tue Nov 20 09:47:17 CET 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121120/2d0d23d8/attachment.html>
More information about the Development
mailing list