H
H
HaruAtari2016-05-05 20:21:37
Java
HaruAtari, 2016-05-05 20:21:37

How to write a cross-platform GUI application?

Good afternoon.
The task is to write a gui application for working with postgresql. Should work on win, linux, mac. I will do separately the main logic, separately gui. They will interact either through IPC, or in the gui application, the logic will be connected as a third-party library (I don’t know yet).
Actually the question is on what to write it?
The first thing that comes to mind is Qt. But I had no experience with crosses at all (and I'm not eager to start). I worked a little with java and more in C#. Ideally, I would like to write in C #, but, as far as I understand, everything is very bad with the GUI on non-win platforms. I don't know about java. Any options with javascript for the GUI are not suitable due to their slowness and non-native type of controls.
Tell me, is there an option to write in something other than Qt without pain?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander Parusov, 2016-05-09
@HaruAtari

Yes, C++ is an order of magnitude more complex than Java and C#, although Qt simplifies a lot.
Java is good for cross-platform office applications, - a GUI based on JavaFX or Swing, but not SWT (it has a lot of jambs that take a lot of time). If you know C# better, then on it (the language is more modern, the framework will be simpler) and immediately in MonoDevelop (since cross-platform is needed).
With the server part (if it is a three-link), it is important to decide on what it should work on (in which OS). If it’s also cross-platform, then it’s better to do everything in java and deal with Java server technologies: Spring or a Servlet container or even a Java EE server. Use an ORM (Hibernate for example). But this Java stack will have to be tinkered with - the entry threshold is high, but then rich opportunities open up (independent of the OS!).

A
Alexander, 2016-05-05
@NeiroNx

Write in python. A graphical interface on Qt or GTK - depending on what widgets are needed.

I
Ilya T., 2016-05-06
@Insaned

Lazarus

M
MechanicZelenyy, 2019-08-27
@MechanicZelenyy

Kotlin JVM works wherever there is java, Tornado FX is used for the GUI --- a wrapper for Java FX, as a bonus, you can quickly deploy the web version using Koltin JS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question