- 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.
Recommended Posts
February 7, 2012
如何查看linux版本
October 14, 2011
linux ll ls按最后修改时间排序文件linux ls ll sort file by last modifed date
August 23, 2010
shell电话本
August 21, 2010
win7 VMware 7.0下centos不能上网
March 19, 2010
在windows下用wingrub安装backtrack 4 final双系统
October 15, 2009
KDE与GNOME的战争史
October 12, 2009
配置apache让用户登录
October 10, 2009
启动apache出错 undefined symbol:sqlite3_open_v2
1 Comment
Comments are closed for this article!
Your place is valueble for me. Thanks!…