connect message from qt to cocos2d-x