Cross-Platform GUI: Compatible Windows & Linux Solutions

  • Thread starter Thread starter CRGreathouse
  • Start date Start date
  • Tags Tags
    Gui
AI Thread Summary
For developing a GUI program that automates tasks and supports multithreading across Windows and Linux, several options are available. Popular frameworks include wxWidgets, Qt, Tkinter, and Gtk+. Tkinter is noted for its portability and ease of use with Python, although its aesthetics may be lacking. Qt offers a user-friendly interface and a cross-platform threading library, but it requires either a GPL license or a paid development license. wxWidgets stands out as it allows for both GPL and commercial usage without cost, making it a versatile choice for developers looking to avoid licensing fees.
CRGreathouse
Science Advisor
Homework Helper
Messages
2,832
Reaction score
0
I'm thinking about writing a GUI program (a wrapper to multithread loops and automate tasks) and I was wondering if there was a way to do this in a compatible way across Windows and Linux. You see, I'm running XP at home now but I think I may convert to Xubuntu in the near future. Should I just resign myself to coding this twice, or is there a way to do what I want?
 
Technology news on Phys.org
Plenty of ways. wxWidgets, Qt, Tkinter, Gtk+, and so on. If Python is sufficient to act as a wrapper for your code, Tkinter would probably be the quickest way of doing things in a very portable manner (although it won't look beautiful).
 
In addition to shoehorn's suggestions, I would like to suggest Java and it's SWING interface.
 
shoehorn said:
Plenty of ways. wxWidgets, Qt, Tkinter, Gtk+, and so on. If Python is sufficient to act as a wrapper for your code, Tkinter would probably be the quickest way of doing things in a very portable manner (although it won't look beautiful).

I'll look into Tkinter, thanks.
 
Qt is pretty easy to use and includes a crossplatform threading library, unfortunately you must either GPL your code or pay for a development license.
 
Coin said:
Qt is pretty easy to use and includes a crossplatform threading library, unfortunately you must either GPL your code or pay for a development license.

WxWidgets allow you to use it for both GPL and commercial usage for free.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
Back
Top