[Development] Qt 4.8.4 Mac Build Failed

william lee welemon at gmail.com
Wed Jan 9 12:05:47 CET 2013


Hi,
I downloaded qt-everywhere-opensource-src-4.8.4.tar.gz, and try to build it
on Mac 10.6.8 with macx-g++ spec.
./configure -opensource -qtnamespace AAA -qtlibinfix AAA
then
make
will have following error:

gcc -c -pipe -g -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -arch
x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -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
-F/Users/welemon/Qt/qt-everywhere-opensource-src-4.8.4/lib kernel/
qcocoaapplication_mac.mm -o .obj/debug-shared/qcocoaapplication_mac.o
kernel/qcocoaapplication_mac.mm: In function ‘void
AAA::qt_redirectNSApplicationSendEvent()’:
kernel/qcocoaapplication_mac.mm:206: error: ‘QNSApplication’ was not
declared in this scope
kernel/qcocoaapplication_mac.mm:219: error: ‘QNSApplication’ was not
declared in this scope
make[2]: *** [.obj/debug-shared/qcocoaapplication_mac.o] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-gui-make_default-ordered] Error 2

Is this a known issue/bug of Qt 4.8.4?

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


More information about the Development mailing list