Transfer: https://blog.csdn.net/hanjieson/article/details/8194337
Cause: The header file of MyView.h is used in other classes
Solution: Before adding MyView.h, also add MyDoc.h
- #include "MyDoc.h"
- #include "MyView.h"
Transfer: https://blog.csdn.net/hanjieson/article/details/8194337
Cause: The header file of MyView.h is used in other classes
Solution: Before adding MyView.h, also add MyDoc.h