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 410 - Cannot remove pure virtual function which uses a non-generated parameter
: Cannot remove pure virtual function which uses a non-generated parameter
Status: CLOSED INVALID
Product: PySide
Classification: Unclassified
Component: ApiExtractor
: HEAD
: All All
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-10-13 17:18 EEST by Bruno Araujo
Modified: 2010-11-25 17:53 EET (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Araujo 2010-10-13 17:18:14 EEST
If a class has a pure virtual function that uses as parameter a class that was
not generated, ApiExtractor is unable to remove it due to insufficient
information and compilation breaks if this class is instantiated in the code
generated.

An example of this is happening in the QtOrganizer module (from QtMobility 1.1)
in the following function, from QOrganizerCollectionEngineLocalId:

virtual QDebug debugStreamOut(QDebug dbg) = 0;

QDebug is rejected in QtCore, and thus using a modify-function tag with a
reject parameter does not work.
Comment 1 renato filho 2010-10-18 15:13:37 EEST
to solve this, you need declare the type on typesystem using generate=no tag.
Comment 2 Hugo Parente Lima 2010-11-25 17:53:38 EET
Released on version 1.0.0~beta1