PySide Shiboken Command Line: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
(Rename category "LanguageBindings::PySide" -> "PySide")
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=PySide Shiboken Command Line Options=


==Usage==
[[Category:PySide]]


<code>shiboken [options]
</code>


==Options==


<code>--disable-verbose-error-messages
== Usage ==
</code>


<pre>shiboken [options]
</pre>
== Options ==
<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]]

Latest revision as of 03:31, 5 June 2016



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