[Development] Qt 4.8.4 Mac Build Failed 2

william lee welemon at gmail.com
Wed Jan 9 13:45:38 CET 2013


Hi,
same as previous email, if I use Carbon option to bypass the Cocoa port
build error, it still build failed.
macx-g++ on Mac 10.6.8

./configure -opensource -qtnamespace AAA -qtlibinfix AAA -shared -carbon
-no-framework
then
make

will get following compiler error:
gcc -c -pipe -g -arch i386 -arch i386 -Xarch_i386 -mmacosx-version-min=10.4
-fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -DQT_SHARED
-DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT
-DQT_USE_QSTRINGBUILDER -DQT_USE_BUNDLED_LIBPNG -DPNG_NO_ASSEMBLER_CODE
-DQT_NO_CUPS -DQT_NO_LPR -DQT_NO_OPENTYPE -DQT_NO_STYLE_WINDOWSVISTA
-DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE
-DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC
-DQT_CORE_LIB -DQT_NAMESPACE=AAA -DQT_NAMESPACE_MAC_CRC=1721774503
-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 -I../../mkspecs/macx-g++ -I.
-I../../include/QtCore -I../../include -I../../include/QtGui
-I.rcc/debug-shared -Iimage -I../3rdparty/libpng -I../3rdparty/harfbuzz/src
-Idialogs -I.moc/debug-shared -I.uic/debug-shared
text/qfontengine_mac.mm-o .obj/debug-shared/qfontengine_mac.o
In file included from text/qfontengine_mac.mm:42:
text/qfontengine_mac_p.h:50: error: expected class-name before ‘{’ token
text/qfontengine_mac_p.h:53: error: expected ‘,’ or ‘...’ before ‘&’ token
text/qfontengine_mac_p.h:53: error: ISO C++ forbids declaration of
‘QFontDef’ with no type
text/qfontengine_mac_p.h:56: error: expected ‘,’ or ‘...’ before ‘*’ token
text/qfontengine_mac_p.h:56: error: ISO C++ forbids declaration of ‘QChar’
with no type
text/qfontengine_mac_p.h:57: error: ‘QGlyphLayout’ has not been declared
text/qfontengine_mac_p.h:57: error: ‘QTextEngine’ has not been declared
text/qfontengine_mac_p.h:59: error: expected ‘,’ or ‘...’ before ‘&’ token
text/qfontengine_mac_p.h:59: error: ISO C++ forbids declaration of
‘QGlyphLayout’ with no type
text/qfontengine_mac_p.h:62: error: ‘QFixed’ does not name a type


Is this known issue in Qt 4.8.4?

Does it mean Qt 4.8.4 on Mac OS not support qtnamespace feature?

thanks,
William L.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130109/96253e2f/attachment.html>


More information about the Development mailing list