我的UNIX上已经安装好qt-x11-free-3.3.2,现在是要再配置成支持多线程
我先是打命令如下:
./configure -thread
这一步执行OK
接着我执行命令:
make
提示的错误如下:
hepcgis:/caer/src/gis/xiaobo/qt332/qt-x11-free-3.3.2> make
cd qmake && make
`qmake' is up to date.
cd src/moc && make
cxx -c -x cxx -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/ca
er/src/gis/xiaobo/qt332/qt-x11-free-3.3.2/mkspecs/tru64-cxx -I. -I../../include -I../tools -I. -o ./qcstring.o ..
/tools/qcstring.cpp
cxx: Error: ../tools/qtl.h, line 285: Invalid declaration.
Q_EXPLICIT QBackInsertIterator( Container &c )
---------------^
cxx: Error: ../tools/qtl.h, line 290: Invalid declaration.
QBackInsertIterator<Container>&
----------------------------------^
cxx: Error: ../tools/qtl.h, line 312: Invalid declarator.
protected:
^
cxx: Error: ../tools/qtl.h, line 297: In this declaration, "QBackInsertIterator" does not name a template.
QBackInsertIterator<Container>& operator*()
----^
cxx: Error: ../tools/qtl.h, line 302: In this declaration, "QBackInsertIterator" does not name a template.
QBackInsertIterator<Container>& operator++()
----^
cxx: Error: ../tools/qtl.h, line 307: In this declaration, "QBackInsertIterator" does not name a template.
QBackInsertIterator<Container>& operator++(int)
----^
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
十分火急地问,这个是什么原因!
万分感谢!