compile_qt() { local ver="$1"; shift qmake-qt$ver PREFIX="$dir_prefix" build_mode=release build_type=shared $@ make make INSTALL_ROOT="$dir_install" install }