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 840 - Shiboken prints "Can't find type resolver for 9QMacStyle"
: Shiboken prints "Can't find type resolver for 9QMacStyle"
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: Shiboken
: 1.0.1
: Macintosh Mac OS
: P2 normal
Assigned To: Marcelo Lira
:
: 845
:
  Show dependency treegraph
 
Reported: 2011-04-26 23:38 EEST by Stephan Deibel
Modified: 2011-05-26 17:04 EEST (History)
9 users (show)

See Also:


Attachments
Replicates the reported bug (431 bytes, text/x-python)
2011-04-26 23:38 EEST, Stephan Deibel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Deibel 2011-04-26 23:38:02 EEST
Created attachment 318 [details]
Replicates the reported bug

When attaching an eventFilter to the QApplication, Shiboken type resolver
prints out messages about not finding type resolver for 9QMacStyle (note the
leading '9', which presumably is the reason it's not finding the type).  The
attached file replicates this.
Comment 1 Hugo Parente Lima 2011-04-27 23:24:51 EEST
There's no binding for QMacStyle yet, we missed it, thanks for reporting.
Comment 2 Stephan Deibel 2011-04-29 04:21:05 EEST
Looking at output from the same general type of code (w/ eventFilter on
QApplication) and instantiating a QTextEdit instead I get a number of other
similar messages, which I'm guessing indicates more missed bindings:

[static Shiboken::TypeResolver* Shiboken::TypeResolver::get(const
char*)] Can't find type resolver for
37QAbstractScrollAreaScrollBarContainer
[static Shiboken::TypeResolver* Shiboken::TypeResolver::get(const
char*)] Can't find type resolver for 12QTextControl
[static Shiboken::TypeResolver* Shiboken::TypeResolver::get(const
char*)] Can't find type resolver for 19QTextDocumentLayout
[static Shiboken::TypeResolver* Shiboken::TypeResolver::get(const
char*)] Can't find type resolver for 16QTextEditControl

Hope this is useful...
Comment 3 Hugo Parente Lima 2011-04-29 19:59:31 EEST
Those messages not necessarily means that the binding for a class is missing,
it also happens when Qt returns an internal class not part of their public API
implementing a public interface like QObject, QTextCodec, etc.
Comment 4 renato filho 2011-05-04 21:52:24 EEST
fixed on pyside commit:
commit 645c80134f79254173d22240d106d9fb0a567aee
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Tue May 3 18:09:17 2011 -0300
Comment 5 renato filho 2011-05-26 17:04:08 EEST
PySide release 1.0.3