Merge "Check return values for native setCallback() methods" into qt-dev