X
X
Xandiem2021-11-16 17:26:19
C++ / C#
Xandiem, 2021-11-16 17:26:19

Is C# possible on QT or GTK and if so where is the documentation?

Hi all! I'm learning C# and I want to write programs for Linux but I have no idea what graphic tools.... tools support it...

I heard that GTK can work with C# but I can't find documentation in Russian...

As a result, the question arises... Can qt work with C#, and if not, does anyone know where to find documentation for GTK C# in Russian...

Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Ertanic, 2021-11-16
@Xandiem

Qt is a class library, so you can always write a wrapper over it in order to pull from C#. But this process is long and tedious. A ready -made wrapper for Qt under C#.
To write a UI for Linux, you can use:

  • AvaloniaUI
  • UnoPlatform
  • GTK#
  • WxWidgets (wx.net)

I recommend AvaloniaUI, as it is most similar to WPF or UWP, the installation is simple, and the documentation is clear. As for UnoPlatform, I don’t know, I didn’t have the practice of using it, like with everyone else.
MAUI has been released - the official cross-platform framework directly from microsoft, but the most interesting thing is that when I last looked, the documentation was completely empty, there was not even "Hello, World". Now what, I don't know. It's still too early to switch to it anyway, since it's a rather crude product with a small amount of materials. That is, if a question arises, then the answer may not be found.
UDP.: Looks like "Hello, World" has finally arrived.
UDP2: As stated in the comments to my answer, MAUI does not yet (?) have Linux support, so forget about it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question