This can be problems with you typesystem path, check if you are using
the correct: --typesystem-paths='<path1>;<path2>' in the
generatorrunner command.

You need specify the path where PySide typesystem can be found.

BR


On Thu, Apr 14, 2011 at 6:10 PM, Bruno Tezine <[email protected]> wrote:
> Well,
> Now I've copied all typesystem xml files from pyside1.0.1 to a folder called
> typesystems, than I set the QTTYPESYSTEM to point to it. Now the problem
> changed to:
> $ ./build.sh
> Fatal error: line=3, column=62, message=Failed to parse:
> 'typesystem_core.xml'
> DEBUG :: Parsed: '../data/typesystem.xml', 1 new entries
> Cannot parse file: ../data/typesystem.xmlWARNING: Failure to find:
> pyhybrid/pyhybrid_module_wrapper.cpp
> WARNING: Failure to find: pyhybrid/mainwindow_wrapper.cpp
> Makefile:121: *** multiple target patterns.  Stop.
>
> Any ideas? I'm using Visual Studio 2010. ApiExtractor, Shiboken,
> GeneratorRunner are all compiled with it.
> Thanks/Bruno.
>
> Em 13/04/2011 11:41AM, Bruno Tezine escreveu:
>>
>> Hi, I tried to run the build.sh from the tutorial you said, but it fails
>> with the message below: How can I create the Qt typesystem? Is this why I’m
>> getting these errors?
>> I already compiled the generatorrunner, apiextractor and shiboken.
>> Thanks again./Bruno.
>>
>> $ ./build.sh
>> Fatal error: line=3, column=62, message=Failed to parse:
>> ‘typesystem_core.xml’
>> Cannot parse file: ../data/typesystem.xmlWARNING: Failure to find:
>> pyhybrid/pyhybrid_module_wrapper.cpp
>> WARNING: Failure to find: pyhybrid/mainwindow_wrapper.cpp
>> Makefile:121: *** multiple target patterns. Stop.
>>
>> Em 08/04/2011 10:52PM, Renato Araujo Oliveira Filho escreveu:
>>>
>>> Check this tutorial, I think this can be helpful to you:
>>> http://lynxline.com/superhybrids-part-2-now-qt-pyside/
>>>
>>> BR
>>>
>>> On Fri, Apr 8, 2011 at 7:21 PM, Bruno Tezine<[email protected]>  wrote:
>>>>
>>>> Hi,
>>>> I'm a newbie in Python. Does anybody know if it's  possible to load a
>>>> PySide
>>>> script from a C++ Qt application(not lib) and use a C++ widget as
>>>> "parent
>>>> widget" for the PySide script? That's because I'd like allow users to
>>>> create
>>>> PySide scripts as "plugins" for my application.
>>>> I know I can access C++ from Python using Shiboken, but I didn't see the
>>>> opposite.
>>>> Any ideas?
>>>> Thanks/Bruno.
>>>>
>>>> _______________________________________________
>>>> PySide mailing list
>>>> [email protected]
>>>> http://lists.pyside.org/listinfo/pyside
>>>>
>>>
>>>
>>
>>
>
>
>



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

Reply via email to