[Development] Building Qt5 alpha failed on Mac OS X 10.6.7

Yang Fan missdeer at gmail.com
Fri Apr 6 18:11:01 CEST 2012


Hi All,

I was building Qt5 alpha on Mac OS X 10.6.7, and getting the following
errors:

g++ -c -pipe -mmacosx-version-min=10.6 -O2 -arch x86_64 -fvisibility=hidden
-fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_LIBUDEV -DQT_NO_EVDEV
-DQT_NO_XCB -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QML_LIB -DQT_XMLPATTERNS_LIB
-DQT_NETWORK_LIB -DQT_GUI_LIB -DV8_SHARED -DUSING_V8_SHARED -DQT_CORE_LIB
-DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2
-DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED
-I../../../../qtbase/mkspecs/macx-g++ -I.
-I../../../../qtbase/include/QtCore/5.0.0
-I../../../../qtbase/include/QtCore/5.0.0/QtCore
-I../../../../qtbase/include/QtCore
-I../../../../qtjsbackend/include/QtV8/5.0.0
-I../../../../qtjsbackend/include/QtV8/5.0.0/QtV8
-I../../../../qtjsbackend/include/QtV8 -I../../../../qtbase/include/QtGui
-I../../../../qtbase/include/QtNetwork -I../../../../qtbase/include
-I/Users/yangfan/Development/qt-everywhere-opensource-src-5.0.0/qtbase/include/QtXmlPatterns
-I../../../include/QtQml/5.0.0 -I../../../include/QtQml/5.0.0/QtQml
-I../../../include -I../../../include/QtQml
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I.moc/release-shared
-F/Users/yangfan/Development/qt-everywhere-opensource-src-5.0.0/qtbase/lib
-o .obj/release-shared/qqmlxmllistmodel.o qqmlxmllistmodel.cpp
qqmlxmllistmodel.cpp:51:21: error: QXmlQuery: No such file or directory
qqmlxmllistmodel.cpp:52:27: error: QXmlResultItems: No such file or
directory
qqmlxmllistmodel.cpp:53:30: error: QXmlNodeModelIndex: No such file or
directory
qqmlxmllistmodel.cpp:188: error: ‘QXmlQuery’ has not been declared
qqmlxmllistmodel.cpp: In member function ‘void
QQuickXmlQueryEngine::doQueryJob(XmlQueryJob*, QQuickXmlQueryResult*)’:
qqmlxmllistmodel.cpp:362: error: ‘QXmlQuery’ was not declared in this scope
qqmlxmllistmodel.cpp:362: error: expected `;' before ‘query’
qqmlxmllistmodel.cpp:365: error: ‘query’ was not declared in this scope
qqmlxmllistmodel.cpp:381: error: ‘QXmlResultItems’ was not declared in this
scope
qqmlxmllistmodel.cpp:381: error: expected `;' before ‘result’
qqmlxmllistmodel.cpp:382: error: expected `;' before ‘countquery’
qqmlxmllistmodel.cpp:383: error: ‘countquery’ was not declared in this scope
qqmlxmllistmodel.cpp:385: error: ‘result’ was not declared in this scope
qqmlxmllistmodel.cpp:386: error: ‘QXmlItem’ was not declared in this scope
qqmlxmllistmodel.cpp:386: error: expected `;' before ‘item’
qqmlxmllistmodel.cpp:387: error: ‘item’ was not declared in this scope
qqmlxmllistmodel.cpp: At global scope:
qqmlxmllistmodel.cpp:396: error: ‘QXmlQuery’ has not been declared
qqmlxmllistmodel.cpp: In member function ‘void
QQuickXmlQueryEngine::getValuesOfKeyRoles(const XmlQueryJob&, QStringList*,
int*) const’:
qqmlxmllistmodel.cpp:406: error: request for member ‘setQuery’ in ‘*
query’, which is of non-class type ‘int’
qqmlxmllistmodel.cpp:407: error: ‘QXmlResultItems’ was not declared in this
scope
qqmlxmllistmodel.cpp:407: error: expected `;' before ‘resultItems’
qqmlxmllistmodel.cpp:408: error: request for member ‘evaluateTo’ in ‘*
query’, which is of non-class type ‘int’
qqmlxmllistmodel.cpp:408: error: ‘resultItems’ was not declared in this
scope
qqmlxmllistmodel.cpp:409: error: ‘QXmlItem’ was not declared in this scope
qqmlxmllistmodel.cpp:409: error: expected `;' before ‘item’
qqmlxmllistmodel.cpp:410: error: ‘item’ was not declared in this scope
qqmlxmllistmodel.cpp: In member function ‘void
QQuickXmlQueryEngine::doSubQueryJob(XmlQueryJob*, QQuickXmlQueryResult*)’:
qqmlxmllistmodel.cpp:433: error: ‘QXmlQuery’ was not declared in this scope
qqmlxmllistmodel.cpp:433: error: expected `;' before ‘subquery’
qqmlxmllistmodel.cpp:434: error: ‘subquery’ was not declared in this scope
qqmlxmllistmodel.cpp:470: error: ‘QXmlResultItems’ was not declared in this
scope
qqmlxmllistmodel.cpp:470: error: expected `;' before ‘resultItems’
qqmlxmllistmodel.cpp:471: error: ‘resultItems’ was not declared in this
scope
qqmlxmllistmodel.cpp:472: error: ‘QXmlItem’ was not declared in this scope
qqmlxmllistmodel.cpp:472: error: expected `;' before ‘item’
qqmlxmllistmodel.cpp:473: error: ‘item’ was not declared in this scope
make[4]: *** [.obj/release-shared/qqmlxmllistmodel.o] Error 1
make[3]: *** [release] Error 2
make[2]: *** [sub-xmllistmodel-make_default] Error 2
make[1]: *** [sub-imports-make_default-ordered] Error 2
make: *** [module-qtdeclarative-src-make_default] Error 2
cd qtdeclarative && make  exited with status 512 at build line 64
    Qt::Build::exe('Qt::Build=HASH(0x100804ff0)', 'cd qtdeclarative && make
') called at build line 114
    Qt::Build::exeLowPriv('Qt::Build=HASH(0x100804ff0)', 'cd qtdeclarative
&& make ') called at build line 377
    Qt::Build::build_project('Qt::Build=HASH(0x100804ff0)',
'qtdeclarative') called at build line 408
    Qt::Build::build_qt('Qt::Build=HASH(0x100804ff0)') called at build line
437
    Qt::Build::run('Qt::Build=HASH(0x100804ff0)') called at build line 446
'cd qtdeclarative && make ' failed: 512 at build line 377.

Did I miss something?

Regards,
Fan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120407/3960c131/attachment.html>


More information about the Development mailing list