Hi,
I'm using OS 10.5.6 on a MBP C2D.
I would like Qt to use Coca on PPC (32bit) and i386 (both 32 and 64
bits) so I configure Qt this way:
./configure -verbose -release -no-mmx -no-3dnow -no-sse -arch ppc -
arch x86 -arch x86_64 -cocoa
(the "-no-mmx -no-3dnow -no-sse" comes from
http://www.mail-archive.com/[email protected]/msg00494.html)
and "make" gives me this error:
. . .
<lots of lines with no error>
. . .
g++ -c -Winline -Xarch_i386 -msse2 -Xarch_x86_64 -msse2 -pipe -
fconstant-cfstrings -O2 -fvisibility=hidden -fvisibility-inlines-
hidden -Wall -W -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -
arch i386 -Xarch_i386 -mmacosx-version-min=10.4 -arch ppc -Xarch_ppc -
mmacosx-version-min=10.3 -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -
DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -
DQT_MOC_COMPAT -DPNG_NO_ASSEMBLER_CODE -DQT_RASTER_IMAGEENGINE -
DQT_NO_CUPS -DQT_NO_LPR -DQT_HAVE_SSE2 -DQT_NO_FREETYPE -
DQT_NO_OPENTYPE -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -
DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -
DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/
QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -
I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -
Idialogs -I.moc/release-shared -I.uic/release-shared -F/Users/Sylvain/
NexGen/NexGenSVN/Externals/trunk/qt_4.5.0-beta1/lib painting/
qdrawhelper_sse2.cpp -o .obj/release-shared/qdrawhelper_sse2.o
../../include/QtGui/../../src/gui/painting/qregion.h: In member
function ‘OpaqueRgnHandle* QRegion::handle(bool) const’:
../../include/QtGui/../../src/gui/painting/qregion.h:153: error:
‘toQDRgn’ was not declared in this scope
lipo: can't open input file: /var/folders/yt/ytGAZIMtHt0eute3eGZwgk++
+TI/-Tmp-//ccghW25q.out (No such file or directory)
make[2]: *** [.obj/release-shared/qdrawhelper_sse2.o] Error 1
make[1]: *** [release] Error 2
make: *** [sub-gui-make_default-ordered] Error 2
Looks like QT_MAC_USE_COCOA is not defined all the time??
TIA
Sylvain
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback