Qt strikes ahead on toolkit for .NET-C++ interoperability

Qt Group is shifting ahead with Qt/.NET, a proposed toolkit for interoperability between C++ and Microsoft’s .NET software program improvement platform.

The toolkit features a Qt-based customized native host for managing assemblies, together with a native-to-managed adapter module offering interoperability providers corresponding to occasion technique invocation, occasion notification, and object-lifecycle administration, in accordance with an August 30 weblog publish. Qt/.NET’s proposed plan for Qt and .NET interoperability contains implementing C# interfaces in C++ and defining .NET varieties that stretch Qt courses.  

The toolkit allows native object encapsulation. By extending the QDotNETInterface, C++ objects can develop into accessible to .NET as implementations of C# interfaces, QT stated. The Qt/.NET adapter achieves this by providing a managed object to function a proxy of the native implementation. This proxy is created by the QDotNETInterface constructor and accommodates an inventory of callbacks offered as interface member implementations. From a managed code perspective, the proxy implements the interface and members which are invoked by different .NET objects. Additionally, Qt courses will be prolonged in .NET.

Leave a Reply

Your email address will not be published. Required fields are marked *