<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Liberation Sans'; font-size:9pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi,</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">trying to compile the latest PyQt4 snapshot against Qt 5.4.0 fails with an error like that.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">In file included from /usr/local/Qt-5.4.0/include/QtCore/qobjectdefs.h:43:0,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">                 from /usr/local/Qt-5.4.0/include/QtCore/qmetatype.h:44,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">                 from /usr/local/Qt-5.4.0/include/QtCore/QMetaType:1,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">                 from sipAPIQtCore.h:35,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">                 from sipQtCorepart1.cpp:29:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">/usr/local/Qt-5.4.0/include/QtCore/qobjectdefs_impl.h: In instantiation of ‘static void QtPrivate::Functor<Function, 0>::call(Function&, void*, void**) [with Args = void; R = void; Function = char*]’:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">/usr/local/Qt-5.4.0/include/QtCore/qobject_impl.h:192:105:   required from ‘static void QtPrivate::QFunctorSlotObject<Func, N, Args, R>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) [with Func = char*; int N = 0; Args = void; R = void]’</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">/usr/local/Qt-5.4.0/include/QtCore/qobject_impl.h:201:70:   required from ‘QtPrivate::QFunctorSlotObject<Func, N, Args, R>::QFunctorSlotObject(const Func&) [with Func = char*; int N = 0; Args = void; R = void]’</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">/usr/local/Qt-5.4.0/include/QtCore/qtimer.h:133:87:   required from ‘static typename QtPrivate::QEnableIf<((! QtPrivate::FunctionPointer<Func>::IsPointerToMemberFunction) && (! QtPrivate::is_same<const char*, Func1>::value)), void>::Type QTimer::singleShot(int, Qt::TimerType, QObject*, Func1) [with Func1 = char*; typename QtPrivate::QEnableIf<((! QtPrivate::FunctionPointer<Func>::IsPointerToMemberFunction) && (! QtPrivate::is_same<const char*, Func1>::value)), void>::Type = void]’</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">/usr/local/Qt-5.4.0/include/QtCore/qtimer.h:120:90:   required from ‘static typename QtPrivate::QEnableIf<((! QtPrivate::FunctionPointer<Func>::IsPointerToMemberFunction) && (! QtPrivate::is_same<const char*, Func1>::value)), void>::Type QTimer::singleShot(int, QObject*, Func1) [with Func1 = char*; typename QtPrivate::QEnableIf<((! QtPrivate::FunctionPointer<Func>::IsPointerToMemberFunction) && (! QtPrivate::is_same<const char*, Func1>::value)), void>::Type = void]’</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">/home/detlev/src/Python/PyQt/PyQt4/PyQt-x11-gpl-4.11.4-snapshot-feec4cda951e/QtCore/sipQtCorepart1.cpp:14886:40:   required from here</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">/usr/local/Qt-5.4.0/include/QtCore/qobjectdefs_impl.h:421:63: error: expression cannot be used as a function</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">         static void call(Function &f, void *, void **arg) { f(), ApplyReturnValue<R>(arg[0]); }</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">                                                               ^</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Makefile:921: recipe for target 'sipQtCorepart1.o' failed</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Compiling PyQt5 works fine.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Detlev<br />-- </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt; font-weight:600;">Detlev Offenbach</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">detlev@die-offenbachs.de</p></body></html>