我正在寻找一个简单的图形用户界面为C++ program.It将被你用于一个简单的项目&必须在文件中没有动态链接库和that.And的东西必须在视窗,Linux和Mac上运行。
请原谅我的英语,我正在尽力。
发布于 2012-10-02 13:20:26
QT http://qt-project.org/downloads
可在Windows、Linux和Mac上运行。
示例QT代码:
#include <QApplication>
#include <QPushButton>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPushButton hello("Hello world!");
hello.resize(100, 30);
hello.show();
return app.exec();
}更多信息:
http://doc.qt.digia.com/3.3/tutorial1-01.html
http://linux301.wordpress.com/2009/06/15/hello-world-with-qt/
http://www.greyc.ensicaen.fr/ensicaen/Docs/Qt4/tutorial-t1.html
发布于 2012-10-02 13:21:52
我推荐WxWidgets library。你一定要查一查。
它可以在windows、Linux和mac上运行。
https://stackoverflow.com/questions/12684879
复制相似问题