From: Martin B. on
Branimir Maksimovic wrote:
> Edward Diener wrote:
> In general I have
>> found that no single GUI library in any language is really excellent
>> covering even the major diffwerent GUIs which exist in the popular OSs
>> for which one might want to write a cross-platform application.
>>
>
> I think that cross platform programming is getting slowly thing of the
> past with all this hype about virtual machines and cloud computing.
> (...)

I'd say: On the contrary. With GUI-heavy mobile devices on the rise, I
would say that x-platform programming is getting more interesting :-)

br,
Martin

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

From: Martin B. on
Edward Diener wrote:
> Robert Hairgrove wrote:
>> Edward Diener wrote:
>>> In general I have found that no single GUI library in any language is
>>> really excellent covering even the major diffwerent GUIs which exist
>>> in the popular OSs for which one might want to write a cross-platform
>>> application.
>>>
>>
>> When was the last time you looked at the Qt libs?
>
> Unfortunately Qt's pricing/licensing destroys its ability to be taken
> seriously. What C++ definitely does not need is people telling you how
> you can use their library.
>

Qt is available as LGPL now and I think that is a really acceptable
license for basically anyone(*).

> Other than that Qt has done a good job but it is still far from robustly
> cross-platform IMO nor does it use the latest advances in C++.
>

While I haven't ever used it professionally, Qt in it's latest
incarnation does look very attractive. As you correctly state, one must
accept that the Qt code does look very STL-like though and one must
accept the meta-object-compiler.

br,
Martin


(*): It seems there are some distribution caveats that I don't fully
grasp for mobile devices and such "where the main functionality relies
on Qt"[quote http://qt.nokia.com/products/licensing] - whatever that
means, but they explicitly state that "For regular desktop applications,
there are no royalties, runtime licenses, or other additional
costs."[quote http://qt.nokia.com/products/licensing]

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

From: Alex Strickland on
Martin B. wrote:

> If it's halfway decent I'm pretty sure you will be happier with
> UnicodeString that with std::string

You're right, it does do nice things, but it indexes characters starting from
position 1, not 0 - I really dislike that.

Regards
Alex

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

From: Martin B. on
Alex Strickland wrote:
> Martin B. wrote:
>
>> If it's halfway decent I'm pretty sure you will be happier with
>> UnicodeString that with std::string
>
> You're right, it does do nice things, but it indexes characters starting
> from
> position 1, not 0 - I really dislike that.
>

Wow. Are you sure? I remember that indexing from 1 is a Pascal thing.
If they were really so stupid to translate that 1:1 to the C++ class, I
personally would trash UnicodeString and use something else.

br,
Martin

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

From: Jeff Schwab on
Edward Diener wrote:

> Unfortunately Qt's pricing/licensing destroys its ability to be taken
> seriously. What C++ definitely does not need is people telling you how
> you can use their library.

Qt is available under GPL, LGPL, or commercial licenses (at a few
thousand USD per seat). It may not be "taken seriously" by you, but it
certainly is the basis for a lot of new development, and is probably the
closest thing we have to a long-term, cross-platform GUI solution in C++.

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