[Slackbuilds-users] VirtualBox

xgizzmo at slackbuilds.org xgizzmo at slackbuilds.org
Fri Sep 26 12:00:16 UTC 2008


On Friday 26 September 2008 06:09:55 Audrius Kažukauskas wrote:
>  and I've built VBox with
> VBOXUSERS=no QT4=yes QT3=no flags.

If you use QT3=no it effectively disables QT4 also,
as you can see from this bit of code from the SlackBuild.

#<--- if no QT3 jump down to the last else
if [ "$QT3" = "yes" ]; then       
    qt3gui="--with-qt-dir=/usr/lib/qt"

    if [ "$QT4" = "yes" ]; then
        patch -d src/VBox/Installer/linux -i $CWD/VBox.diff
        qt4gui="--with-qt4-dir=/usr/lib/qt4"
        GUI="VirtualBox VirtualBox3"
    else
        cd src/VBox/Installer/linux
            sed -i "s|/VirtualBox|/VirtualBox3|" VBox.sh
        cd -
        qt4gui="--disable-qt4"
        GUI="VirtualBox"
    fi
#<----- last else way down here    
else              
    qt3gui="--disable-qt3"
fi

QT4=yes QT3=yes should make things work as you expected.

David Somero


More information about the SlackBuilds-users mailing list