Qt's doc, says that :
Components are reusable, encapsulated QML types with well-defined interfaces.
Components are often defined by component files - that is, .qml files. The Component type essentially allows QML components to be defined inline, within a QML document, rather than as a separate QML file.
What is the meaning of "encapsulated QML types with well-defined interfaces" ?
Also when it comes to define a new QML object type, from Qt's doc we have :
To create an object type, a QML document should be placed into a text file named as TypeName.qml where TypeName is the desired name of the type
So what is the difference between a QML component and a QML object type ?
Thank you.