I am working on application which need to develope in both windows and linux. I am going to develop the GUI in MFC on windows. I wanted what GUI available specific to Linux. Any body suggest me API for the linux to develop the GUI.
-
2possible duplicate of Linux GUI developmentAron Rotteveel– Aron Rotteveel2011-03-15 10:46:36 +00:00Commented Mar 15, 2011 at 10:46
-
why don't you use a croosplatform gui toolkit like GTK?Heisenbug– Heisenbug2011-03-15 10:47:10 +00:00Commented Mar 15, 2011 at 10:47
-
possible duplicate of stackoverflow.com/questions/1065693/gui-development-in-linuxfouronnes– fouronnes2011-03-15 10:50:13 +00:00Commented Mar 15, 2011 at 10:50
Add a comment
|
4 Answers
I suggest gtkmm. It's modern, portable and object oriented. And it doesn't use a weird pre-compiler :)
Comments
Qt is the best I think.
3 Comments
Mat
and it's portable, so you can (mostly) use the same code on Windows & Linux (and other OSes).
Vikram Ranabhatt
Qt show some time of problem of macro.like QOBJECT doesnot support ifndef(__linux) or #ifndef __WIN32
Casey
That's not actually true. Qt uses its own macros: doc.trolltech.com/4.7/qtglobal.html#Q_WS_X11
GUIs which support several platforms: