So I've been working on this little project and while refactoring some code I went into this issue. So I have this class calles PageComponent which is defined in the .h file and even in the .cpp file, the .h file compiles without any issue but the .cpp file gives error whenever I try to use PageComponent as argument, even tho it is declarated and it works in the .h file.
please, please never ever again post pictures of text... Not only they are not readable nor usable directly for copy&paste but they use up lots of storage and internet bandwidth which contributes to polluting the planet.
➜ do your part and do yourself a favour and please read How to get the best out of this forum and modify your post accordingly (including code tags and necessary documentation for your ask).