Convert input param from qt type to cocos type