[Development] Requesting a repository for Qt/.NET

Miguel Costa miguel.costa at qt.io
Tue May 9 15:27:50 CEST 2023


Hi,

On behalf of the dev team working on the Qt and VS integration, I would like to request a new repository where we can base a .NET integration module that we've recently been working on.

Name of the repository: qt-labs/qtdotnet.git
Description: The Qt/.NET library enables the integration of Qt with .NET libraries and applications.
Responsible person: Miguel costa
Gerrit user/email: mecfc / miguel.costa at qt.io

Qt/.NET implements a custom .NET host (cf. https://learn.microsoft.com/en-us/dotnet/core/tutorials/netcore-hosting) which allows calling into managed code from native C++. The library also supports writing C++ wrapper classes for managed types, to encapsulate the details of using the .NET host. These wrapper classes can be based on QObject, allowing a tight integration of managed code with Qt features like signal-slot connections or the Qt property system.

For more details, see the README at: https://git.qt.io/micosta/qtdotnet
Relevant topics:
  * Calling .NET static methods
  * Handling .NET exceptions
  * Creating .NET objects
  * Calling instance methods
  * Writing C++ wrapper classes for .NET types
  * Emitting Qt signals from .NET events
  * Using .NET objects in QML
  * Using QML in a WPF application
  * Example application: QML UI for a .NET module
  * Example application: QML window embedded in WPF application

Thank you for your attention.
Please let me know if you have any questions or comments.

BR,
--Miguel Costa



More information about the Development mailing list