Joan said:
Hi!
Im looking for an easy-to-use API for C++. I fond QT3 but it is not
"freeware" for Windows :_( and I want something multi-platform like
QT3...
Do u know any API that I can use?
Txs...
From the context, I can only guess that you're looking for a GUI API.
Have a look at wxWidgets (
http://www.wxwidgets.org/). It's portable and very
easy to use. If you have ever worked with the MFC (Microsoft Foundation
Classes), you'll be comfortable with wxWidgets in no time. From what I have
seen, it pretty much works the same.
However, wxWidgets looks pretty ugly under Linux IMO, because it links
against an old GTK+ (1.x). But I'm certain that sooner or later the team
will migrate to GTK2 as well.
If you're looking for a beautiful GUI with an extremely clean C++ interface,
you should consider using gtkmm (
www.gtkmm.org). It's a C++ wrapper for
GTK+ version 2.x (sometimes reffered to as GTK2). I'm pretty certain that
there's a Windows implementation of GTK+, however, I'm not sure in how far
your code will be portable. Maybe someone else can give you a cleaner
answer here.
As a side note, I found gtkmm somewhat tough to get involved with. You
should be pretty good with C++ when you consider using it.
Oh yeah, there's another one I have heard of, but haven't used myself. It's
called FOX-Toolkit (
http://www.fox-toolkit.org/). According to the devs,
it's a powerful C++ crossplatform GUI library. And it looks very nice
Hope that helps,
Matthias