Hi Justin, thanks. The issue seems to be in the typesystem XML file, I
didn't add the object line. My next question, and I'm really sorry for how
stupid this will sound.... is Shiboken supposed to generate .py files? Or
is there some other process that makes them?

Ravi

On Tue, Jul 24, 2018 at 7:14 PM, Justin Israel <justinisr...@gmail.com>
wrote:

> Hey Ravi,
>
> I have worked on a project that provides shiboken 1/2 python bindings, and
> my experience with shiboken is that it is poorly documented and hard to use
> :-/ And to be honest, the huge number of warnings you are seeing is
> something we are used to as well. A build of our project shows more than
> 900 warnings, but still functions as it is meant to. I see things like:
>
>    - enum does not have a type entry...
>    - Unable to decide type of property:
>    - namespace does not have type entry
>    - skipping field..
>    - skipping function...
>    - horribly broken type ''
>    - signal is overloaded
>    - class inherits from unknown base class
>    - template baseclass is not known
>    - Shadowing:
>    - visibility of function modified in class
>    - hiding of function in class
>    - type is specified in typesystem but not defined
>
> That last one *could* imply that you have specified a type in your xml
> file that was given to shiboken, but the headers defining that type haven't
> been provided.
>
> Using shiboken is a dark art.
>
> Justin
>
>
> On Wed, Jul 25, 2018 at 1:20 PM Ravi Jagannadhan <enr...@gmail.com> wrote:
>
>> Hi all, my apologies if this isn't the right place to ask this, but I'm
>> at my wits end and I'm sure I'm missing something simple here. I'm trying
>> to use Shiboken to build Python bindings. I'm using the widget example on
>> Qt's website:
>>
>> http://doc.qt.io/qt-5/qtwidgets-widgets-analogclock-example.html
>>
>> and when I run shiboken2 on the class, I get a litany of (I assume
>> benign) warnings, like:
>>
>> qt.shiboken: type 'QSizeF' is specified in typesystem, but not defined.
>> This could potentially lead to compilation errors.
>>
>> The reject log for the classes is the precise class I needed wrapped,
>> with the message, "Type redefined to not be a class". It's unclear to me
>> why this is happening, does anyone here have any ideas?
>>
>> Thank you for your time,
>> Ravi
>> --
>> Where we have strong emotions, we're liable to fool ourselves - Carl Sagan
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to python_inside_maya+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/
>> msgid/python_inside_maya/CADHeb2Zm_7NmsOJe09ABJNk%3DmDS3mrpf6Wb%3D7eR_
>> CRDBKzng4w%40mail.gmail.com
>> <https://groups.google.com/d/msgid/python_inside_maya/CADHeb2Zm_7NmsOJe09ABJNk%3DmDS3mrpf6Wb%3D7eR_CRDBKzng4w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/python_inside_maya/CAPGFgA1WpKk_Qkpc5SWiCVvOUtBtbLdw1t5xqjYrHE
> XhPT-UNg%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1WpKk_Qkpc5SWiCVvOUtBtbLdw1t5xqjYrHEXhPT-UNg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Where we have strong emotions, we're liable to fool ourselves - Carl Sagan

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CADHeb2YAQu2oyTbaRFnTZXt%3DoL-YCfi6gjcN8aA-PqQDfVSBgQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to