Can we use QT with C # to create a GUI?

I'm new to C #, and I just need to know if we can use QT to create a nice GUI with C #. I know that QT supports C ++. But what about C #?

+7
c ++ c # qt
source share
3 answers

.Net C # and QT are completely different structures, but . Net Binding for QT

My advice is not to combine the framework that they can present so many problems, since you said that you are a beginner, you can learn Telerik UI for a good user interface

EDIT:

If you intend to combine them regardless of the proposals, and not whenever possible, do it in those places where it will make the most sense. Write a specific β€œlayer” using one structure over another. For example, write your GUI in QT, but write your level of data and / or business logic in C #, etc. This will be the lowest level that I would try to combine disparate frameworks. Gmiley is right, I did the same when I worked on Arduino

+10
source share

official support for the Qt project below languages: C ++, Qml (Quick project), Html, CSS, JavaScript, JSON, xml // i note html, css, json, xml are not language programming, they are a contract

other branches:

Qt Jambi project - The official jambi site for java programming

PyQt - for programming in Python https://wiki.python.org/moin/PyQt

for C # I have not seen a reliable project.

+1
source share

Now I risk getting a lot of dislike for this answer, but I would recommend dislike before adding - you are very familiar with C # /. Net technology and especially mix it with native C ++. I would say that there are quite a few drawbacks in C #, so before choosing it, do a triple analysis of the technology.

Here is one document that describes common issues when developing C #:

https://docs.google.com/document/d/17QDpLtQ1ttw7rHxwstPH_9SEOhVtSuqAGhC7xt_GbCs/edit

So, my recommendation is to choose only one technology: based on C ++, if you have some components based on .NET, try to get rid of them in the end.

In addition to QT, there are other alternatives, such as:

  • JUCE - https://juce.com/ - User Interface Interface (commercial open source)
  • Godot - https://godotengine.org/ - a game engine mainly intended for games, but the user interface is supported to some extent (fully open source, MIT License)
0
source share

All Articles