我是按Qt 4第二版第五章中的iconeditorplugin例子进行运行,出现以下错误提示:
1>------ 已启动生成: 项目: iconeditorplugin, 配置: Debug Win32 ------
1>Moc'ing iconeditorplugin.h...
1>.\iconeditorplugin.h(10): Error: Undefined interface
1>Project : error PRJ0019: 某个工具从以下位置返回了错误代码: "Moc'ing iconeditorplugin.h..."
1>生成日志保存在“file://e:\QT_training\char_05\iconeditorplugin\iconeditorplugin\Debug\BuildLog.htm”
1>iconeditorplugin - 1 个错误,0 个警告
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
请求高手帮忙解决!!
Q_INTERFACES(QDesignerCustomWidgetInterface)此句我是按照书上写的打上去的,但是为什么显示没有定义的界面呢?