<p>I want to write a front-end to an application written in C/C++.  </p>

<p>I use Solaris 10 and plan to port the application to some other architectures (Windows first).</p>

[{'answer_id': 29565, 'author': 'garethm', 'author_id': 2219, 'author_profile': 'https://Stackoverflow.com/users/2219', 'pm_score': 2, 'selected': False, 'text': '<p>I\'d recommend taking a look at <a href="http://www.wxwidgets.org/" rel="nofollow noreferrer">wxWidgets</a> to provide some cross platform UI widgets that will work on Solaris and Windows.</p>\n'}, {'answer_id': 29566, 'author': 'Frank Krueger', 'author_id': 338, 'author_profile': 'https://Stackoverflow.com/users/338', 'pm_score': 1, 'selected': False, 'text': '<p>On a Mac, this would be easy. The Cocoa API is great when programming in Objective C (which compiles fine with C/C++ files).</p>\n\n<p>Otherwise the situation is a bit more grim. As for Rapid prototype, you might want to check the CodeGear (Borland/C++ Builder) tools. I think their VCL library is cross-platform.</p>\n\n<p>Otherwise, you could interface with a scripting language like Ruby and use fantastic front end libraries like Shoes. Python also interfaces with <a href="http://www.wxwidgets.org/" rel="nofollow noreferrer">wxWidgets</a> to make writing cross-platform front ends easy. Keep in mind that this all requires taking time to make sure your C/C++ code can talk to the scripting language. This is not trivial, and the amount of effort required depends upon the style of your code base. (Oh my God.)</p>\n\n<p>Lastly, you could just use wxWidgets itself. This might be your best bet since it requires no additional overhead than coding the UI itself. That said, C++ is not the greatest language for designing UIs.</p>\n\n<p>And super lastly, consider writing a code generator that converts from say Shoes to whatever wxWidgets code is needed to generate the same Shoes app. That way you can do easier UI design but still get C++ code in the end. Likewise, you could code gen off of the Python/wxWidgets code. Then sell such a code generator. :-)</p>\n'}, {'answer_id': 29567, 'author': 'Imran', 'author_id': 1897, 'author_profile': 'https://Stackoverflow.com/users/1897', 'pm_score': 2, 'selected': False, 'text': '<p>Qt 4 is the best tool for this job. If you want to work with other languages, it also has bindings for Java and Python</p>\n'}, {'answer_id': 29788, 'author': 'aib', 'author_id': 1088, 'author_profile': 'https://Stackoverflow.com/users/1088', 'pm_score': 0, 'selected': False, 'text': '<p>I use <a href="http://www.wxwidgets.org/" rel="nofollow noreferrer">wxWidgets</a> myself. It makes good use of the C++ language features and uses smart pointers, so object and memory management is not that hard. In fact, it feels like writing in a scripting language.</p>\n\n<p>Coupled with a dialog editor/code generator like <a href="http://wxformbuilder.org/wp-content/uploads/wxfb_v30-beta3-002.png" rel="nofollow noreferrer">wxFormBuilder</a> or <a href="http://www.roebling.de/snap1.gif" rel="nofollow noreferrer">wxDesigner</a>, (links to screenshots) it becomes a good toolkit for rapid development.</p>\n'}, {'answer_id': 29990, 'author': 'epatel', 'author_id': 842, 'author_profile': 'https://Stackoverflow.com/users/842', 'pm_score': 0, 'selected': False, 'text': '<p>Have a look at <a href="http://fltk.org/index.php" rel="nofollow noreferrer">FLTK</a> which supports X11 and Windows.</p>\n'}, {'answer_id': 45423, 'author': 'Tim Williscroft', 'author_id': 2789, 'author_profile': 'https://Stackoverflow.com/users/2789', 'pm_score': 1, 'selected': False, 'text': "<p>GTK-- and Glade.</p>\n\n<p>Thats' the C++ bindings on GTK</p>\n\n<p>GTK will work on windows ( just look at GIMP )</p>\n\n<p>Works everywhere, no QT license to mess with your millions-making.</p>\n"}, {'answer_id': 45432, 'author': 'Chris de Vries', 'author_id': 3836, 'author_profile': 'https://Stackoverflow.com/users/3836', 'pm_score': 0, 'selected': False, 'text': '<p><a href="http://www.ultimatepp.org/" rel="nofollow noreferrer">Ultimate++</a> is a cross platform rapid application development framework for C++. It is aimed specifically at rapid development. The Ultimate++ website provides some comparisons to other frameworks mentioned such as Qt and wxWidgets.</p>\n'}, {'answer_id': 45497, 'author': 'Eugene Yokota', 'author_id': 3827, 'author_profile': 'https://Stackoverflow.com/users/3827', 'pm_score': 0, 'selected': False, 'text': '<p>I have used <a href="http://www.asp.net/get-started/" rel="nofollow noreferrer">ASP.NET</a> Web Forms to make UI front-end to collection of command line application written in legacy language, RESTful-ish web service, and bash scripts.</p>\n\n<p>Once it works on Firefox, it should work at least on Firefox on other architecture. If you haven\'t played around with it, you should give ASP.NET a try (<a href="http://www.asp.net/mvc/" rel="nofollow noreferrer">ASP.NET MVC</a> seems to be the current trend). Not quite the same as RAD, but it does give you visual design of forms etc. </p>\n'}]
['https://Stackoverflow.com/questions/29555', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3006/']