<p>I have a large GUI project that I'd like to port to Linux.
What is the most recommended framework to utilize for GUI programming in Linux? Are Frameworks such as KDE / Gnome usable for this objective  Or is better to use something more generic other than X?</p>

<p>I feel like if I chose one of Gnome or KDE, I'm closing the market out for a chunk of the Linux market who have chosen one over the other.  (Yes I know there is overlap)  </p>

<p>Is there a better way? Or would I have to create 2 complete GUI apps to have near 100% coverage?</p>

<p>It's not necessary to have a cross-platform solution that will also work on Win32.</p>

[{'answer_id': 35768, 'author': 'Bernard', 'author_id': 61, 'author_profile': 'https://Stackoverflow.com/users/61', 'pm_score': 2, 'selected': False, 'text': "<p>Gnome apps work on KDE desktops and vice versa; you won't be locking anyone out. As far as toolkits go, it's fairly subjective. All of the toolkits are fairly cross-platform. If you're not open source, then GTK+ would be the cheaper option, as Qt is only free for open source use, whereas GTK+ is LGPL.</p>\n"}, {'answer_id': 35770, 'author': 'Zack Elan', 'author_id': 2461, 'author_profile': 'https://Stackoverflow.com/users/2461', 'pm_score': 5, 'selected': True, 'text': '<p>Your best bet may be to port it to a cross-platform widget library such as <a href="http://en.wikipedia.org/wiki/WxWidgets" rel="noreferrer">wxWidgets</a>, which would give you portability to any platform wxWidgets supports.</p>\n\n<p>It\'s also important to make the distinction between Gnome libraries and GTK, and likewise KDE libraries and Qt. If you write the code to use GTK or Qt, it should work fine for users of any desktop environment, including less popular ones like XFCE. If you use other Gnome or KDE-specific libraries to do non-widget-related tasks, your app would be less portable between desktop environments.</p>\n'}, {'answer_id': 35779, 'author': 'Mike Thompson', 'author_id': 2754, 'author_profile': 'https://Stackoverflow.com/users/2754', 'pm_score': 0, 'selected': False, 'text': '<p>Have you thought of using Mono? Programs like Paint.NET work great under Linux &amp; Windows.</p>\n'}, {'answer_id': 35780, 'author': 'Anders Sandvig', 'author_id': 1709, 'author_profile': 'https://Stackoverflow.com/users/1709', 'pm_score': 3, 'selected': False, 'text': '<p>I recommend <a href="http://www.wxwidgets.org/" rel="noreferrer">wxWidgets</a> or <a href="http://www.trolltech.no/" rel="noreferrer">Qt</a>. They are both mature, well-structured and cross-platform, with decent documentation and sample source code.</p>\n'}]
['https://Stackoverflow.com/questions/35762', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3153/']