qlmanage -p $argv >/dev/null 2>&1
I do this with man pages but it opens up in a full Preview window, not QuickLook.
qlmanage -p <(man man) >/dev/null 2>&1