Hi Elias,

Thanks for your patch I will check this ASAP, now I working to get
some critical bugs fixes before the next release.



On Mon, Nov 15, 2010 at 11:58 AM, Elias Bachaalany
<[email protected]> wrote:
> 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.

I think this is a good functionality but this should be more generic
and create a global function to works with any PySide type, will be
strange have this only for QWidget.

>>
>> 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
I will check this and verify if we have a best solution for that

>>
>> 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?

Yes I know that, and we have already fixed that to windows on git head.


Thanks


-- 
Renato Araujo Oliveira Filho
Instituto Nokia de Tecnologia - INdT
Mobile: +55 (81) 8704-2144
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to