[Qt-creator] patch for improving cmake support with mingw

Antoine Requet antoine.requet at gmail.com
Sun Mar 8 19:20:28 CET 2009


Hello,

I have tried to use qtcreator's support for cmake under windows/mingw,
and I have encountered the following problems:
 - the generator uses the "CodeBlocks - Unix Makefiles" generator.
However, this generator does not works under windows, so an empty
project is opened in qt-creator
 - when starting a build, the plugin tries to launch "make". The
default make that is included in mingw is "mingw32-make"

The attached diff uses #ifdef Q_OS_WIN to replace "CodeBlocks - Unix
Makefiles" and "make" by "CodeBlocks - MinGW Makefiles" and
"mingw32-make" under windows, which seems to fix the problem.
There is also a fix for an uninitialized member variable in makestep.cpp.

Regards,

Antoine Requet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mingw_changes.diff
Type: application/octet-stream
Size: 3019 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090308/5580f7cf/attachment.obj 


More information about the Qt-creator-old mailing list