C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

UI for C++ application?

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated)
View previous topic :: View next topic  
Author Message
John
Guest





PostPosted: Mon Jun 13, 2005 4:14 pm    Post subject: UI for C++ application? Reply with quote



Hi All,

I'm developing a C++ UI application. I want to use QT for that as it
can be
used on Win32/Linux/Mac platforms and I also find it to be very clean.
But
the problem is that I'm not sure if any other better options are there
for
UI. I will be grateful if you can please let me know some
possibilities. Of
course if QT is the best then I will go with it.

Thanks
John


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Back to top
shakahshakah@gmail.com
Guest





PostPosted: Mon Jun 13, 2005 7:47 pm    Post subject: Re: UI for C++ application? Reply with quote



John wrote:
Quote:
Hi All,

I'm developing a C++ UI application. I want to use QT for that as it
can be
used on Win32/Linux/Mac platforms and I also find it to be very clean.
But
the problem is that I'm not sure if any other better options are there
for
UI. I will be grateful if you can please let me know some
possibilities. Of
course if QT is the best then I will go with it.

Thanks
John

wxWindows is an option:
http://www.wxwindows.org/


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
diginux
Guest





PostPosted: Mon Jun 13, 2005 7:49 pm    Post subject: Re: UI for C++ application? Reply with quote



I use wxwidgets alot, and it is very nice in my opinion, better than QT
even.


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Back to top
Matthias Meixner
Guest





PostPosted: Mon Jun 13, 2005 7:50 pm    Post subject: Re: UI for C++ application? Reply with quote

Hi John,

John wrote:
Quote:
Hi All,

I'm developing a C++ UI application. I want to use QT for that as it
can be
used on Win32/Linux/Mac platforms and I also find it to be very clean.
But
the problem is that I'm not sure if any other better options are there
for
UI. I will be grateful if you can please let me know some
possibilities. Of
course if QT is the best then I will go with it.


you may want to take a look at wxwidgets ([url]www.wxwidgets.org)[/url]. This also supports
several platforms and is quite easy to use. One advantage may be that it does
not require some preprocessing step as qt does (moc).

- Matthias Meixner

[ 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





PostPosted: Mon Jun 13, 2005 7:51 pm    Post subject: Re: UI for C++ application? Reply with quote

I think that Qt is very cool and awesome, but, especially if you're
developing commercial soft it'd be good to try wxWindows and FoxToolkit.


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Back to top
nickelplate
Guest





PostPosted: Mon Jun 13, 2005 7:52 pm    Post subject: Re: UI for C++ application? Reply with quote

Qt is fine, but note that it is dual-licensed only on Mac, Unix and
Linux. If you wish to use Qt in a Windows application, you will have to
buy a commercial license.

Look into wxWidgets (www.wxwidgets.org) for a less restrictive
alternative from a licensing standpoint.

Also see : wxWidgets vs Qt.
http://wiki.wxwidgets.org/wiki.pl?WxWidgets_Compared_To_Other_Toolkits


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Back to top
James Kanze
Guest





PostPosted: Mon Jun 13, 2005 10:40 pm    Post subject: Re: UI for C++ application? Reply with quote

John wrote:

Quote:
I'm developing a C++ UI application. I want to use QT for that
as it can be used on Win32/Linux/Mac platforms and I also find
it to be very clean. But the problem is that I'm not sure if
any other better options are there for UI. I will be grateful
if you can please let me know some possibilities. Of course if
QT is the best then I will go with it.

The other widespread one seems to be wxWidgets
([url]http://www.wxwidgets.org/)[/url]. Unlike Qt, it doesn't require a
special preprocessor.

--
James Kanze mailto: [email]james.kanze (AT) free (DOT) fr[/email]
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 pl. Pierre Sémard, 78210 St.-Cyr-l'École, France +33 (0)1 30 23 00 34

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
Mark Van Peteghem
Guest





PostPosted: Mon Jun 13, 2005 10:42 pm    Post subject: Re: UI for C++ application? Reply with quote

John wrote:

Quote:
Hi All,

I'm developing a C++ UI application. I want to use QT for that as it
can be
used on Win32/Linux/Mac platforms and I also find it to be very clean.
But
the problem is that I'm not sure if any other better options are there
for
UI. I will be grateful if you can please let me know some
possibilities. Of
course if QT is the best then I will go with it.


There is also wxWidgets, which has the advantage of being free (QT is

only free for open source applications under Linux, if I'm not
mistaken - by free I mean as in no money). I use it and like it a lot.
See <http://www.wxwidgets.org>.

I've also heard good things about the Mozilla platform, with which
you can develop applications with a mix of C++, JavaScript and
stylesheets, but I don't have experience with that.

--
Mark dot Van dot Peteghem at q-mentum dot com
http://www.q-mentum.com -- easier and more powerful unit testing

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
blwy10
Guest





PostPosted: Tue Jun 14, 2005 9:44 am    Post subject: Re: UI for C++ application? Reply with quote

However...Trolltech is planning to dual license Qt on Windows, at the
same time Qt 4 will be released, which should be by the end of July or
August. But still...if you can't wait, you can either get a hacked
version of Qt/X11 which runs natively on Windows, at kde-cygwin.sf.net
or you can use wxWidgets, which is also pretty good.


[ 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





PostPosted: Tue Jun 14, 2005 9:48 am    Post subject: Re: UI for C++ application? Reply with quote

John wrote:

Quote:
I will be grateful if you can please let me know some
possibilities.

Up to now, most of the responses recommend wxWidgets.
A more comprehensive list of alternatives can be found at:

http://www.free-soft.org/guitool/


--
Maciej Sobczak : http://www.msobczak.com/
Programming : http://www.msobczak.com/prog/

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
kanze@gabi-soft.fr
Guest





PostPosted: Tue Jun 14, 2005 7:40 pm    Post subject: Re: UI for C++ application? Reply with quote

Mark Van Peteghem wrote:
Quote:
John wrote:

I'm developing a C++ UI application. I want to use QT for
that as it can be used on Win32/Linux/Mac platforms and I
also find it to be very clean. But the problem is that I'm
not sure if any other better options are there for UI. I will
be grateful if you can please let me know some
possibilities. Of course if QT is the best then I will go
with it.

There is also wxWidgets, which has the advantage of being free
(QT is only free for open source applications under Linux, if
I'm not mistaken - by free I mean as in no money). I use it
and like it a lot. See <http://www.wxwidgets.org>.

It's free, as in beer. The license is based on LGPL, with some
additional freedoms granted, so it shouldn't be too restrictive,
either. Their expressed goal with the license is: "a solution
that satisfies those who wish to produce GPL'ed software using
wxWidgets, and also those producing proprietary software."

Quote:
I've also heard good things about the Mozilla platform, with
which you can develop applications with a mix of C++,
JavaScript and stylesheets, but I don't have experience with
that.

Depending on the application, Java's Swing addressed through
Corba could also be an option. I'll admit that I considered
this solution mainly before such products as wxWidgets and Qt
became available, but Swing is very nicely designed.

--
James Kanze GABI Software
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
Daniel Kos
Guest





PostPosted: Wed Jun 15, 2005 9:39 am    Post subject: Re: UI for C++ application? Reply with quote

Try Ultimate++ (upp.sf.net). It's really powerful (but not wide spread as
wxwidgets)
and it runs both on windows and linux. It also have its own ide.

Quote:
Hi All,

I'm developing a C++ UI application. I want to use QT for that as it
can be
used on Win32/Linux/Mac platforms and I also find it to be very clean.
But
the problem is that I'm not sure if any other better options are there
for
UI. I will be grateful if you can please let me know some
possibilities. Of
course if QT is the best then I will go with it.




--
---------------------------
Uno (Daniel Kos) [email]dgs (AT) pac (DOT) pl[/email]
---------------------------
Opera M2

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
Thomas Mang
Guest





PostPosted: Wed Jun 15, 2005 11:05 pm    Post subject: Re: UI for C++ application? Reply with quote


"Maciej Sobczak" <no.spam (AT) no (DOT) spam.com> schrieb im Newsbeitrag
news:d8m2r5$ppq$1 (AT) sunnews (DOT) cern.ch...
Quote:
John wrote:

I will be grateful if you can please let me know some
possibilities.

Up to now, most of the responses recommend wxWidgets.


Last time I checked wxWidgets did not support as many compilers as QT did.
The compilers support page is not updated yet, so it would be interesting to
get to know which (new) compilers are indeed supported.
For example, VC7.1, Intel 8.1, Comeau etc ? Anybody knows?

One problem of wxwidget last time I checked internals (which is, admittedly,
about 2 years ago) was simply the code base is "old-fashioned" C++, without
smart ressource handling (smart pointers), exceptions, namespaces etc. - all
the great stuff C++ has and that makes the language attractive.
IIRC, Julian Smart once said there are plans to integrate all that kind into
the 3.x version of wxWidgets, but I don't know if this is still valid, and
if there is any time schedule at all to work / release on that new version.

Since I don't know QT, I cannot say whether that library suffers from the
same problem, or not.


Thomas



[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
kanze@gabi-soft.fr
Guest





PostPosted: Fri Jun 17, 2005 10:15 am    Post subject: Re: UI for C++ application? Reply with quote

Thomas Mang wrote:
Quote:
"Maciej Sobczak" <no.spam (AT) no (DOT) spam.com> schrieb im Newsbeitrag
news:d8m2r5$ppq$1 (AT) sunnews (DOT) cern.ch...
John wrote:

I will be grateful if you can please let me know some
possibilities.

Up to now, most of the responses recommend wxWidgets.

Last time I checked wxWidgets did not support as many
compilers as QT did. The compilers support page is not
updated yet, so it would be interesting to get to know which
(new) compilers are indeed supported. For example, VC7.1,
Intel 8.1, Comeau etc ? Anybody knows?

One problem of wxwidget last time I checked internals (which
is, admittedly, about 2 years ago) was simply the code base is
"old-fashioned" C++, without smart ressource handling (smart
pointers), exceptions, namespaces etc. - all the great stuff
C++ has and that makes the language attractive. IIRC, Julian
Smart once said there are plans to integrate all that kind
into the 3.x version of wxWidgets, but I don't know if this is
still valid, and if there is any time schedule at all to work
/ release on that new version.

Since I don't know QT, I cannot say whether that library
suffers from the same problem, or not.

Both have been around for some time, so even without looking at
the code, I wouldn't expect all of the latest techniques to be
used.

When it comes down to it, the question is: does the code work
correctly? If you have to write new code, today, you will, of
course, use the new techniques, because they make it less work
to write correct code. If you have existing code that is
correct, however, and doesn't use the new techniques, I can't
see any reason to rush to change it. The old techniques also
work, and the added effort it took to achieve a working state
has already been spent; nothing you can do will get it back.

--
James Kanze GABI Software
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
Thomas Mang
Guest





PostPosted: Sat Jun 18, 2005 9:27 am    Post subject: Re: UI for C++ application? Reply with quote


<kanze (AT) gabi-soft (DOT) fr> schrieb im Newsbeitrag
news:1118914067.045199.326780 (AT) z14g2000cwz (DOT) googlegroups.com...
Quote:
Thomas Mang wrote:
"Maciej Sobczak" <no.spam (AT) no (DOT) spam.com> schrieb im Newsbeitrag
news:d8m2r5$ppq$1 (AT) sunnews (DOT) cern.ch...
John wrote:

I will be grateful if you can please let me know some
possibilities.

Up to now, most of the responses recommend wxWidgets.

Last time I checked wxWidgets did not support as many
compilers as QT did. The compilers support page is not
updated yet, so it would be interesting to get to know which
(new) compilers are indeed supported. For example, VC7.1,
Intel 8.1, Comeau etc ? Anybody knows?

One problem of wxwidget last time I checked internals (which
is, admittedly, about 2 years ago) was simply the code base is
"old-fashioned" C++, without smart ressource handling (smart
pointers), exceptions, namespaces etc. - all the great stuff
C++ has and that makes the language attractive. IIRC, Julian
Smart once said there are plans to integrate all that kind
into the 3.x version of wxWidgets, but I don't know if this is
still valid, and if there is any time schedule at all to work
/ release on that new version.

Since I don't know QT, I cannot say whether that library
suffers from the same problem, or not.

Both have been around for some time, so even without looking at
the code, I wouldn't expect all of the latest techniques to be
used.

When it comes down to it, the question is: does the code work
correctly? If you have to write new code, today, you will, of
course, use the new techniques, because they make it less work
to write correct code. If you have existing code that is
correct, however, and doesn't use the new techniques, I can't
see any reason to rush to change it. The old techniques also
work, and the added effort it took to achieve a working state
has already been spent; nothing you can do will get it back.


I am not talking primarily about the implementation, I am talking about what
I - as a user - have to deal with.

Namespaces are great and useful - wxWidgets does not have them (nor has
AFAIK QT).
wxWidgets did not use exceptions as mechanism of reporting errors - again
more or less a matter of interface, not implementation. And smart-pointers?
Well, I wouldn't mind at all not using them in the source code base, were it
the code would be 100% correct without them. I remember Vadim Zeitlin once
commenting on a user request about smart-pointers that - unfortunately I
couldn't find the post, so I am not quoting - when there is an out-of-memory
situation the program will die anyways and nothing to do about, so leaks are
not s real problem. Uff. Very bit Uff.

Or a matter of implementation: They occassionally change class hierarchies.
While I don't think that's automatically bad (indeed, if the new design is
clear, then I prefer that over having to deal forever with an inappropiate
design, but one where one does not have to change existing code), I found
out a case where in the source code downcasts were made by C-style casts,
and what was earlier a static_cast now became a reinterpret_cast, with fatal
consequences (crash). That's one of the cases where preventive, modern C++
(dynamic_cast; or at least static_cast) could have saved lots of time.

There is absolutely no point against using wxWidgets - based on what I know
I think it's a good library, and regarding its price one won't find
something cheaper Smile. It's just an expression that I - as a user - stumbled
across some bugs or definitely missing features.

Since I don't know QT, I cannot say if this library shares similiar
problems. Based on the date of birth I wouldn't be surprised, but again I
simply don't know.

Has any one here (intensive) experience with both libraries and could
comment on stability issues?


Thomas




[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.