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
c:\Qt\4.2.2\include\QtCore\../../src\corelib\global\qglobal.h(1464) : error C2027: use of undefined type 'QMargin'
src\editor\qeditor.h(34) : see declaration of 'QMargin'
c:\Qt\4.2.2\include\QtCore\../../src\corelib\tools\qlist.h(327) : see reference to class template instantiation 'QTypeInfo<T>' being compiled
with
[
T=QMargin
]
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 *)'
with
[
T=QMargin
]
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xmemory(136) : while compiling class-template member function 'QList<T>::~QList(void)'
with
[
T=QMargin
]
src\editor\qeditor.h(134) : see reference to class template instantiation 'QList<T>' being compiled
with
[
T=QMargin
]
c:\Qt\4.2.2\include\QtCore\../../src\corelib\tools\qlist.h(329) : error C2514: 'QMargin' : class has no constructors
src\editor\qeditor.h(34) : see declaration of 'QMargin'
c:\Qt\4.2.2\include\QtCore\../../src\corelib\tools\qlist.h(332) : error C2514: 'QMargin' : class has no constructors
src\editor\qeditor.h(34) : see declaration of 'QMargin'
qplaintextedit.cpp ..... (and many more.......)
c:\Qt\4.2.2\include\QtCore\../../src\corelib\global\qglobal.h(1464) : error C2027: use of undefined type 'QMargin'
src\editor\qeditor.h(34) : see declaration of 'QMargin'
c:\Qt\4.2.2\include\QtCore\../../src\corelib\tools\qlist.h(327) : see reference to class template instantiation 'QTypeInfo<T>' being compiled
with
[
T=QMargin
]
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 *)'
with
[
T=QMargin
]
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xmemory(136) : while compiling class-template member function 'QList<T>::~QList(void)'
with
[
T=QMargin
]
src\editor\qeditor.h(134) : see reference to class template instantiation 'QList<T>' being compiled
with
[
T=QMargin
]
c:\Qt\4.2.2\include\QtCore\../../src\corelib\tools\qlist.h(329) : error C2514: 'QMargin' : class has no constructors
src\editor\qeditor.h(34) : see declaration of 'QMargin'
c:\Qt\4.2.2\include\QtCore\../../src\corelib\tools\qlist.h(332) : error C2514: 'QMargin' : class has no constructors
src\editor\qeditor.h(34) : see declaration of 'QMargin'
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.
Bookmarks