Fix syntax error and QT API var handling.