- download Qt 4.8.0
- Set Path to include the compiler ( /opt/SUNWspro/bin )
- adjust the compiler settings to include the X11 libraries and include
qt-everywhere-opensource-src-4.8.0/mkspecs/solaris-cc/qmake.conf
QMAKE_INCDIR_X11 = /usr/X11/include
QMAKE_LIBDIR_X11 = /usr/X11/lib
QMAKE_INCDIR_OPENGL = /usr/X11/include
QMAKE_LIBDIR_OPENGL = /usr/X11/lib - configure:
CC=/opt/SUNWspro/bin/cc CXX=/opt/SUNWspro/bin/CC CXXFLAGS="-library=stlport4" LDFLAGS="-library=stlport4" ./configure --prefix=/tools/qt/4.8.0 -opensource - gmake
- qfiledialog.cpp:886 needed the code from the else part of the preprocessor
- helloconcurrent.cpp failed to compile ( it is from the examples )
had to do some tricking with the including of qfuture.h and the
path to src/corelib/concurrent/qfuture.h from include/QtCore/qfuture.h
I remove QFuture from helloconcurrent.cpp and the whole compile succeede, with some adjustments before.
Dec 28, 2011
Compiling Qt 4.8.0 on OpenIndiana 151
Procedure:
Subscribe to:
Post Comments (Atom)

1 comment:
Have you tried using the -plat solaris-cc-stlport option when running configure? Then as long as the SUNWspro/bin directory is on your path it should use it. That should clear up the need for the CXXFLAGS and LDFLAGS.
Post a Comment