Thiago Macieira wrote: > Paul Floyd wrote: > >>>Time permitting, I'll also give OpenSolaris/solaris-cc, freebsd-g++ >>>and linux-icc a whirl. >> >>Well, freebsd-g++ didn't fare too well: >> >>[FreeBSD 7.1-RELEASE patch 2] >> >>cd src/gui/ && make -f Makefile >>g++ [snip] -x c++-header -c kernel/qt_gui_pch.h -o >>.pch/release-shared/QtGui.gch/c++ >>In file included from ../../include/QtCore/qatomic_arch.h:1, >>... >>../../include/QtCore/../../src/corelib/arch/qatomic_arch.h:83:4: error: >>#error "Qt has not been ported to this architecture" > > > QtCore compiled but not QtGui? > > What architecture got defined in qconfig.h (src/corelib/global) ? Search > for QT_ARCH_* defines.
I just had some more thoughts about this. The system has Qt installed (4.4.1). The failed compile line has /usr/local/include before -I../../include/*. And qconfig.h in /usr/local/include does not define QT_ARCH_[anything]. In corelib, /usr/local/include gets added to the end of CXXFLAGS, whilst in gui it's in: CFLAGS = -pipe -g -O2 -fvisibility=hidden -Wall -W -pthread -D_THREAD_SAFE -I/usr/local/include -fPIC $(DEFINES) CXXFLAGS = -pipe -g -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -pthread -D_THREAD_SAFE -I/usr/local/include -fPIC $(DEFINES) and C[XX]FLAGS gets used before INCFLAGS. I'll see if I can find a workaround this evening. A+ Paul _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
