Hi all!
I'm building a Qt based app with CMake using MinGW generator.
I set this in my CMakeLists.txt :
SET(QT_USE_QTDESIGNER 1)
SET(QT_USE_QTMAIN 1)
SET(QT_USE_QTUITOOLS 1)
SET(QT_USE_QTWEBKIT 1)
When building I errors like below :
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1663: error:
declaration of C function `LONG InterlockedCompareExchange(volatile LONG*, LONG
, LONG)' conflicts with
C:/Qt/4.4.3/include/QtCore/../../src/corelib/arch/qatomic_windows.h:387: error:
previous declaration `long int InterlockedCompareExchange(long int*, long int, l
ong int)' here
Is there anyboy who can help me?
Thanks in advance.
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake