 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
White Wolf Guest
|
Posted: Tue Jul 26, 2005 6:53 am Post subject: GUI for C++ - but which one? |
|
|
Hi,
I am looking for some advices on choosing a GUI
framework/library/solution... to use with a pet project, which may become
something useful later. I know of two existing, portable and praised
libraries: Qt from Trolltech and wxWidgets. For Qt, my feelings are mixed,
as it is told to be an excellent product - however it is quite long lived
(so it might already experience the symptoms of software.evolution-penalty)
and AFAIK it is only free to use on Linux. The wxWidgets seems to be nice,
however the size of simple executables produces with that system is
surprisingly large.
So I decided to ask the C++ community: what portable GUI solution is to
choose? What (others) are there? What are their strengths/weaknesses?
I am looking for something which provides a reasonable set of "widgets"
(such as trees etc.), does not enforce its own look and feel (uses the
native GUI if that is requested), free to use, not overcomplicated and it
does not have the kitchen sink integrated into it (like no XML support
etc.).
Please share your thoughts!
BTW the pet project I am dreaming about would be strongly C++ related.
--
WW aka Attila
:::
..sdrawkcab dootsrednu tub sdrawrof devil si efiL
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
| Back to top |
|
 |
Maciej Sobczak Guest
|
|
| Back to top |
|
 |
Mirek Fidler Guest
|
Posted: Tue Jul 26, 2005 8:48 am Post subject: Re: GUI for C++ - but which one? |
|
|
| Quote: | I am looking for some advices on choosing a GUI
framework/library/solution... to use with a pet project, which may become
something useful later. I know of two existing, portable and praised
libraries: Qt from Trolltech and wxWidgets. For Qt, my feelings are mixed,
as it is told to be an excellent product - however it is quite long lived
(so it might already experience the symptoms of software.evolution-penalty)
and AFAIK it is only free to use on Linux. The wxWidgets seems to be nice,
however the size of simple executables produces with that system is
surprisingly large.
So I decided to ask the C++ community: what portable GUI solution is to
choose? What (others) are there? What are their strengths/weaknesses?
I am looking for something which provides a reasonable set of "widgets"
(such as trees etc.), does not enforce its own look and feel (uses the
native GUI if that is requested), free to use, not overcomplicated and it
does not have the kitchen sink integrated into it (like no XML support
etc.).
Please share your thoughts!
BTW the pet project I am dreaming about would be strongly C++ related.
|
Well, if you insist... I believe you cannot beat Ultimate++
upp.sf.net
in terms of low source code complexity.
Mirek
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
| Back to top |
|
 |
Anthony Williams Guest
|
Posted: Tue Jul 26, 2005 10:38 am Post subject: Re: GUI for C++ - but which one? |
|
|
"White Wolf" <wolof (AT) freemail (DOT) hu> writes:
| Quote: | For Qt, my feelings are mixed,
as it is told to be an excellent product - however it is quite long lived
(so it might already experience the symptoms of software.evolution-penalty)
and AFAIK it is only free to use on Linux.
|
FYI: Qt now has the same licensing terms on Windows and Linux --- licences for
open source software are free, licences for commercial software cost money.
Anthony
--
Anthony Williams
Software Developer
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
| Back to top |
|
 |
E. Rosten Guest
|
Posted: Tue Jul 26, 2005 11:05 am Post subject: Re: GUI for C++ - but which one? |
|
|
On Tue, 26 Jul 2005 02:53:56 -0400, White Wolf wrote:
| Quote: | So I decided to ask the C++ community: what portable GUI solution is to
choose? What (others) are there? What are their strengths/weaknesses?
I am looking for something which provides a reasonable set of "widgets"
(such as trees etc.), does not enforce its own look and feel (uses the
native GUI if that is requested), free to use, not overcomplicated and
it does not have the kitchen sink integrated into it (like no XML
support etc.).
|
After doing a brief survey of widget sets before writing a GUI app, I
settled on Fltk, since it had the lowest barrier to entry - I wasn't
writing a complex GUI, and so I didn't want to spend a lot of time
learning how to use the toolkit. The `hello, world' program is very short,
and the library source code is simple enough to dive in to. I think Fltk
2.0 (I've only used 1.1) is themeable, so you could make it match the
native widget set that way.
-Ed
--
(You can't go wrong with psycho-rats.) (er258)(@)(eng.cam)(.ac.uk)
/d{def}def/f{/Times findfont s scalefont setfont}d/s{10}d/r{roll}d f 5/m
{moveto}d -1 r 230 350 m 0 1 179{1 index show 88 rotate 4 mul 0 rmoveto}
for /s 15 d f pop 240 420 m 0 1 3 { 4 2 1 r sub -1 r show } for showpage
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
| Back to top |
|
 |
ulrich Guest
|
Posted: Tue Jul 26, 2005 11:07 am Post subject: Re: GUI for C++ - but which one? |
|
|
On 26 Jul 2005 02:53:56 -0400, White Wolf <wolof (AT) freemail (DOT) hu> wrote:
| Quote: | Hi,
I am looking for some advices on choosing a GUI
framework/library/solution... to use with a pet project, which may become
something useful later. I know of two existing, portable and praised
libraries: Qt from Trolltech and wxWidgets. For Qt, my feelings are
mixed,
as it is told to be an excellent product - however it is quite long lived
(so it might already experience the symptoms of
software.evolution-penalty)
and AFAIK it is only free to use on Linux. The wxWidgets seems to be
nice,
however the size of simple executables produces with that system is
surprisingly large.
So I decided to ask the C++ community: what portable GUI solution is to
choose? What (others) are there? What are their strengths/weaknesses?
I am looking for something which provides a reasonable set of "widgets"
(such as trees etc.), does not enforce its own look and feel (uses the
native GUI if that is requested), free to use, not overcomplicated and it
does not have the kitchen sink integrated into it (like no XML support
etc.).
Please share your thoughts!
BTW the pet project I am dreaming about would be strongly C++ related.
|
there was / is a series of articles in the c++ user's journal on a
(strongly c++ related
gui-wrapper. the author's name was John Torjo, see e.g.
http://www.cuj.com/articles/2005/0503/
however, i cannot tell how sophisticated this library is, and how portable
i.e. if there are any implementations but for windows. anyway, the source
code should be downloadable for free.
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
| Back to top |
|
 |
pongba@gmail.com Guest
|
Posted: Tue Jul 26, 2005 1:05 pm Post subject: Re: GUI for C++ - but which one? |
|
|
Well,I don't know why nobody metioned win32gui, which, IMO, is a pretty
good gui library,althogh a bit little unmature and perhaps a little
unstable and not that bug-free.
However,just by grapping a little code from the source ,you'll find
that it's implementation is so cute and consistent with the mainstream
C++ techniques,that is,template and/or GP.
It's user interface is amazingly sweet,too.For those people who cares
about the "hello world" program,it's "hello world" example code looks
extremely straight-forward and pretty.
The library is Open Source,which simutaneously means lacking supporting
from large number of developper,but IMO John torjo did an marvelous job
anyway.
I strongly suggest this incredible gui lib.
You can reach it via http://www.torjo.com
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
| Back to top |
|
 |
Stefan Chrobot Guest
|
Posted: Tue Jul 26, 2005 1:58 pm Post subject: Re: GUI for C++ - but which one? |
|
|
Użytkownik White Wolf napisał:
| Quote: | Hi,
I am looking for some advices on choosing a GUI
framework/library/solution... to use with a pet project, which may
become
something useful later. I know of two existing, portable and praised
libraries: Qt from Trolltech and wxWidgets. For Qt, my feelings are
mixed,
as it is told to be an excellent product - however it is quite long
lived
(so it might already experience the symptoms of
software.evolution-penalty)
and AFAIK it is only free to use on Linux. The wxWidgets seems to be
nice,
however the size of simple executables produces with that system is
surprisingly large.
So I decided to ask the C++ community: what portable GUI solution is to
choose? What (others) are there? What are their strengths/weaknesses?
I am looking for something which provides a reasonable set of "widgets"
(such as trees etc.), does not enforce its own look and feel (uses the
native GUI if that is requested), free to use, not overcomplicated
and it
does not have the kitchen sink integrated into it (like no XML support
etc.).
Please share your thoughts!
BTW the pet project I am dreaming about would be strongly C++ related.
|
Hello!
Recently I've been searching for a GUI too. I believe that the future of
GUI programming are template-based libraries. Take a look at these:
http://www.torjo.com/win32gui/
http://smartwin.sourceforge.net/
http://notus.sourceforge.net/
Qt and wxWidgets are qood libraries, but they don't take advantage of
modern C++ feautures. Google'ing through Internet I've read that Notus
is (connected with?) Boost.GUI, but that's not confirmed.
Stefan
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
| Back to top |
|
 |
Carlos Moreno Guest
|
Posted: Tue Jul 26, 2005 1:59 pm Post subject: Re: GUI for C++ - but which one? |
|
|
Anthony Williams wrote:
| Quote: | For Qt, my feelings are mixed,
as it is told to be an excellent product - however it is quite long lived
(so it might already experience the symptoms of software.evolution-penalty)
and AFAIK it is only free to use on Linux.
FYI: Qt now has the same licensing terms on Windows and Linux --- licences for
open source software are free, licences for commercial software cost money.
|
AFAIK, commercial has nothing to do with it -- if the source code is
closed, then you have to pay for the product.
Carlos
--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
| Back to top |
|
 |
Pavel Vozenilek Guest
|
Posted: Tue Jul 26, 2005 11:10 pm Post subject: Re: GUI for C++ - but which one? |
|
|
"Stefan Chrobot" wrote:
| Quote: | http://notus.sourceforge.net/
I've read that Notus
is (connected with?) Boost.GUI, but that's not confirmed.
Unfortunately abandoned early. |
/Pavel
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
| Back to top |
|
 |
Alex Beluga Guest
|
|
| Back to top |
|
 |
Rui Maciel Guest
|
Posted: Wed Jul 27, 2005 8:15 am Post subject: Re: GUI for C++ - but which one? |
|
|
Stefan Chrobot wrote:
| Quote: | Qt and wxWidgets are qood libraries, but they don't take advantage of
modern C++ feautures.
|
The last time I looked at wxWidgets it was still called wxWindows. Still,
back then they explained why they didn't implemented everything which C++
offered. The reason was support. Back then the great majority of the
available compilers didn't implemented the simplest template functionality
correctly, let alone all the bells and whistles. So, because the aim of the
project was to create a multi-plataform toolkit, they decided to take the
safe (but sometimes less elegant) path.
And now that you mentioned Qt, to me it is the best toolkit in the market.
Extremelly simple, quite intuitive, very modular, extensively documented
and nicelly supported. That's the one I suggest learning/implementing.
Rui Maciel
--
Running Kubuntu 5.04 with KDE 3.4.1 and proud of it.
jabber:rui_maciel (AT) jabber (DOT) org
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
| Back to top |
|
 |
Peter van Merkerk Guest
|
Posted: Wed Jul 27, 2005 3:25 pm Post subject: Re: GUI for C++ - but which one? |
|
|
White Wolf wrote:
| Quote: | So I decided to ask the C++ community: what portable GUI solution is to
choose? What (others) are there? What are their strengths/weaknesses?
|
The following article discusses the strengst and weaknesses of a couple of
GUI toolkits: http://freshmeat.net/articles/view/928/
--
Peter van Merkerk
peter.van.merkerk(at)dse.nl
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
| Back to top |
|
 |
White Wolf Guest
|
Posted: Wed Jul 27, 2005 5:29 pm Post subject: Re: GUI for C++ - but which one? |
|
|
Pavel Vozenilek wrote:
| Quote: | "Stefan Chrobot" wrote:
http://notus.sourceforge.net/
I've read that Notus
is (connected with?) Boost.GUI, but that's not confirmed.
Unfortunately abandoned early.
|
What do you mean by that? Who has abandoned it? Why? What does abandoned
mean? Is it final?
--
WW aka Attila
:::
'The art of free and critical thought is not easily learned. It must be
nurtured.'
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
| Back to top |
|
 |
White Wolf Guest
|
Posted: Wed Jul 27, 2005 5:31 pm Post subject: Re: GUI for C++ - but which one? |
|
|
[email]pongba (AT) gmail (DOT) com[/email] wrote:
| Quote: | Well,I don't know why nobody metioned win32gui, which, IMO, is a pretty
[SNIP]
You can reach it via http://www.torjo.com
|
I have looked at the page, but there isn't much info - and the name suggests
that it is non-portable, which was one of my main requirements (to be
portable).
--
WW aka Attila
:::
Everyone wants a bus service to their door, but no one wants a bus service
in their street.
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|