[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] QtQml error on CentOS6.4 ??
From: "=?gb18030?B?bGV2aW5pZQ==?=" <levinie () qq ! com>
Date: 2013-12-09 8:40:05
Message-ID: tencent_11BDF44970079A322C13476E () qq ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
[Attachment #4 (text/plain)]
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
[Attachment #5 (text/html)]
I install latest QT5 and PyQt5 on CentOS6.4<br>And here is some error:<br><br>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<br>qpyqml_register_type.cpp: In function \
¡®QQmlPrivate::RegisterType* init_type(PyTypeObject*, bool, int, \
PyTypeObject*)¡¯:<br>qpyqml_register_type.cpp:262: error: insufficient contextual \
information to determine type<br>qpyqml_register_type.cpp:263: error: insufficient \
contextual information to determine type<br>qpyqml_register_type.cpp:264: error: \
insufficient contextual information to determine \
type<br>qpyqml_register_type.cpp:265: error: insufficient contextual information to \
determine type<br>qpyqml_register_type.cpp:266: error: insufficient contextual \
information to determine type<br>qpyqml_register_type.cpp:267: error: insufficient \
contextual information to determine type<br>qpyqml_register_type.cpp:268: error: \
insufficient contextual information to determine \
type<br>qpyqml_register_type.cpp:269: error: insufficient contextual information to \
determine type<br>qpyqml_register_type.cpp:270: error: insufficient contextual \
information to determine type<br>qpyqml_register_type.cpp:271: error: insufficient \
contextual information to determine type<br>qpyqml_register_type.cpp:272: error: \
insufficient contextual information to determine \
type<br>qpyqml_register_type.cpp:273: error: insufficient contextual information to \
determine type<br>qpyqml_register_type.cpp:274: error: insufficient contextual \
information to determine type<br>qpyqml_register_type.cpp:275: error: insufficient \
contextual information to determine type<br>qpyqml_register_type.cpp:276: error: \
insufficient contextual information to determine \
type<br>qpyqml_register_type.cpp:277: error: insufficient contextual information to \
determine type<br>qpyqml_register_type.cpp:278: error: insufficient contextual \
information to determine type<br>qpyqml_register_type.cpp:279: error: insufficient \
contextual information to determine type<br>qpyqml_register_type.cpp:280: error: \
insufficient contextual information to determine \
type<br>qpyqml_register_type.cpp:281: error: insufficient contextual information to \
determine type<br>make[2]: *** [qpyqml_register_type.o] Error 1<br>make[2]: Leaving \
directory `/root/Downloads/PyQt-gpl-5.1.1/qpy/QtQml'<br>make[1]: *** \
[sub-QtQml-make_first] Error 2<br>make[1]: Leaving directory \
`/root/Downloads/PyQt-gpl-5.1.1/qpy'<br>make: *** [sub-qpy-make_first-ordered] Error \
2
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic