Should I use a cross-platform GUI-toolkit or rely on the native ones?

This forum is reserved for everything you want to talk about. It could be about programming, opinions, open source programs, development in general, or just cool stuff to share!
Post Reply
nickjonson
In need of some credit
In need of some credit
Posts: 1
Joined: Tue Aug 06, 2019 3:59 am

Should I use a cross-platform GUI-toolkit or rely on the native ones?

Post by nickjonson »

On my side job as programmer, I am to write a program in C++ to convert audio files from/to various formats. Probably, this will involve building a simple GUI.

Will it be a great effort to build seperate GUIs for Mac and Windows using Cocoa and WinForms instead of a cross-platform toolkit like Qt or GTK?
(I will have to maintain a seperate Windows-version and Mac-Version anyway)
The GUI will probably be very simple and only need very basic functionality.

I always felt that native GUIs feel far more intuitive than its cross-platform brethren...
PB
Part Of The Furniture
Part Of The Furniture
Posts: 4183
Joined: Sun Jan 03, 2010 5:45 pm

Re: Should I use a cross-platform GUI-toolkit or rely on the native ones?

Post by PB »

wxWidgets use native GUI.
AFAIK, (at least on MSW) Qt and GTK use their own controls but while Qt tries hard to look native , GTK does not even try.

OTOH, a multiplatform toolkit using native GUI on each platform can have its limitations stemming from the limitations of the native platform controls...

BTW, you are probably aware of that or it may not matter for you, but different toolkits use different licenses.
Ronald
Super wx Problem Solver
Super wx Problem Solver
Posts: 306
Joined: Mon Mar 05, 2018 4:17 am

Re: Should I use a cross-platform GUI-toolkit or rely on the native ones?

Post by Ronald »

crossplat form lib:
  • Pros
    1. crossplatform
    2. some morden controls
  • Cons
    1. slow, e.g. Qt
    2. or not robust/mature enough
    3. license LGPL
native lib:
  • Pros
    1. small
    2. fast
    3. robust
    4. no license problem
  • Cons
    1. not crossplatform
    2. for Windows, only basic controls
For one application, more important of the GUI, more need for a native lib.
So I think the choice depends on how important you weighed the GUI part the of the application.
Post Reply