[CMake] Building Qt app

kafou nmento ngondorolf at yahoo.fr
Tue Dec 23 12:23:26 EST 2008


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.


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081223/0f054f4f/attachment.htm>


More information about the CMake mailing list