[CMake] Building Qt app

clinton at elemtech.com clinton at elemtech.com
Wed Dec 24 11:23:42 EST 2008


This should answer your questions about it.  A patch is also provided.
http://trolltech.com/developer/task-tracker/index_html?id=228612&method=entry

Clint

----- Original Message -----
From: "kafou nmento" <ngondorolf at yahoo.fr>
To: cmake at cmake.org
Sent: Tuesday, December 23, 2008 10:23:26 AM GMT -07:00 US/Canada Mountain
Subject: [CMake] Building Qt app



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
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list