Qt

From Genunix

qt - A cross-platform development framework/toolkit

Contents

Rating

3 points (out of 4)

Rating scheme: 4 points means the source builds seamlessly on Solaris Express (OpenSolaris). Points are subtracted as follows:

  • Minus 1 if the source doesn't come with an automated way to localize the build (e.g. configure)
  • Minus 1 if the source won't compile with Sun's cc (this usually means the code is gcc-centric)
  • Minus 1 if a minor patch is required, or
  • Minus 2 if a major patch(es) is required

How to build qt-x11-opensource-src-4.2.1 on Solaris Express

Build Environment (platform, compiler, tools, PATH, ld)

Configure and compile steps (on x86 hardware)

/usr/bin/gzip -dc qt-x11-opensource-src-4.2.1.tar.gz | /usr/sfw/bin/gtar xf -

cd qt-x11-opensource-src-4.2.1

export CC=/usr/sfw/bin/gcc
export CXX=/usr/sfw/bin/g++
export CFLAGS="-O4 -fPIC -DPIC -Xlinker -i -fno-omit-frame-pointers"
export LDFLAGS="-Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect"

echo yes | ./configure -prefix /usr \
           -platform solaris-g++ \
           -docdir /usr/share/doc/qt \
           -headerdir /usr/include/qt \
           -plugindir /usr/lib/qt/plugins \
           -datadir /usr/share/qt \
           -translationdir /usr/share/qt/translations \
           -examplesdir /usr/share/qt/examples \
           -demosdir /usr/share/qt/demos \
           -sysconfdir /etc

make

Other configure options

output of ./configure --help

Directory paths that qt installs to

bin
include
include/private
lib
lib/pkgconfig
lib/qt/plugins/designer
lib/qt/plugins/imageformats
share/doc/qt/html
share/qt/mkspecs/aix-g++
share/qt/mkspecs/aix-g++-64
share/qt/mkspecs/aix-xlc
share/qt/mkspecs/aix-xlc-64
share/qt/mkspecs/bsdi-g++
share/qt/mkspecs/cygwin-g++
share/qt/mkspecs/darwin-g++
share/qt/mkspecs/dgux-g++
share/qt/mkspecs/freebsd-g++
share/qt/mkspecs/freebsd-g++34
share/qt/mkspecs/freebsd-icc
share/qt/mkspecs/hpux-acc
share/qt/mkspecs/hpux-acc-64
share/qt/mkspecs/hpux-acc-o64
share/qt/mkspecs/hpux-cc
share/qt/mkspecs/hpux-g++
share/qt/mkspecs/hpux-g++-64
share/qt/mkspecs/hpuxi-acc-32
share/qt/mkspecs/hpuxi-acc-64
share/qt/mkspecs/hurd-g++
share/qt/mkspecs/irix-cc
share/qt/mkspecs/irix-cc-64
share/qt/mkspecs/irix-cc-o32
share/qt/mkspecs/irix-g++
share/qt/mkspecs/linux-cxx
share/qt/mkspecs/linux-ecc-64
share/qt/mkspecs/linux-g++
share/qt/mkspecs/linux-g++-32
share/qt/mkspecs/linux-g++-64
share/qt/mkspecs/linux-icc
share/qt/mkspecs/linux-kcc
share/qt/mkspecs/linux-kylix
share/qt/mkspecs/linux-pgcc
share/qt/mkspecs/lynxos-g++
share/qt/mkspecs/macx-g++
share/qt/mkspecs/macx-mwerks
share/qt/mkspecs/macx-pbuilder
share/qt/mkspecs/macx-xlc
share/qt/mkspecs/netbsd-g++
share/qt/mkspecs/openbsd-g++
share/qt/mkspecs/qnx-g++
share/qt/mkspecs/reliant-cds
share/qt/mkspecs/reliant-cds-64
share/qt/mkspecs/sco-cc
share/qt/mkspecs/sco-g++
share/qt/mkspecs/solaris-cc
share/qt/mkspecs/solaris-cc-64
share/qt/mkspecs/solaris-g++
share/qt/mkspecs/solaris-g++-64
share/qt/mkspecs/tru64-cxx
share/qt/mkspecs/tru64-g++
share/qt/mkspecs/unixware-cc
share/qt/mkspecs/unixware-g++
share/qt/mkspecs/win32-borland
share/qt/mkspecs/win32-g++
share/qt/mkspecs/win32-icc
share/qt/mkspecs/win32-msvc
share/qt/mkspecs/win32-msvc.net
share/qt/mkspecs/win32-msvc2005
share/qt/mkspecs/win32-watcom
share/qt/phrasebooks
share/qt/templates
share/qt/translations

Other 3rd party software qt requires

(none)