编译:
qmake -project
qmake
make
编译生成了 demo 程序,运行:
./demo -qws -fn wenquanyi

用qconfig工具配置qconfig-local.h文件
进入qconfig的源码目录编译生成 qconfig :
cd tools/qconfig/
qmake
make
执行qconfig:
./qconfig -qws
首次打开时可能出现如下界面,需要导入 feature.txt 文件:

选择 src/corelib/global/feature.txt 文件,然后点击 Open ,就会导入所有可配置的特性:

在左侧的树状列表中选择需要编译的特性,然后通过 File 菜单的 Save As 保存为qconfig-local.h文件即可。
也可以通过 File -> Open 打开已有的配置文件,例如 qconfig-small.h,进行修改。
更多RedHat相关信息见RedHat 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=10
