Code Monkey home page Code Monkey logo

qtsharp's Introduction

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#.

qtsharp's People

Contributors

ddobrev avatar durswd avatar golddranks avatar hecatron avatar kekl avatar tritao avatar txdv avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.