PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 326 - Building PySide on Ubuntu Maverick or Debian experimental fails
: Building PySide on Ubuntu Maverick or Debian experimental fails
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: All All
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-08-31 09:12 EEST by Matti Airas
Modified: 2010-09-10 19:21 EEST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matti Airas 2010-08-31 09:12:53 EEST
When PySide (as of Aug 30 - commit d27d6958c07fdb2d452484ddda0b615c43c8db7b) is
built on Maverick, Lucid with kubuntu-backports PPA, or Debian experimental,
all having Qt 4.7, the build fails due to missing QtWebKit wrappers:

    type 'QWebHitTestResult' is specified in typesystem, but not defined. This
could potentially lead to compilation errors.
    type 'QWebSettings' is specified in typesystem, but not defined. This could
potentially lead to compilation errors.
    type 'QGraphicsWebView' is specified in typesystem, but not defined. This
could potentially lead to compilation errors.
    type 'QWebPluginFactory' is specified in typesystem, but not defined. This
could potentially lead to compilation errors.
    type 'QWebHistoryInterface' is specified in typesystem, but not defined.
This could potentially lead to compilation errors.
[... about twenty errors omitted...]

According to Renato's suggestion, if the global.h.in lines 378-380 are changed
as follows:

#if @QT_QTWEBKIT_FOUND@
#  include <QtWebKit/QtWebKit>
#endif

(or just drop the condition, presumedly)

then the build succeeds.
Comment 1 renato filho 2010-09-01 16:49:28 EEST
fixed on PySide commit:

commit 990f057b8d170509cb407f1fff3d382db6b4e9f5
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Wed Sep 1 15:40:35 2010 -0300