Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

QtCore/qmetatype.h Build errors

I am currently building a Qt application that I wrote in eclipse. Yes, I do know that everyone's recommendation is to use Qt creator. However, the project requires eclipse because the workflow is based in eclipse. Unless there is a total game breaker and Eclipse absolutely needs to be used. So far, I haven't run into that issue and everything appears to be working.

Anyways, I am getting odd errors when building the application in the qmetatpe.h. For example, below are a few of the errors that I am receiving:

qmetatype.h:707:34: error: ‘friend’ used outside of class
qmetatype.h:707:59: error: invalid use of template-name ‘QtPrivate::ConverterMemberFunction’ without an argument list
qmetatype.h:695:70: error: non-member function ‘void* constructExtended(void*, const void*)’ cannot have cv-qualifier

I am not sure what could be causing these errors. I have another application (not written by me) that uses Qt and it builds just fine. My build settings appear to be the same between the two applications.

I have been stumped on this issue for a few days now and I was wondering if anyone has an explanation on what could be causing this?

Comments