MantisBT - CMake
View Issue Details
0007465CMakeCMakepublic2008-08-07 06:292008-08-26 11:22
Stephan Diederich 
Clinton Stimpson 
normalminoralways
closedfixed 
CMake-2-6 
 
0007465: qmake/cmake inconsistency: add WIN32 define (and _MSC_VER=xxx ?) to QT4_WRAP_CPP
A default qmake ".pro" project adds "-D_MSC_VER=1400 -DWIN32" on windows (MSVC8) to the defines while moccing headers.
The QT4_WRAP_CPP does not define those.

Working around the problem by using the options from QT4_WRAP_CPP is possible:
QT4_WRAP_CPP(projects_MOC_SRCS ${projects_MOC_HDRS} OPTIONS "-DWIN32").


No tags attached.
Issue History
2008-08-07 06:29Stephan DiederichNew Issue
2008-08-07 09:38Clinton StimpsonStatusnew => assigned
2008-08-07 09:38Clinton StimpsonAssigned To => Clinton Stimpson
2008-08-25 19:43Clinton StimpsonNote Added: 0013182
2008-08-26 11:22Clinton StimpsonStatusassigned => closed
2008-08-26 11:22Clinton StimpsonNote Added: 0013188
2008-08-26 11:22Clinton StimpsonResolutionopen => fixed

Notes
(0013182)
Clinton Stimpson   
2008-08-25 19:43   
Partial fix in FindQt4.cmake revision 1.127
(0013188)
Clinton Stimpson   
2008-08-26 11:22   
Revision 1.128 contains the final fix.