[Development] Requesting a repository for Qt/.NET

Alex Blasche alexander.blasche at qt.io
Mon May 15 14:22:26 CEST 2023

Hi Miguel,

please go ahead.


From: Development <development-bounces at qt-project.org> on behalf of Miguel Costa via Development <development at qt-project.org>
Sent: Tuesday, 9 May 2023 15:27
To: development at qt-project.org
Subject: [Development] Requesting a repository for Qt/.NET


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.

--Miguel Costa

Development mailing list
Development at qt-project.org

More information about the Development mailing list