Inherited by QExtensionFactory.
This method is abstract and should be reimplemented in any sub-class.