I want to test my plugins of QtCreator on Windows so I have to buld QtCreator with mingw myself. I'm using QtSDK installed on Win7.

I downloaded 2.2.1 src-zip from Nokia. As I follows the README file, I used qmake "QT_PRIVATE_HEADERS=" $SOURCE_DIRECTORY/qtcreator.pro But this is incorrect. I still got the error: could not find QtCore/private/ qwineventnotifier_p.h. I have to copy this file from Qt framework source files to this folder. Then I got another error:
..\..\..\..\qt-creator-2.2.1-src\src\plugins\qt4projectmanager\qt-s60\s60createp
ackagestep.cpp:251:21: error: too many decimal points in number
..\..\..\..\qt-creator-2.2.1-src\src\plugins\qt4projectmanager\qt-s60\s60createp
ackagestep.cpp:251: error: stray '\' in program
..\..\..\..\qt-creator-2.2.1-src\src\plugins\qt4projectmanager\qt-s60\s60createp
ackagestep.cpp:251: error: stray '\' in program
..\..\..\..\qt-creator-2.2.1-src\src\plugins\qt4projectmanager\qt-s60\s60createp
ackagestep.cpp:251:44: error: too many decimal points in number
..\..\..\..\qt-creator-2.2.1-src\src\plugins\qt4projectmanager\qt-s60\s60createp
ackagestep.cpp:251: error: stray '\' in program
..\..\..\..\qt-creator-2.2.1-src\src\plugins\qt4projectmanager\qt-s60\s60createp
ackagestep.cpp:251: error: stray '\' in program
..\..\..\..\qt-creator-2.2.1-src\src\plugins\qt4projectmanager\qt-s60\s60createp
ackagestep.cpp:251:67: error: too many decimal points in number
..\..\..\..\qt-creator-2.2.1-src\src\plugins\qt4projectmanager\qt-s60\s60createp
ackagestep.cpp:251: error: stray '\' in program
..\..\..\..\qt-creator-2.2.1-src\src\plugins\qt4projectmanager\qt-s60\s60createp
ackagestep.cpp:251: error: stray '\' in program
..\..\..\..\qt-creator-2.2.1-src\src\plugins\qt4projectmanager\qt-s60\s60createp
ackagestep.cpp: In member function 'void Qt4ProjectManager::Internal::S60CreateP
ackageStep::handleWarnAboutPatching()':
..\..\..\..\qt-creator-2.2.1-src\src\plugins\qt4projectmanager\qt-s60\s60createp
ackagestep.cpp:251: error: '$$replace' was not declared in this scope
I've no idea how to solve this problem.

Anyone help please?