Warning C4251: class 'QAtomicInt' needs to have dll-interface to be used by clients of class
It occurs when migranting from QT4 to QT5. and it leads to following error.
error C2220: warning treated as error - no 'object' file generated
It is caused by code:
How to solve this problem?
Can you give more information on where that error happens ?