Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cross Platform C library for GUI Apps? [closed]

Free of charge, simple to learn/use, Cross Platform C library for GUI Apps? Am I looking for Qt?

Bonus question: Can I develop with the said library/toolkit on Mac then recompile on PC/Linux?

Super Bonus Question: Link to tutorial and/or download of said library.

The truth is that I'm in the process of catching up on the C family (coming from web development - XHTML/PHP/MySQL) to learn iPhone development.

I do understand that C is not C++ or ObjectiveC but I want to keep the learning curve as simple as possible. Not to get too off topic, but I am also on the lookout for good starter books and websites. I've found this so far.

I'm trying to kill many birds with one stone here. I don understand that there are platform specific extensions, but I will try to avoid those for porting purposes The idea is that I want to write the code on one machine and just compile thrice. (Mac/Win/Linux) If Objective C will compile on Windows and Linux as well as OS X then that's good. If I must use C++, that's also fine.

like image 434
Moshe Avatar asked Jan 07 '10 07:01

Moshe


People also ask

Is there a GUI library for C?

Another option is Tk, which is a GUI library written in C. It comes with Tcl, a scripting language also written in C. These were designed from the ground up to be embedded in C programs.

Which platform is best for GUI?

1–PyQt5. PyQt5 is a very well-known GUI framework used by both Python coders and UI designers. One of its components, the PyQt package, is built around the Qt framework, which is a leading cross-platform GUI design tool for just about any kind of application.

Is a open source cross-platform GUI toolkit?

wxPython, open source (wxWindows License) is a wrapper for the cross-platform GUI API wxWidgets for the Python programming language. Pyjs, open source (Apache License 2.0) is a rich web application framework for developing client-side web and desktop applications, it is a port of Google Web Toolkit (GWT) from Java.


2 Answers

If you are looking for a C++ library, then Qt basically does what you are looking for. If you want to stick to pure C, then Qt is not an option.

As a C framework you could use GTK+, it works on Linux, Windows and OS X.

like image 72
sth Avatar answered Oct 08 '22 12:10

sth


Take a look at the IUP Toolkit. It is written largely in C, and is also easily bound to Lua.

like image 42
RBerteig Avatar answered Oct 08 '22 12:10

RBerteig