首页| 论坛| 消息

标题:QT4的Assistant里有许多例子 我想问的是例子里的代码要在哪里编译运行
作者:weilong122
日期:2006-04-19 14:56
内容:

QT4的Assistant里有许多例子
我想问的是例子里的代码要在哪里编译运行(Windows)
运行后回自动生成图形界面吗?


#1 [billdates 04-19 22:27]
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.
#2 Re:QT4的Assistant里有许多例子我想问的是例子里的代码要在哪里编译运行 [weilong122 04-20 21:48]
只有单个主函数的程序我已经会编译了如(helloword)
但是对于有好几个函数的程序要怎么编译呢?
如一个程序有2个cpp文件 和一个.h文件
#3 [XChinux 04-20 22:42]
请看Qt Programming版置顶帖中我写的初学例子。

回复 发表
主题 版块