百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
Q

QtSharp

> 数据库
开源

Qt 的 Mono/.NET 绑定

582 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Qt 的 Mono/.NET 绑定

This repository is obsolete. For new code and binary releases please visit https://gitlab.com/ddobrev/QtSharp.

QtSharp

Mono/.NET bindings for Qt

This project aims to create Mono/.NET libraries that wrap Qt (https://qt-project.org/) thus enabling its usage through C#. It relies on the excellent CppSharp (https://github.com/mono/CppSharp). It is a generator that expects the include and library directories of a Qt set-up and then generates and compiles the wrappers. While still in development, it should work with any Qt version when complete. There is no Qt included in the repository, users have to download and install Qt themselves. For now, Qt MinGW for Windows has been the only tested version. Qt for OS X and Linux are planned, Qt for VC++ has not been planned for now.

The source code is separated into a library that contains the settings and passes the generator needs, and a command-line client. In the future a GUI client, constructed with Qt# itself, is planned as well.

The are binary releases for Windows and Qt MinGW at https://github.com/ddobrev/QtSharp/releases. They are in an alpha stage. As they get more stable, binaries for other operating systems will be added as well.

Getting started

You need to deploy Qt itself by following http://doc.qt.io/qt-5/windows-deployment.html#application-dependencies . In addition, for each Qt module you use you also need Qt-inlines.dll deployed alongside your executable. You can use QtSharp with any C# IDE, including Visual Studio, but make sure your executable is 32-bit by either using the x86 configuration or AnyCPU with "Prefer 32-bit" checked.

Examples

You can find examples at https://github.com/dsoronda/QtSharpDemos and https://github.com/grbd/QtSharp.TestApps . Thanks to https://github.com/dsoronda and https://github.com/grbd.

Documentation

  1. Building - QtSharp
  2. Running - QTSharp CLI
  3. Running - NUnit Tests
  4. Building - CppSharp

Coverage

QtSharp has been tested only with Qt for MinGW, and with Qt's built-in MinGW set-up, so far.

Funding

In order to speed up the development of the project, I've been looking for funding. There are 2 ways for that. The first one is sponsoring Qt# itself. The second way would be paid assignments related to CppSharp - for example bindings for other C++ libraries. Either way is going to immensely benefit Qt#.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#bindingbridgecross-platformcsharp

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库