我找到了一份qcom-ebe3df3的Qcom源码,可能是以前同学们下载后留在计算机上的,在Qt4的最新版, 4.8.6-1上编译,报如下的错误:
#elif Q_MOC_OUTPUT_REVISION != 62
#error "This file was generated using the moc from 4.6.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
之前是没有登录的关系,所以看到不教程中的图片,现在可以看见了。
我刚才把Qcom源码在Windows 7下的Qt4.8.5上编译,也出现同样的编译错误,指向moc_qextserialport.cpp中的:
#error "This file was generated using the moc from 4.6.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
是只能在Qt4.8.4下编译,还是我的操作步骤上出了问题呢?