 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
John Guest
|
Posted: Mon Jun 13, 2005 4:14 pm Post subject: UI for C++ application? |
|
|
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
|
Posted: Mon Jun 13, 2005 7:47 pm Post subject: Re: UI for C++ application? |
|
|
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
|
Posted: Mon Jun 13, 2005 7:49 pm Post subject: Re: UI for C++ application? |
|
|
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
|
Posted: Mon Jun 13, 2005 7:50 pm Post subject: Re: UI for C++ application? |
|
|
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
|
Posted: Mon Jun 13, 2005 7:51 pm Post subject: Re: UI for C++ application? |
|
|
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
|
|
| Back to top |
|
 |
James Kanze Guest
|
Posted: Mon Jun 13, 2005 10:40 pm Post subject: Re: UI for C++ application? |
|
|
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
|
Posted: Mon Jun 13, 2005 10:42 pm Post subject: Re: UI for C++ application? |
|
|
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
|
Posted: Tue Jun 14, 2005 9:44 am Post subject: Re: UI for C++ application? |
|
|
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
|
|
| Back to top |
|
 |
kanze@gabi-soft.fr Guest
|
Posted: Tue Jun 14, 2005 7:40 pm Post subject: Re: UI for C++ application? |
|
|
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
|
Posted: Wed Jun 15, 2005 9:39 am Post subject: Re: UI for C++ application? |
|
|
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
|
Posted: Wed Jun 15, 2005 11:05 pm Post subject: Re: UI for C++ application? |
|
|
"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
|
Posted: Fri Jun 17, 2005 10:15 am Post subject: Re: UI for C++ application? |
|
|
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
|
Posted: Sat Jun 18, 2005 9:27 am Post subject: Re: UI for C++ application? |
|
|
<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 . 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 |
|
 |
|
|
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
|
|