I am trying to compile qtbase from this repo - git://gitorious.org/qt/qtbase.git on win32 machine, with mingw provided with qt creator 2.3 installation (gcc 4.4) and I get the following errors:

Qt Code:
  1. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:514: error: expected unqualifi
  2. ed-id before numeric constant
  3. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:515: error: expected unqualifi
  4. ed-id before numeric constant
  5. In file included from ..\..\include\QtCore/qtimer.h:1,
  6. from kernel\qt_gui_pch.h:80:
  7. ..\..\include\QtCore/../../src/corelib/kernel/qtimer.h:100: error: expected '}'
  8. at end of input
  9. In file included from ..\..\include\QtGui/qevent.h:1,
  10. from kernel\qt_gui_pch.h:74:
  11. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'const QPo
  12. int& QDropEvent::pos() const':
  13. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:489: error: 'p' was not declar
  14. ed in this scope
  15. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'Qt::Mouse
  16. Buttons QDropEvent::mouseButtons() const':
  17. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:490: error: 'mouseState' was n
  18. ot declared in this scope
  19. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'Qt::Keybo
  20. ardModifiers QDropEvent::keyboardModifiers() const':
  21. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:491: error: 'modState' was not
  22. declared in this scope
  23. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'Qt::DropA
  24. ctions QDropEvent::possibleActions() const':
  25. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:493: error: 'act' was not decl
  26. ared in this scope
  27. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'Qt::DropA
  28. ction QDropEvent::proposedAction() const':
  29. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:494: error: 'default_action' w
  30. as not declared in this scope
  31. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'void QDro
  32. pEvent::acceptProposedAction()':
  33. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:495: error: 'drop_action' was
  34. not declared in this scope
  35. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:495: error: 'default_action' w
  36. as not declared in this scope
  37. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'Qt::DropA
  38. ction QDropEvent::dropAction() const':
  39. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:497: error: 'drop_action' was
  40. not declared in this scope
  41. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: In member function 'const QMi
  42. meData* QDropEvent::mimeData() const':
  43. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:501: error: 'mdata' was not de
  44. clared in this scope
  45. ..\..\include\QtGui/../../src/gui/kernel/qevent.h: At global scope:
  46. ..\..\include\QtGui/../../src/gui/kernel/qevent.h:509: error: expected unqualifi
  47. ed-id at end of input
  48. mingw32-make[2]: *** [tmp/obj/debug_shared/qt_gui_pch.h.gch/c++] Error 1
  49. mingw32-make[2]: Leaving directory `D:/oto/qtbase/src/gui'
  50. mingw32-make[1]: *** [debug-all] Error 2
  51. mingw32-make[1]: Leaving directory `D:/oto/qtbase/src/gui'
  52. mingw32-make: *** [sub-gui-make_default-ordered] Error 2
To copy to clipboard, switch view to plain text mode