Fixed argument parsing for --qt.