• 6192阅读
  • 3回复

QT4的Assistant里有许多例子 我想问的是例子里的代码要在哪里编译运行 [复制链接]

上一主题 下一主题
离线weilong122
 

只看楼主 正序阅读 楼主  发表于: 2006-04-19
QT4的Assistant里有许多例子
我想问的是例子里的代码要在哪里编译运行(Windows)
运行后回自动生成图形界面吗?
[ 此贴被XChinux在2006-04-19 18:27重新编辑 ]
离线XChinux

只看该作者 3楼 发表于: 2006-04-20
请看Qt Programming版置顶帖中我写的初学例子。
二笔 openSUSE Vim N9 BB10 XChinux@163.com 网易博客 腾讯微博
承接C++/Qt、Qt UI界面、PHP及预算报销系统开发业务
离线weilong122

只看该作者 2楼 发表于: 2006-04-20
Re:QT4的Assistant里有许多例子我想问的是例子里的代码要在哪里编译运行
只有单个主函数的程序我已经会编译了如(helloword)
但是对于有好几个函数的程序要怎么编译呢?
如一个程序有2个cpp文件 和一个.h文件
离线billdates
只看该作者 1楼 发表于: 2006-04-19
Many of them are already compiled when you installed QT (you have the option not to compile examples but I think the default is to compile them). When examples are compiled, they typically include GUI. search for the executable name in QT assistant under your QTDIR.
快速回复
限100 字节
 
上一个 下一个