- The Q_OBJECT macro at the beginning of the class definition is necessary for all classes that define signals or slots.
- Classes that use the Q_OBJECT macro must have moc run on them. This isn’t a problem because qmake automatically adds the necessary rules to the makefile. But if you forget to regenerate your makefile using qmake and moc isn’t run, the linker will complain that some functions are declared but not implemented.
February 7, 2012
October 14, 2011
linux ll ls按最后修改时间排序文件linux ls ll sort file by last modifed date
August 23, 2010
August 21, 2010
win7 VMware 7.0下centos不能上网
March 19, 2010
在windows下用wingrub安装backtrack 4 final双系统
October 15, 2009
October 12, 2009
October 10, 2009
启动apache出错 undefined symbol:sqlite3_open_v2