QFileIconProvider undefined in qdirmodel.sip
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-qt4 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-qt4
The file with problem is /usr/share/
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/
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/
class QFileIconProvider ;
Thanks.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: python-qt4-dev 4.7.4-0ubuntu1
ProcVersionSign
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)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python-qt4
I'm also seeing this bug.
Is the above fix really correct?
I came upon this bug trying to build VTK from their git repository. Now that I have applied the fix from above, at least vtk compiles, but on 'import vtk' I get a segfault in sip.so...