Hi I've just been looking at this file (qt 4.4.1 - not sure if it's changed). I have a suggestion for an improvement. Instead of -L*|-l*|-pthread) LFLAGS="$LFLAGS $PARAM" ;; I'd put -L*) LFLAGS="$PARAM $LFLAGS" ;; -l*|-pthread) LFLAGS="$LFLAGS $PARAM" ;; I.e., ensure that all 0f the -L items come before -l ones. A+ Paul