<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi all!</DIV>
<DIV>I'm building a Qt based app with CMake using MinGW generator.</DIV>
<DIV>I set this in my CMakeLists.txt : </DIV><FONT size=2>
<DIV>SET(QT_USE_QTDESIGNER 1)</DIV>
<DIV>SET(QT_USE_QTMAIN 1)</DIV>
<DIV>SET(QT_USE_QTUITOOLS 1)</DIV>
<DIV>SET(QT_USE_QTWEBKIT 1)</DIV>
<DIV> </DIV>
<DIV>When building I errors like below :</DIV>
<DIV> </DIV>
<DIV>C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1663: error:<BR> declaration of C function `LONG InterlockedCompareExchange(volatile LONG*, LONG<BR>, LONG)' conflicts with<BR>C:/Qt/4.4.3/include/QtCore/../../src/corelib/arch/qatomic_windows.h:387: error:<BR>previous declaration `long int InterlockedCompareExchange(long int*, long int, l<BR>ong int)' here</DIV>
<DIV> </DIV>
<DIV>Is there anyboy who can help me?</DIV>
<DIV> </DIV>
<DIV>Thanks in advance.</DIV></FONT></td></tr></table><br>