Registering .NET objects.
To instantiate a .NET type and to begin using it in QML, it must be registered.
Qml.RegisterType<YourNetObject>("YourApp", 2, 1);
Then you can import and use your type in QML.
import YourApp 2.1
YourNetObject {
}
To instantiate a .NET type and to begin using it in QML, it must be registered.
Qml.RegisterType<YourNetObject>("YourApp", 2, 1);
Then you can import and use your type in QML.
import YourApp 2.1
YourNetObject {
}