Author Topic: Qt 4.3.4  (Read 3296 times)


  • Packager
  • Vectorian
  • ****
  • Posts: 836
    • Multimedia Bonus Disc
Qt 4.3.4
« on: February 28, 2008, 08:00:29 pm »
Could someone build the latest non-qt4.4 version of Qt? I need it to use on the Multimedia Bonus Disc. Thanks!
Registered Linux User #443399
Desktop: Intel Pentium D 3.33Ghz, 320GB hard drive, 2 gigs DDR2 533mhz RAM, NVIDIA Geforce 7800 GS, X2GEN 22" widescreen monitor;
Laptop: Dell Mini 9, Intel Atom 1.6Ghz, 1GB ram
Multimedia Bonus Disc website:


  • Member
  • *
  • Posts: 3
Re: Qt 4.3.4
« Reply #1 on: March 24, 2008, 05:09:03 am »
I would give you the one I've built, but my system is quite changed so I guess it would be a bad idea... But you can use the crux port that I used to build mine, here it is (the credits go to Hannes Mayer, I've just changed the version to the latest one):

Code: [Select]
# Description: Qt Free Edition
# URL:
# Maintainer:  Hannes Mayer, kontakt at ecarux dot de
# Depends on:  x11, libmng


    cd qt-x11-opensource-src-$version

    local SQL
    if pkginfo -i mysql > /dev/null 2>&1; then
        SQL="-qt-sql-mysql -I/usr/include/mysql -L/usr/lib/mysql"

    if [ -d /usr/include/nvidia ]; then
        export CFLAGS="$CFLAGS -I/usr/include/nvidia"
        export CXXFLAGS="$CXXFLAGS -I/usr/include/nvidia"

    sed -i "s|-O2|$CXXFLAGS|" mkspecs/linux-g++/qmake.conf
    sed -i "s|-I. |$CXXFLAGS -I. |" qmake/Makefile.unix

    yes yes |
    ./configure \
-prefix /usr/share/qt \
        -bindir /usr/bin \
        -headerdir /usr/include/qt \
        -libdir /usr/lib \
        -plugindir /usr/lib/qt \
        -platform linux-g++ \
        -release -shared -sm \
-fast -pch -qdbus \
        -tablet -nis -verbose -qt-gif \
        -system-zlib -system-lib{png,jpeg,mng} \
        -no-{exceptions,nas-sound} \
-nomake examples -nomake demos \
        -x{cursor,inerama,kb,randr,render} \
    make install INSTALL_ROOT=$PKG

    rm -rf $PKG/usr/share/qt/{doc,phrasebooks,templates,translations}
    find $PKG/usr -name '*debug' -print0|xargs -0 rm -rf

    ln -s /usr/bin        $PKG/usr/share/qt/bin
    ln -s /usr/include/qt $PKG/usr/share/qt/include
    ln -s /usr/lib        $PKG/usr/share/qt/lib
    ln -s /usr/lib/qt     $PKG/usr/share/qt/plugins
    ln -s linux-g++       $PKG/usr/share/qt/mkspecs/default

    chmod -R u+w,g-sw  $PKG
    chown -R root:root $PKG