跨平台的C库GUI应用? [英] Cross Platform C library for GUI Apps?

查看:136
本文介绍了跨平台的C库GUI应用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

免费的,简单的学习/应用,跨平台的C库的GUI应用?我在找的Qt?

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

奖金的问题:我可以用在Mac上该库/工具包开发然后重新编译在PC / Linux的

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.

事实是,我是在C系列追赶的过程(从web开发未来 - XHTML / PHP / MySQL的)学习iPhone的发展。

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.

我不明白,C是不是C ++或ObjectiveC,但我想保持学习曲线越简单越好。不要太题外话,但我也是在寻找很好的入门书籍和网站。我发现这个至今

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.

我想杀了许多鸟类在这里一石。我不知道有特定于平台的扩展,但我会尽量避免那些移植用途
这个想法是,我要写一台机器上的code和刚刚编译三次。 (苹果机/运/ Linux的)如果目标C将在Windows和Linux,以及OS X编译那么这很好。如果我必须使用C ++,这也很好。

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.

推荐答案

如果你正在寻找一个 C ++ 库,然后的 Qt的中基本上没有你在找什么。如果你想坚持纯粹的 C ,然后Qt是不是一种选择。

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.

作为一个C框架,你可以使用 GTK + ,它适用于Linux,Windows和OS X。

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

这篇关于跨平台的C库GUI应用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆