[Bug 708706] [NEW] QFileIconProvider undefined in qdirmodel.sip
CrayzeeWulf
708706 at bugs.launchpad.net
Thu Jan 27 15:46:29 UTC 2011
Public bug reported:
Binary package hint: python-qt4
The file with problem is /usr/share/sip/PyQt4/QtGui/qdirmodel.sip. The
method setIconProvider of class QDirModel has a parameter of type
"QFileIconProvider *". However, QFileIconProvider is not declared before
SIP encounters this method. The result is that SIP chokes with the
following error message:
sip: QFileIconProvider is undefined
A quick and easy way to reproduce this problem is to place the following
two lines in a file named "bug-test.sip":
%Module tmp
%Import QtGui/QtGuimod.sip
Then run the following command:
sip -t WS_X11 -t Qt_4_7_0 -I /usr/share/sip/PyQt4 -I
/usr/share/sip/PyQt4/QtGui bug-test.sip
This produces the following output:
sip: QFileIconProvider is undefined
The fix is to put the following statement at line#31 in the file
/usr/share/sip/PyQt4/QtGui/qdirmodel.sip:
class QFileIconProvider ;
Thanks.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: python-qt4-dev 4.7.4-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
Uname: Linux 2.6.35-24-generic x86_64
Architecture: amd64
Date: Thu Jan 27 07:36:13 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python-qt4
** Affects: python-qt4 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug maverick
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to python-qt4 in ubuntu.
https://bugs.launchpad.net/bugs/708706
Title:
QFileIconProvider undefined in qdirmodel.sip
More information about the kubuntu-bugs
mailing list