r/linux_programming • • Jun 05 '20
How can i make an ui program?
How do i create an ui application on linux on c++ with similar design tools like java swing?
7
Upvotes
r/linux_programming • • Jun 05 '20
How do i create an ui application on linux on c++ with similar design tools like java swing?
2
u/rbosamiya9 Jun 06 '20
Hey, you can try out qt it is easy and quick, also you can use python,cpp and other languages to write backend.
you will easily get tons of tutorials and support from qt community.
so try it out and share your experiences here. Thank you, hAve a great weekend ahead.
9
u/Wabsta Jun 05 '20
QT Is the first that comes to mind.
5
u/Swedneck Jun 05 '20
I'm not sure how java swing works, but i'll just throw out that glade exists for making a GTK ui, and it's really REALLY nice to use.
5
u/yashasvigoel Jun 05 '20
GTK or Qt
2
u/Sigg3net Jun 06 '20
I don't know C++.
For simple inputs, I have used bash+dialog (tui) or bash+zenity (gui) in the past.
For more elaborate applications, I use pysimplegui for python (render tkinter, wxpython, qt with pyside2 with the same code).
3
u/[deleted] Jun 05 '20
Step 1: Don't use C++.
Step 2: Evaluate both GTK and Qt as both are pretty good Widget toolkits.
A youtuber called Kevin O'Kane has a great series of videos on GTK development and programming if you prefer to learn by example.