[PyQt] QDBusPendingCall issue with Qt v4.4.3

Hans-Peter Jansen hpj at urpla.net
Mon Jan 14 22:20:43 GMT 2013


Hi Phil,

as I support some quite old distributions on build service, those builds
shake out some compatibility issues.

This time, it's related to QDBusPendingCall, which seems to be missing in Qt 4.4.3
at least:

[  267s] This is the GPL version of PyQt 4.9.6 (licensed under the GNU General Public
[  267s] License) for Python 2.6.8 on linux2.
[  267s] Found the license file pyqt-gpl.sip.
[  267s] Checking to see if the QtGui module should be built...
[  267s] Checking to see if the QtHelp module should be built...
[  267s] Checking to see if the QtMultimedia module should be built...
[  267s] Checking to see if the QtNetwork module should be built...
[  267s] Checking to see if the QtDBus module should be built...
[  267s] Checking to see if the QtDeclarative module should be built...
[  267s] Checking to see if the QtOpenGL module should be built...
[  267s] Checking to see if the QtScript module should be built...
[  267s] Checking to see if the QtScriptTools module should be built...
[  267s] Checking to see if the QtSql module should be built...
[  267s] Checking to see if the QtSvg module should be built...
[  267s] Checking to see if the QtTest module should be built...
[  267s] Checking to see if the QtWebKit module should be built...
[  267s] Checking to see if the QtXml module should be built...
[  267s] Checking to see if the QtXmlPatterns module should be built...
[  267s] Checking to see if the phonon module should be built...
[  267s] Checking to see if the QtAssistant module should be built...
[  267s] Checking to see if the QtDesigner module should be built...
[  267s] Checking to see if the dbus support module should be built...
[  267s] Qt v4.4.3 free edition is being used.
[  267s] SIP 4.14.2 is being used.


[  282s] qpydbusreply.cpp:29:28: error: QDBusPendingCall: No such file or directory
[  282s] In file included from qpydbuspendingreply.cpp:30:
[  282s] qpydbuspendingreply.h:32:29: error: QDBusPendingReply: No such file or directory
[  283s] qpydbus_chimera_helpers.cpp: In function 'bool qpydbus_to_pyobject(const QVariant*, PyObject**)':
[  283s] qpydbus_chimera_helpers.cpp:79: error: 'class QDBusArgument' has no member named 'currentType'
[  283s] qpydbus_chimera_helpers.cpp:81: error: 'BasicType' is not a member of 'QDBusArgument'
[  283s] qpydbus_chimera_helpers.cpp:82: error: 'class QDBusArgument' has no member named 'asVariant'
[  283s] qpydbus_chimera_helpers.cpp:85: error: 'VariantType' is not a member of 'QDBusArgument'
[  283s] qpydbus_chimera_helpers.cpp:89: error: 'ArrayType' is not a member of 'QDBusArgument'
[  283s] qpydbus_chimera_helpers.cpp:93: error: 'StructureType' is not a member of 'QDBusArgument'
[  283s] qpydbus_chimera_helpers.cpp:97: error: 'MapType' is not a member of 'QDBusArgument'
[  283s] qpydbus_chimera_helpers.cpp:103: error: 'class QDBusArgument' has no member named 'currentType'
[  283s] qpydbus_chimera_helpers.cpp: In function 'PyObject* from_array_type(const QDBusArgument&)':
[  283s] qpydbus_chimera_helpers.cpp:130: error: 'const class QDBusArgument' has no member named 'asVariant'
[  283s] qpydbus_chimera_helpers.cpp: In function 'PyObject* from_structure_type(const QDBusArgument&)':
[  283s] qpydbus_chimera_helpers.cpp:164: error: 'const class QDBusArgument' has no member named 'asVariant'
[  283s] qpydbus_chimera_helpers.cpp: In function 'PyObject* from_map_type(const QDBusArgument&)':
[  283s] qpydbus_chimera_helpers.cpp:204: error: 'const class QDBusArgument' has no member named 'asVariant'
[  283s] qpydbus_chimera_helpers.cpp:205: error: 'const class QDBusArgument' has no member named 'asVariant'
[  283s] make[2]: *** [qpydbus_chimera_helpers.o] Error 1
[  283s] make[2]: *** Waiting for unfinished jobs....
[  283s] In file included from qpydbuspendingreply.cpp:30:
[  283s] qpydbuspendingreply.h:35: error: expected template-name before '<' token
[  283s] qpydbuspendingreply.h:35: error: expected `{' before '<' token
[  283s] qpydbuspendingreply.h:35: error: expected unqualified-id before '<' token
[  283s] qpydbuspendingreply.cpp:34: error: invalid use of incomplete type 'class QPyDBusPendingReply'
[  283s] qpydbuspendingreply.h:35: error: forward declaration of 'class QPyDBusPendingReply'
[  283s] qpydbuspendingreply.cpp:40: error: invalid use of incomplete type 'class QPyDBusPendingReply'
[  283s] qpydbuspendingreply.h:35: error: forward declaration of 'class QPyDBusPendingReply'
[  283s] qpydbuspendingreply.cpp:47: error: expected ',' or '...' before '&' token
[  283s] qpydbuspendingreply.cpp:47: error: ISO C++ forbids declaration of 'QDBusPendingCall' with no type
[  283s] qpydbuspendingreply.cpp:47: error: invalid use of incomplete type 'class QPyDBusPendingReply'
[  283s] qpydbuspendingreply.h:35: error: forward declaration of 'class QPyDBusPendingReply'
[  283s] qpydbuspendingreply.cpp:54: error: expected ',' or '...' before '&' token
[  283s] qpydbuspendingreply.cpp:54: error: ISO C++ forbids declaration of 'QDBusMessage' with no type
[  283s] qpydbuspendingreply.cpp:54: error: invalid use of incomplete type 'class QPyDBusPendingReply'
[  283s] qpydbuspendingreply.h:35: error: forward declaration of 'class QPyDBusPendingReply'
[  283s] qpydbuspendingreply.cpp:61: error: invalid use of incomplete type 'class QPyDBusPendingReply'
[  283s] qpydbuspendingreply.h:35: error: forward declaration of 'class QPyDBusPendingReply'
[  283s] qpydbusreply.cpp: In member function 'QPyDBusReply& QPyDBusReply::operator=(const QDBusPendingCall&)':
[  283s] qpydbusreply.cpp:143: error: variable 'QDBusPendingCall other' has initializer but incomplete type
[  283s] make[2]: *** [qpydbuspendingreply.o] Error 1
[  283s] make[2]: *** [qpydbusreply.o] Error 1
[  283s] make[2]: Leaving directory `/usr/src/packages/BUILD/PyQt-x11-gpl-4.9.6/qpy/QtDBus'
[  283s] make[1]: *** [all] Error 2
[  283s] make[1]: Leaving directory `/usr/src/packages/BUILD/PyQt-x11-gpl-4.9.6/qpy'
[  283s] make: *** [all] Error 2

full build log:
https://build.opensuse.org/package/rawlog?arch=i586&package=python-qt4&project=home%3Afrispete%3APyQt&repository=openSUSE_11.1

Cheers,
Pete


More information about the PyQt mailing list