Use QComObject as base and preserve licensing semantics for IClassFactory
Use QComObject as the base type for QClassFactory so that the common
IUnknown implementation is shared consistently.
Expose IClassFactory2 unconditionally, but return E_NOTIMPL from the
licensing-related methods when the component does not support licensing.
This keeps the external interface shape stable while preserving the
original behavior for non-licensed controls.
Change-Id: I38f651c09bf89cb866c8ecf7ff7f2c5f64ed36ac
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>