cd $QTDIR
./configure -system-zlib -no-imgfmt-png -no-imgfmt-jpeg -no-imgfmt-mng -no-qvfb -stl
