C++ console application to Qt GUI
-
Or, you just keep the GUI and backend separate, and communicate with the backend process via QProcess.
You will not need a complete re-code in any way you do it, but you probably will need to wrap your existing code a bit to make it ready to interact with a GUI.
-
Would it be an option to re-factor your original code into two pieces? You might create a library (either static or dynamic) that contains the business end of the code. Then, your command line app can build a simple layer on top of that lib to basically just control the I/O: parse the input parameters, and output results to stdout.
You could then use that same lib in your GUI application.
-
I was thinking that when I did a bit of research but I have no idea how to implement this. I have only just started with programming (I have a php background) but I'm picking it up fairly quickly. Any resources I can read up on to get this sorted? I use visual studio 2010 express if that helps.