Anyone can help?

On 11/11/2010 12:30 PM, Elias Bachaalany wrote:
Hello

I could not find a way to compile PySide with a custom workspace (aka
QT_NAMESPACE) so I submit this patch.

If there is a way please let me know how, otherwise I hope you can
incorporate this.


Changes summary:

1. I injected the FromCObject() method to QWidget(). This allows passing
widgets wrapped in a CObject from a C++ program.

If there is a an existing way to do that without this patch please let
me know.

2. To specify the namespace just set QT_NAMESPACE environment variable
to the desired value before calling CMake.

Now that is not optimal but I am a newbie at CMake

3. In shiboken, this:

[quote]
//only cause namespace confusion
enum SampleNamespace

[/quote]

Is not compiling with VC 9, I commented it out. You can ignore this
patch nonetheless can you verify that VC 9 fails to build during its
presence?


All feedback is appreciated.

Thanks,
Elias

_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to