简单例子假设已经实现如下程序:hello.cpphello.hmain.cpp首先,使用编辑器,在上述文件目录下创建文件hello.pro.然后加入几行语句告诉qmake项目中的源文件和头文件。使用 SOURCES 变量 加入源文件,例如:SOURCES +=hello.cpp加入所有源文件SOURCES += hello.cppSOURCES += main.cpp也可以使用Make-like语法形式。如下:SOURCES = hello.cpp\ main.cpp加入头文件HEADERS += hello.hSOURCES +=hello.cppSOURCES += ma... Read More
posted @ 2013-08-21 01:24 Greenbird Views(295) Comments(0) Diggs(0) Edit
qmake 简化了在不同平台下开发项目时构建处理的过程。qmake 自动产生Makefiles文件,只需要几行信息来构建每个Makefile.qmake可以被用于任何软件项目,不管是否使用Qt。qmake 产生的makefile基于项目文件的信息。项目文件由开发者创建,通常比较简单,但是复杂的项目需用更加高级的项目文件。qmake包含支持Qt开发的附加特征,自动包含构建规则moc和uic。qmake也可以产生针对Microsoft Visual studio 的项目,不需要开发者去改变项目文件。 Read More
posted @ 2013-08-21 01:22 Greenbird Views(260) Comments(0) Diggs(0) Edit

To further demonstrate the capabilities of KinFu Large Scale, we made another example with a room.