[PyQt] QtQml error on CentOS6.4 ??

levinie levinie at qq.com
Mon Dec 9 08:40:05 GMT 2013


I install latest QT5 and PyQt5 on CentOS6.4
And here is some error:

g++  -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QML_LIB  -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB  -I/opt/Qt/5.1.1/gcc_64/mkspecs/linux-g++ -I. -I. -I../../QtQml  -I/opt/python/include/python2.7 -I/opt/Qt/5.1.1/gcc_64/include  -I/opt/Qt/5.1.1/gcc_64/include/QtQml  -I/opt/Qt/5.1.1/gcc_64/include/QtNetwork  -I/opt/Qt/5.1.1/gcc_64/include/QtGui  -I/opt/Qt/5.1.1/gcc_64/include/QtCore -I. -o qpyqml_register_type.o  qpyqml_register_type.cpp
qpyqml_register_type.cpp: In function ‘QQmlPrivate::RegisterType* init_type(PyTypeObject*, bool, int, PyTypeObject*)’:
qpyqml_register_type.cpp:262: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:263: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:264: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:265: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:266: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:267: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:268: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:269: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:270: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:271: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:272: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:273: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:274: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:275: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:276: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:277: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:278: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:279: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:280: error: insufficient contextual information to determine type
qpyqml_register_type.cpp:281: error: insufficient contextual information to determine type
make[2]: *** [qpyqml_register_type.o] Error 1
make[2]: Leaving directory `/root/Downloads/PyQt-gpl-5.1.1/qpy/QtQml'
make[1]: *** [sub-QtQml-make_first] Error 2
make[1]: Leaving directory `/root/Downloads/PyQt-gpl-5.1.1/qpy'
make: *** [sub-qpy-make_first-ordered] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20131209/9ca6395a/attachment-0001.html>


More information about the PyQt mailing list