Qt Creator: Clean up the construction of the command line arguments

Change-Id: I8cbbed9fdd9104af9f22d9c16b69e446aee32a1f
Reviewed-by: Kai Koehne <kai.koehne@digia.com>