FxMax
FxMax

Reputation: 512

Can we use QT with C# to create GUI?

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

Upvotes: 34

Views: 97396

Answers (4)

Zarazlik
Zarazlik

Reputation: 1

I'm adding information for the beginning of 2023.

At the moment, for creating cross-platform applications, there is a convenient MAUI interface for C#. (https://learn.microsoft.com/en-us/dotnet/maui/what-is-maui?view=net-maui-7.0)

Upvotes: -2

Ivaylo Milanov
Ivaylo Milanov

Reputation: 180

Yes you can certainly use QT in C# via its binding, but this will not be a managed solution. The main reason to use QT in your project, is if you are building a cross-platform application in C#. If this is your task, you can consider using Nevron Open Vision for .NET (https://www.nevron.com/products-open-vision.aspx) - this is a managed C# only cross-platform GUI that will help you seamlessly deploy your application on Windows (WinForms, WPF), macOS (Xamarin.Mac) and Web (Blazor-WebAssembly).

Upvotes: 0

Abdul Rehman
Abdul Rehman

Reputation: 1727

.Net C# and QT are totally different frameworks but there is .Net binding for QT

My advice is do not combine frameworks they can introduce so many issues, as you said that you are a beginner you can learn Telerik UI for nice user interface

EDIT:

If you are going to combine them regardless of the suggestions not to, then at the very least, do so in places where it would make the most sense. Write a particular "layer" using one framework over another. For instance, write your GUI in QT, but write your Data and/or Business Logic layer in C#, etc... That would be about the lowest level I would go in trying to combine disparate frameworks. Gmiley is right, I did the same thing when I was working on Arduino

Upvotes: 25

user4569486
user4569486

Reputation:

official Qt project support below languages: c++,Qml(Quick project), Html ,CSS,JavaScript,JSON,xml //i note html,css,json,xml are not language programming ,are Contract

other branches:

project Qt Jambi - Official Site jambi for java programing

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

for C# robust project i didn't see.

Upvotes: 0

Related Questions