Lots of errors in "qcodeedit-1.0".

What I did on windows (qt4.2)?
1. Unzipped the file
2. Loaded the example.pro
3. Loaded the qcodeedit.pro
4. Loaded the standalone.pro
5. made example.pro dependent on qcodeedit and standalone
6. Build
7. Lots of errors
Qt Code:
  1. c:\Qt\4.2.2\include\QtCore\../../src\corelib\global\qglobal.h(1464) : error C2027: use of undefined type 'QMargin'
  2. src\editor\qeditor.h(34) : see declaration of 'QMargin'
  3. c:\Qt\4.2.2\include\QtCore\../../src\corelib\tools\qlist.h(327) : see reference to class template instantiation 'QTypeInfo<T>' being compiled
  4. with
  5. [
  6. T=QMargin
  7. ]
  8. D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xstring(521) : while compiling class-template member function 'void QList<T>::node_copy(QList<T>::Node *,QList<T>::Node *,QList<T>::Node *)'
  9. with
  10. [
  11. T=QMargin
  12. ]
  13. D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xmemory(136) : while compiling class-template member function 'QList<T>::~QList(void)'
  14. with
  15. [
  16. T=QMargin
  17. ]
  18. src\editor\qeditor.h(134) : see reference to class template instantiation 'QList<T>' being compiled
  19. with
  20. [
  21. T=QMargin
  22. ]
  23. c:\Qt\4.2.2\include\QtCore\../../src\corelib\tools\qlist.h(329) : error C2514: 'QMargin' : class has no constructors
  24. src\editor\qeditor.h(34) : see declaration of 'QMargin'
  25. c:\Qt\4.2.2\include\QtCore\../../src\corelib\tools\qlist.h(332) : error C2514: 'QMargin' : class has no constructors
  26. src\editor\qeditor.h(34) : see declaration of 'QMargin'
  27. qplaintextedit.cpp ..... (and many more.......)
To copy to clipboard, switch view to plain text mode 
Any idea??
I wonder how others are able to compile.