I am working on upgrading a fairly large project to Qt 5.1.1 from Qt 4.8.3. We are using vs2010 and I am using the add-in v1.2.2 VS Qt. I fixed all the problems with the path related to adding QtWidgets and some errors from the new QPointer implementation, but now I am facing a certain set of errors that I hope someone else sees and can overcome:
1>c:\qt\qt5.1.1\5.1.1\msvc2010_opengl\include\qtcore\qarraydataops.h(399): error C2171: '!' : illegal on operands of type ''unknown-type''
1>c:\qt\qt5.1.1\5.1.1\msvc2010_opengl\include\qtcore\qarraydataops.h(400): error C2171: '!' : illegal on operands of type ''unknown-type''
1>c:\qt\qt5.1.1\5.1.1\msvc2010_opengl\include\qtcore\qarraydataops.h(409): error C2171: '!' : illegal on operands of type ''unknown-type''
Has anyone seen this and found the root of the problem?
We use boost 1.53 and Precompiled Headers, I have a suspicion that one of the problems may be a problem, since it seems that the problem occurs when QtCore is included in a precompiled header.
Greetings
source
share