PySide Shiboken Command Line: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
=PySide Shiboken Command Line Options=
[toc align_right=&quot;yes&amp;quot; depth=&quot;2&amp;quot;]<br />[[Category:LanguageBindings::PySide]]


==Usage==
= PySide Shiboken Command Line Options =


<code>shiboken [options]
== Usage ==
</code>


==Options==
<pre>shiboken [options]
 
</pre>
<code>--disable-verbose-error-messages
== Options ==
</code>


<pre>--disable-verbose-error-messages
</pre>
Disable verbose error messages. Turn the CPython code hard to debug but saves a few kilobytes in the generated binding.
Disable verbose error messages. Turn the CPython code hard to debug but saves a few kilobytes in the generated binding.


<code>--enable-parent-ctor-heuristic
<pre>--enable-parent-ctor-heuristic
</code>
</pre>
 
This flag enable an useful heuristic which can save a lot of work related to object ownership when writing the typesystem. For more info, check Parentship heuristics.
This flag enable an useful heuristic which can save a lot of work related to object ownership when writing the typesystem. For more info, check Parentship heuristics.


<code>--enable-pyside-extensions
<pre>--enable-pyside-extensions
</code>
</pre>
 
Enable pyside extensions like support for signal/slots. Use this if you are creating a binding based on PySide.
Enable pyside extensions like support for signal/slots. Use this if you are creating a binding based on PySide.


<code>--enable-return-value-heuristic
<pre>--enable-return-value-heuristic
</code>
</pre>
 
Enable heuristics to detect parent relationship on return values. For more info, check Return value heuristics.
 
===Categories:===
 
* [[:Category:LanguageBindings|LanguageBindings]]
** [[:Category:LanguageBindings::PySide|PySide]]

Revision as of 06:42, 24 February 2015

[toc align_right="yes&quot; depth="2&quot;]

PySide Shiboken Command Line Options

Usage

shiboken [options]

Options

--disable-verbose-error-messages

Disable verbose error messages. Turn the CPython code hard to debug but saves a few kilobytes in the generated binding.

--enable-parent-ctor-heuristic

This flag enable an useful heuristic which can save a lot of work related to object ownership when writing the typesystem. For more info, check Parentship heuristics.

--enable-pyside-extensions

Enable pyside extensions like support for signal/slots. Use this if you are creating a binding based on PySide.

--enable-return-value-heuristic