Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 451490

Summary: PyQt4 is built without QtWebKit support
Product: [Fedora] Fedora Reporter: Michal Schmidt <mschmidt>
Component: PyQt4Assignee: Rex Dieter <rdieter>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: than
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-14 21:43:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michal Schmidt 2008-06-14 20:02:01 UTC
Description of problem:

PyQt4 is built without QtWebKit support. The problem seems to be a missing
BuildRequires on sqlite-devel (or maybe qt-devel should Require it?).
From Koji build.log -

Checking to see if the QtWebKit module should be built...
-I/usr/lib64/qt4/mkspecs/default -I/usr/include/QtWebKit -I/usr/include/QtCore
-I/usr/include -I/usr/X11R6/include -pipe -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2  -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -w -D_REENTRANT cfgtest_QtWebKit.cpp -o cfgtest_QtWebKit
-L/usr/X11R6/lib64 -lQtWebKit -L/usr/lib64 -lsqlite3 -lQtGui -L/usr/lib64
-L/usr/X11R6/lib64 -lQtNetwork -lQtCore -lQtCore -L/usr/lib64 -lXext -lX11 -lm
/usr/bin/ld: cannot find -lsqlite3
collect2: ld returned 1 exit status

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
 python -c 'from PyQt4 import QtWebKit'
Actual results:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name QtWebKit

Expected results:
QtWebKit should be imported successfully.

Additional info:
I have built the package locally with sqlite-devel installed and the resulting
PyQt4 RPM contains a working QtWebKit.

Comment 1 Rex Dieter 2008-06-14 21:12:28 UTC
It's qt at fault here:

$ pkg-config --libs QtWebKit
-lQtWebKit -lsqlite3 -lQtGui -lQtNetwork -lQtCore

I'll take care of qt, and then rebuilt PyQt4

Comment 2 Rex Dieter 2008-06-14 21:43:05 UTC
Fixed in rawhide: