Details
-
Suggestion
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
None
-
None
Description
Currently there are no official cross platform CSharp bindings to use Qt from CSharp. Given that .Net is split into .net Framework, .Net Core and Mono, this is understandable as it would have been too big of a task since Qt is a C++ library and not a .Net library.
However I think Qt should consider adding support due to the upcoming .Net 5. With all major platforms (win, linux, mac, ios, android) being supported by one .Net runtime/sdk, there will only one set of bindings be required.
.Net offers many classes handling many of the things offered by Qt. But there is no cross platform gui framework available (although some community projects are working on this). And Microsoft said that they don't intent to add one in the near future, leaving the upcoming .Net 5 with it's platform dependent guis like WPF. Therefor It would not be necessary to add bindings for the entire Qt framework.
Adding Qt's cross platform gui capabilities, mainly through QtQuick/QML, would be a great oppurtunity for both Qt and the Qt and .Net communities. It would also add an the only alternative to .Net's XAML approach (I personaly don't consider xml very readable, and looking through the forums there seem to be many people who would prefer a QML-like approach over XAML).
As a possible starting point I would like to mention [this project|https://github.com/qmlnet/qmlnet]. It allows to use QML guis with CSharp applications. However the author is currently working on this alone. Right now it only supports Qt 5.10 and does not support Android or Linux. Supporting this project might be a good alternative to creating your own bindings, if you would prefer that.