Hi
I've just tried a few builds.
Mac OS X 10.5.6 (Intel) macx-g++. QtDbus not chosen by configure, but
everything else configured and built OK.
Then, same machine, tried installing Fink dbus. No change to configure.
So I gave up with dbus.
3rd time on the same Mac, this time with GCC 4.2 and -arch x86.
Next platform, Solaris 10 (on amd64), solaris-cc with Studio 12. I
didn't bother trying to build with the shipped qmake.conf which is
getting hopelessly out of date. Here are my diffs to bring it into the
21st century:
diff qmake.conf qmake.conf.orig
17c17
< QMAKE_CFLAGS = -xc99 -errtags=yes -D_XOPEN_SOURCE=600
-D__EXTENSIONS__
---
> QMAKE_CFLAGS =
19c19
< QMAKE_CFLAGS_WARN_ON = +v
---
> QMAKE_CFLAGS_WARN_ON =
29c29
< QMAKE_CXXFLAGS = -library=stlport4 -errtags=yes
---
> QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
31c31
< QMAKE_CXXFLAGS_WARN_ON = +w2
---
> QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
33c33
< QMAKE_CXXFLAGS_RELEASE = -O
---
> QMAKE_CXXFLAGS_RELEASE = -O2
51c51
< QMAKE_LFLAGS = -library=stlport4
---
> QMAKE_LFLAGS =
78c78
< QMAKE_CLEAN =
---
> QMAKE_CLEAN = -r $(OBJECTS_DIR)Templates.DB
$(OBJECTS_DIR)SunWS_cache
None of the following configured:
QtDBus module ....... no
QtXmlPatterns module no
Phonon module ....... no
WebKit module ....... no
PCH support ......... no
MMX/3DNOW/SSE/SSE2.. no/no/no/no
getifaddrs support .. no
CUPS support ........ no
Iconv support ....... no
GStreamer support ... no
For PCH and SSE, this is probably because there is no effort made to use
the approproate compiler switches. For the others, due to missing
dependencies (though I didn't check).
What does get past configure builds (with a somewhat scary 76078
warnings with the above qmake.conf).
Looking at the configure file
solaris-cc*)
# Check the compiler version
case `${QMAKE_CONF_COMPILER} -V 2>&1 | awk '{print $4}'` in
*)
canBuildWebKit="no"
canBuildQtXmlPatterns="no"
;;
esac
;;
That's a poor show considering both could build with Qt 4.4.3.
Not being one to give up easily, I edited configure so that solaris-cc*
would attempt to build WebKit and QtXmlPatterns.
QtXmlPaterns failed to build with the following error:
"api/qxmlquery.cpp", line 945: Error, badlinkage:
setFocusHelper<TInputType>(QXmlQuery*const, const TInputType&) was
previously declared "extern", not "static".
I tried fixing that defect, then I got
"../../include/QtXmlPatterns/private/../../../src/xmlpatterns/api/qabstractxmlforwarditerator_p.h",
line 69: Error, badtunaryop: The operation "! const QString" is illegal.
and I'm giving up with QtXmlPatterns.
WebKit fails with
"../JavaScriptCore/wtf/Vector.h", line 47: Error, usererror: #error
WTF_ALIGN macros need alignment control..
Looking at the source, it will only compile with compilers that support
the non-standard __alignof or __alignof__ extensions.
Time permitting, I'll also give OpenSolaris/solaris-cc, freebsd-g++ and
linux-icc a whirl.
Paul
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback