Alex Rivera | Logout

Easiest way to add a GUI to C++ app

Asked 2011-06-03T22:36:39.690
12

I am producing a piece numerical software in C++ and want to add a GUI (mainly for Windows). I know how to produce GUIs using comfortable editors in modern languages like Java or .NET. Now my question is what is the easiest and most comfortable way to add a GUI frontend for my program. In the choice of the tools am completely free (open source and portability would be nice), but please also keep in mind how much boilerplate code and interfaces that have to be maintained are required if the GUI is implemented in another language (Like C#).

Please don't suggest switching the whole project from C++! And note that the program does not require not much interaction between the C++ code and the GUI.

Edit
Report

2 Answers

5

Qt is a decent choice. It's stable, has a wonderful C++ interface (as opposed to MFC) and has a convenient designer tool.
The overhead of learning it from scratch might however be more that what you're willing to invest. It does have a certain learning curve.

answered 2011-06-03T22:56:51.747
4

wxWidgets would a good choice for a cross platform GUI for C++

answered 2011-06-03T22:52:52.453

Your Answer