473,761 Members | 4,407 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dipping my toes in cross-platform GUI


I don't know the first thing about cross-platform GUI programming, so
I'd like to ask a few quick questions.

Which library is best for someone who appreciates portable programming
and correct efficient code, and who'd like the library to fit well with the
C++ Standard Library? Also I'd like the library to work on as many
platforms as possible (Windows, Linux, Mac, and even the new game consoles
such as Playstation 3 and XBox 360 if possible).

I've heard of wxWidgets and Qt, but I haven't a clue what they're like.
I've seen the cross-platform media player, VLAN; it uses wxWidgets and it
looks good. What GUI libraries are all the well-known programs using, such
as Mozilla, Xilinx?

Is there any cross-platform networking library that stands head and
shoulders above the rest?

--
Tomás Ó hÉilidhe
Jan 8 '08 #1
12 2002
On Mon, 07 Jan 2008 21:45:17 -0500, Victor Bazarov wrote:
Tomás Ó hÉilidhe wrote:
> I don't know the first thing about cross-platform GUI programming,
so I'd like to ask a few quick questions.

Which library is best for someone who appreciates portable
programming and correct efficient code, and who'd like the library to
fit well with the C++ Standard Library? Also I'd like the library to
work on as many platforms as possible (Windows, Linux, Mac, and even
the new game consoles such as Playstation 3 and XBox 360 if possible).

I've heard of wxWidgets and Qt, but I haven't a clue what they're
like. I've seen the cross-platform media player, VLAN; it uses
wxWidgets and it looks good. What GUI libraries are all the well-known
programs using, such as Mozilla, Xilinx?

Is there any cross-platform networking library that stands head and
shoulders above the rest?

I'll tell you my experience. Take it at its face value.
[...]

Bravo Victor!

I hereby declare any further discussion on this topic, including future
threads, closed.

--
Lionel B
Jan 8 '08 #2
"Lionel B" <me@privacy.net wrote in message
news:h6******** ***********@new sfe1-win.ntli.net...
On Mon, 07 Jan 2008 21:45:17 -0500, Victor Bazarov wrote:
>Tomás Ó hÉilidhe wrote:
>> I don't know the first thing about cross-platform GUI programming,
so I'd like to ask a few quick questions.

Which library is best for someone who appreciates portable
programming and correct efficient code, and who'd like the library to
fit well with the C++ Standard Library? Also I'd like the library to
work on as many platforms as possible (Windows, Linux, Mac, and even
the new game consoles such as Playstation 3 and XBox 360 if possible).

I've heard of wxWidgets and Qt, but I haven't a clue what they're
like. I've seen the cross-platform media player, VLAN; it uses
wxWidgets and it looks good. What GUI libraries are all the well-known
programs using, such as Mozilla, Xilinx?

Is there any cross-platform networking library that stands head and
shoulders above the rest?

I'll tell you my experience. Take it at its face value.

[...]

Bravo Victor!

I hereby declare any further discussion on this topic, including future
threads, closed.
:^)

Jan 8 '08 #3
"Tomás Ó hÉilidhe" <to*@lavabit.co mwrote in
news:Xn******** *************** ***@194.125.133 .14:
>
I don't know the first thing about cross-platform GUI programming,
so
I'd like to ask a few quick questions.

Which library is best for someone who appreciates portable
programming
and correct efficient code, and who'd like the library to fit well
with the C++ Standard Library? Also I'd like the library to work on as
many platforms as possible (Windows, Linux, Mac, and even the new game
consoles such as Playstation 3 and XBox 360 if possible).

I've heard of wxWidgets and Qt, but I haven't a clue what they're
like.
I've seen the cross-platform media player, VLAN; it uses wxWidgets and
it looks good. What GUI libraries are all the well-known programs
using, such as Mozilla, Xilinx?

Is there any cross-platform networking library that stands head
and
shoulders above the rest?
Victor answered quite well the main thrust of your question, so I
thought I would throw in a few thoughts about portable gui-s in general.
Have you ever noticed that you can generally pick out a java app from a
mile away? The problem is that while they have a wonderful api that is
portable everywhere a compatible JVM exists, they all have a certain
look and feel and that look and feel doesn't quite fit anywhere.

Each of the OS's you mention have certain expectations for the look and
feel of a program. Everything from the location of menu items to how
you browse for files is generally specified in the OS's look and feel
guide. Applications that are targeted toward non-computer people
generally follow the OS's guide unless they have a good reason to
deviate from it.

The mentioned GUI libraries do a wonderful job of making portable
widgets, but are generally less fantastic about whether the actual look
and feel matches the platform the user is running. For certain things,
this is ok, but for others this can be a real pain in the backside of
your users.

So, the advice is that if you really want to do your portability right,
you will strive to separate your business logic from your GUI and
implement things in your GUI such that the look and feel matches user
expectations. Of course, by the time you do this the portable GUI
libraries make less difference. If your application doesn't really have
much of a user interface, then you might get away without this
separation, but at least think about it.

joe
Jan 8 '08 #4
"Victor Bazarov" <v.********@com Acast.netwrote in comp.lang.c++:
Here is the advice part of the story. Pick one and learn it. Use
it to the best of your ability; they are all equally capable when
employed properly.

I read what your wrote Victor, and it was helpful. Not to sound naive
though... but could someone just throw a library name at me? I don't need a
review of the library, just even "You'll be on the right track if you go
with X". Right now I'm thinking of going with wxWidgets.

--
Tomás Ó hÉilidhe
Jan 8 '08 #5
Tomás Ó hÉilidhe wrote:
"Victor Bazarov" <v.********@com Acast.netwrote in comp.lang.c++:
>Here is the advice part of the story. Pick one and learn it. Use
it to the best of your ability; they are all equally capable when
employed properly.


I read what your wrote Victor, and it was helpful. Not to sound
naive though... but could someone just throw a library name at me? I
don't need a review of the library, just even "You'll be on the right
track if you go with X". Right now I'm thinking of going with
wxWidgets.
James mentioned Qt and wxWidgets. Go to their sites and look at
their capabilities. Perhaps they even list some comparative
advantages of one over the other. I've used Qt, I've not used
wxWidgets. If I were to create another GUI app to target more
than one platform, that's what I'd use. But it's not because Qt
is objectively better, it's because I have some experience with
Qt and it *did the job*. I simply don't want to waste time to
learn another library that does pretty much the same thing.

Again, I am not speaking in favor of one or the other; you've asked
to throw a name at you, so here.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jan 8 '08 #6
"Victor Bazarov" <v.********@com Acast.netwrote in comp.lang.c++:
James mentioned Qt and wxWidgets. Go to their sites and look at
their capabilities.

I started using wxWidgets about an hour ago and I'm already making great
progress... the interface couldn't be easier! Plus I love its class
structure, makes it very easy to do stuff :-D

--
Tomás Ó hÉilidhe
Jan 8 '08 #7
On 2008-01-08 14:39, Joe Greer wrote:
"Tom疽 モ hノilidhe" <to*@lavabit.co mwrote in
news:Xn******** *************** ***@194.125.133 .14:
>>
I don't know the first thing about cross-platform GUI programming,
so
I'd like to ask a few quick questions.

Which library is best for someone who appreciates portable
programming
and correct efficient code, and who'd like the library to fit well
with the C++ Standard Library? Also I'd like the library to work on as
many platforms as possible (Windows, Linux, Mac, and even the new game
consoles such as Playstation 3 and XBox 360 if possible).

I've heard of wxWidgets and Qt, but I haven't a clue what they're
like.
I've seen the cross-platform media player, VLAN; it uses wxWidgets and
it looks good. What GUI libraries are all the well-known programs
using, such as Mozilla, Xilinx?

Is there any cross-platform networking library that stands head
and
shoulders above the rest?

Victor answered quite well the main thrust of your question, so I
thought I would throw in a few thoughts about portable gui-s in general.
Have you ever noticed that you can generally pick out a java app from a
mile away? The problem is that while they have a wonderful api that is
portable everywhere a compatible JVM exists, they all have a certain
look and feel and that look and feel doesn't quite fit anywhere.

Each of the OS's you mention have certain expectations for the look and
feel of a program. Everything from the location of menu items to how
you browse for files is generally specified in the OS's look and feel
guide. Applications that are targeted toward non-computer people
generally follow the OS's guide unless they have a good reason to
deviate from it.

The mentioned GUI libraries do a wonderful job of making portable
widgets, but are generally less fantastic about whether the actual look
and feel matches the platform the user is running. For certain things,
this is ok, but for others this can be a real pain in the backside of
your users.
I would like to disagree, at least with Qt you can make applications
that looks and feels like native applications (at least for Unix and
Windows, I have never targeted Mac). The problem is that since the look
and feel differs between different systems there are some occasions
where it is not enough to have the right look and feel on the individual
widgets, it is a question about overall layout. In these cases you have
to choose one system and let the others be what they become since the
alternative is to have different layouts for each system (which in most
cases is overkill).

--
Erik Wikström
Jan 8 '08 #8
=?UTF-8?B?RXJpayBXaWt zdHLDtm0=?= <Er***********@ telia.comwrote in
news:ys******** *********@newsb .telia.net:
>>
Victor answered quite well the main thrust of your question, so I
thought I would throw in a few thoughts about portable gui-s in
general. Have you ever noticed that you can generally pick out a
java app from a mile away? The problem is that while they have a
wonderful api that is portable everywhere a compatible JVM exists,
they all have a certain look and feel and that look and feel doesn't
quite fit anywhere.

Each of the OS's you mention have certain expectations for the look
and feel of a program. Everything from the location of menu items to
how you browse for files is generally specified in the OS's look and
feel guide. Applications that are targeted toward non-computer
people generally follow the OS's guide unless they have a good reason
to deviate from it.

The mentioned GUI libraries do a wonderful job of making portable
widgets, but are generally less fantastic about whether the actual
look and feel matches the platform the user is running. For certain
things, this is ok, but for others this can be a real pain in the
backside of your users.

I would like to disagree, at least with Qt you can make applications
that looks and feels like native applications (at least for Unix and
Windows, I have never targeted Mac). The problem is that since the
look and feel differs between different systems there are some
occasions where it is not enough to have the right look and feel on
the individual widgets, it is a question about overall layout. In
these cases you have to choose one system and let the others be what
they become since the alternative is to have different layouts for
each system (which in most cases is overkill).
You disagree and yet your arguments line up with what I said. I am confused.
To what exactly are you disagreeing?

joe
Jan 8 '08 #9
On 2008-01-08 20:55, Joe Greer wrote:
=?UTF-8?B?RXJpayBXaWt zdHLDtm0=?= <Er***********@ telia.comwrote in
news:ys******** *********@newsb .telia.net:
>>>
Victor answered quite well the main thrust of your question, so I
thought I would throw in a few thoughts about portable gui-s in
general. Have you ever noticed that you can generally pick out a
java app from a mile away? The problem is that while they have a
wonderful api that is portable everywhere a compatible JVM exists,
they all have a certain look and feel and that look and feel doesn't
quite fit anywhere.

Each of the OS's you mention have certain expectations for the look
and feel of a program. Everything from the location of menu items to
how you browse for files is generally specified in the OS's look and
feel guide. Applications that are targeted toward non-computer
people generally follow the OS's guide unless they have a good reason
to deviate from it.

The mentioned GUI libraries do a wonderful job of making portable
widgets, but are generally less fantastic about whether the actual
look and feel matches the platform the user is running. For certain
things, this is ok, but for others this can be a real pain in the
backside of your users.

I would like to disagree, at least with Qt you can make applications
that looks and feels like native applications (at least for Unix and
Windows, I have never targeted Mac). The problem is that since the
look and feel differs between different systems there are some
occasions where it is not enough to have the right look and feel on
the individual widgets, it is a question about overall layout. In
these cases you have to choose one system and let the others be what
they become since the alternative is to have different layouts for
each system (which in most cases is overkill).

You disagree and yet your arguments line up with what I said. I am confused.
To what exactly are you disagreeing?
My point was that they can match the look and feel of a platform, but
seldom more than one. It might have been what you were saying but the
way I read your post you were saying that they can not get the look and
feel right on any platform.

--
Erik Wikström
Jan 8 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2054
by: Web Science | last post by:
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics, manifolds, science, physics, chemistry, law, legal, government, home, office, business, domain lookup, medical, travel, food, university students, searching, searchers, surfing, advanced search, search tools Chemistry, mathematics, physical sciences,...
12
3879
by: * ProteanThread * | last post by:
but depends upon the clique: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=954drf%24oca%241%40agate.berkeley.edu&rnum=2&prev=/groups%3Fq%3D%2522cross%2Bposting%2Bversus%2Bmulti%2Bposting%2522%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den ...
3
3114
by: rollasoc | last post by:
Hi, Doing a bit of system testing on a Windows 98 laptop. (.Net 1.1 app). Did a bit of testing. Loaded a previously saved file. A gray box appeared with the text and buttons all white rectangles with a big red cross in it. Pressed a button (the one I thought might be ok). My file appeared to load. Then when I clicked on any button on my form, the button was replaced with a white rectangle with a big red cross in it.
0
1893
by: Web Science | last post by:
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics, manifolds, science, physics, chemistry, law, legal, government, home, office, business, domain lookup, medical, travel, food, university students, searching, searchers, surfing, advanced search, search tools Chemistry, mathematics, physical sciences,...
23
6543
by: Jeff Rodriguez | last post by:
Here's what I want do: Have a main daemon which starts up several threads in a Boss-Queue structure. From those threads, I want them all to sit and watch a queue. Once an entry goes into the queue, grab it and run a system command. Now I want to make sure that system command doesn't hang forever, so I need some way to kill the command and have the worker thread go back to work waiting for another queue entry.
0
2059
by: Web Science | last post by:
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics, manifolds, science, physics, chemistry, law, legal, government, home, office, business, domain lookup, medical, travel, food, university students, searching, searchers, surfing, advanced search, search tools Chemistry, mathematics, physical sciences,...
1
2765
by: Rob Woodworth | last post by:
Hi, I'm having serious problems getting my report to work. I need to generate a timesheet report which will contain info for one employee between certain dates (one week's worth of dates). I have a table containing records for each job done, the records contain date, employee name, job done (a code representing the type of job), cost code (another code), regular hours, and overtime hours. The tricky part is that more than one job can...
6
8635
by: Simon | last post by:
Hi All, An experiment i'm doing requires requires a synchronous cross-domain request, without using a proxy. I wondered if anyone had any ideas to help me achieve this. Below is what I have tried, including my conclusions/assumptions (which i'll happily be corrected on if it solves my problem!): The requirement not to use a proxy means I can't use the synchronous
6
5482
by: Bart Van der Donck | last post by:
Hello, I'm presenting my new library 'AJAX Cross Domain' - a javascript extension that allows to perform cross-domain AJAX requests. http://www.ajax-cross-domain.com/ Any comments or suggestions are welcome. --
6
3991
by: ampo | last post by:
Hello. Can anyone help with cross-domain problem? I have HTML page from server1 that send xmlHTTPRequest to server2. How can I do it? Thanks.
0
9345
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10115
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9957
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9775
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8780
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7332
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3881
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2752
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.