Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Making a GUI for a Fully compiled and working C Code using Qt



  • Hello Everyone. I am new to Qt. I have a C code which takes in two long integer values from the users and after doing a search operation returns two strings. I want to build a GUI for the same. Where in the user will enter 2 numbers in two line edit boxes, after which these two numbers be passed to my C Code and the strings be displayed in 2 more line edit boxes.
    Any help is appreciated.



  • @anadimisra27

    One way could be to include the source code of your C program into your Qt Project.
    The other would be to call the binary with QProcess and read its output.


Log in to reply