[PyQt] Unable to compile PyQt with Qt5.4Beta

Sumit Jamgade sumit.jamgade at druva.com
Wed Nov 5 04:48:34 GMT 2014


Hello,

I was trying to compile PyQt4 with the Qt5.4-beta.  getting stuck at the 
error below.

PyQt:  4.11.2
Qt    :   5.4Beta
sip   :   4.16.4
msvc:    2013
python:2.7(32bit)

C:\Qt\Qt5.4.0\5.4\msvc2013\include\QtCore/qobjectdefs_impl.h(494) : 
error C2064: term does not evaluate to a function taking 0 arguments
C:\Qt\Qt5.4.0\5.4\msvc2013\include\QtCore/qobjectdefs_impl.h(493) : 
while compiling class template member function 'void 
QtPrivate::FunctorCall<QtPrivate::Indexes<0>::Value,SignalArgs,R,Function>::call(Function,void 
**)'
         with
         [
             SignalArgs=QtPrivate::List_Left<void,0>::Value
,            R=void
,            Function=char *
         ]
C:\Qt\Qt5.4.0\5.4\msvc2013\include\QtCore/qobjectdefs_impl.h(551) : see 
reference to function template instantiation 'void 
QtPrivate::FunctorCall<QtPrivate::Indexes<0>::Value,SignalArgs,R,Function>::call(Function,void 
**)' being compiled
         with
         [
             SignalArgs=QtPrivate::List_Left<void,0>::Value
,            R=void
,            Function=char *
         ]
C:\Qt\Qt5.4.0\5.4\msvc2013\include\QtCore/qobjectdefs_impl.h(551) : see 
reference to class template instantiation 
'QtPrivate::FunctorCall<QtPrivate::Indexes<0>::Value,SignalArgs,R,Function>' 
being compiled
         with
         [
             SignalArgs=QtPrivate::List_Left<void,0>::Value
,            R=void
,            Function=char *
         ]
C:\Qt\Qt5.4.0\5.4\msvc2013\include\QtCore/qobject_impl.h(192) : see 
reference to function template instantiation 'void 
QtPrivate::Functor<Func,0>::call<Args,R>(Function &,void *,void **)' 
being compiled
         with
         [
             Func=char *
,            Args=QtPrivate::List_Left<void,0>::Value
,            R=void
,            Function=char *
         ]
C:\Qt\Qt5.4.0\5.4\msvc2013\include\QtCore/qobject_impl.h(192) : see 
reference to function template instantiation 'void 
QtPrivate::Functor<Func,0>::call<Args,R>(Function &,void *,void **)' 
being compiled
         with
         [
             Func=char *
,            Args=QtPrivate::List_Left<void,0>::Value
,            R=void
,            Function=char *
         ]
C:\Qt\Qt5.4.0\5.4\msvc2013\include\QtCore/qobject_impl.h(186) : while 
compiling class template member function 'void 
QtPrivate::QFunctorSlotObject<Func1,0,QtPrivate::List_Left<void,0>::Value,void>::impl(int,QtPrivate::QSlotObjectBase 
*,QObject *,void **,bool *)'
         with
         [
             Func1=char *
         ]
C:\Qt\Qt5.4.0\5.4\msvc2013\include\QtCore/qobject_impl.h(201) : see 
reference to function template instantiation 'void 
QtPrivate::QFunctorSlotObject<Func1,0,QtPrivate::List_Left<void,0>::Value,void>::impl(int,QtPrivate::QSlotObjectBase 
*,QObject *,void **,bool *)' being compiled
         with
         [
             Func1=char *
         ]
         C:\Qt\Qt5.4.0\5.4\msvc2013\include\QtCore\qtimer.h(133) : see 
reference to class template instantiation 
'QtPrivate::QFunctorSlotObject<Func1,0,QtPrivate::List_Left<void,0>::Value,void>' 
being compiled
         with
         [
             Func1=char *
         ]
         C:\Qt\Qt5.4.0\5.4\msvc2013\include\QtCore\qtimer.h(120) : see 
reference to function template instantiation 'void 
QTimer::singleShot<Func1>(int,Qt::TimerType,QObject *,Func1)' being compiled
         with
         [
             Func1=char *
         ]
         .\sipQtCoreQTimer.cpp(786) : see reference to function template 
instantiation 'void QTimer::singleShot<char*>(int,QObject *,Func1)' 
being compiled
         with
         [
             Func1=char *
         ]

thanks
--
sumitj


More information about the PyQt mailing list