Nominate our 2022 Qt Champions!

Create QT hmi for existing C# application

  • Hi all,

    I have an existing C# application with a very simple user interface. First I focussed on the functionality of the application and that is all working. Now I would like to create the HMI in QT, as the posibilities with the stadard window forms are to limited. My C# application consist of 3 classes that should interact with the HMI. What would be the way to go? Can I create a QT project where I insert the required information into the classes and read it out of the classes? How would that look like.

  • Lifetime Qt Champion

    Hi and welcome

    Qt uses C++ and cannot directly use C# classes. (as far as I know)
    It it should be possible using a DLL or via C# bindings
    but it is not simple in any case.

    So if you have only 3 classes, have you considered writing it in c++/Qt and
    avoid all the hassle of mixing these two frameworks?

  • Lifetime Qt Champion

    "as the posibilities with the stadard window forms are to limited" - why?
    What is missing?

Log in to reply