Re: [PySide] Shiboken in python -- was PySide - Qt5 - Swig

2013-01-15 Thread Lucas Tanure
Can we use http://code.google.com/p/pybindgen/ ? Lucas A. Tanure Alves +55 (19) 88176559 ___ PySide mailing list PySide@qt-project.org http://lists.qt-project.org/mailman/listinfo/pyside

Re: [PySide] PySide - Qt5 - Swig

2013-01-15 Thread Lucas Tanure
Can we use http://code.google.com/p/pybindgen/ ? Lucas A. Tanure Alves +55 (19) 88176559 ___ PySide mailing list PySide@qt-project.org http://lists.qt-project.org/mailman/listinfo/pyside

Re: [PySide] PySide - Qt5 - Swig

2013-01-15 Thread John Ehresman
On 1/15/13 2:25 AM, ZHONG Zhu wrote: It's a pain when I started to work on a Shiboken binding to move my project to Python based. I've been trying to do a binding with Shiboken on Windows for months but can't make it work. I believe Shiboken is working or people can't build the PySide

Re: [PySide] Simple shiboken binding tutorial -- was PySide - Qt5 - Swig

2013-01-15 Thread Roman Lacko
btw, you need to update paths to python libs and includes in FooLibBinding\FooLibBinding.pro. I have installed python in c:\Python27_64. Also if you are using mingw, you will need to change the .lib extension to .a INCLUDEPATH += ../pyside/include/PySide \ ../pyside/include/PySide/QtCore \

Re: [PySide] Simple shiboken binding tutorial -- was PySide - Qt5 - Swig

2013-01-15 Thread Roman Lacko
sorri, you also have to update the path where you have installed Qt on your system in files: pyside\include\PySide\pyside_global.h FooLib\generate_binding.bat ...replace this c:\Qt\qt-4.8.4-msvc2010-x64 with your path 2013/1/15 Roman Lacko backup.rla...@gmail.com btw, you need to update

Re: [PySide] Simple shiboken binding tutorial -- was PySide - Qt5 - Swig

2013-01-15 Thread Otto Chiu
Hi Roman, I read somewhere and somebody on the mailing list told me that since Python is compiled with MSVC 2008, I need to use it to create my C++ library and PySide bindings. Is this not true? Can I use the newer versions of MSVC? Thanks, Otto From:

[PySide] PySide evaluation

2013-01-15 Thread Aaron Richiger
Please all fill in the following evaluation about PySide usage/development. https://docs.google.com/spreadsheet/viewform?fromEmail=trueformkey=dHVNa1d3dVpvdFdJV1U3THBxVVk2Tnc6MQ I ask both PySide users and developers to answer the questions, it will take you only a few minutes and helps us to

Re: [PySide] Simple shiboken binding tutorial -- was PySide - Qt5 - Swig

2013-01-15 Thread Simon Jagoe
Otto, You are correct. Generally, you should use the same compiler (MSVC2008). Building CPython extensions with a different version of Visual Studio can lead to undesirable behaviour, simply not loading an extension module or crashing. This is because different versions of the C runtime will be

Re: [PySide] Shiboken in python -- was PySide - Qt5 - Swig

2013-01-15 Thread Aaron Richiger
It looks quite promising, but not widely used and quite inactive. I do not have enough knowledge about the Qt internals to decide, whether this could be an approach. @Hugo: could you have a quick look at the project description (especially the things that are impossible with pybindgen) and

Re: [PySide] Shiboken in python -- was PySide - Qt5 - Swig

2013-01-15 Thread Hugo Parente Lima
On Tuesday, January 15, 2013 08:54:51 PM Aaron Richiger wrote: It looks quite promising, but not widely used and quite inactive. I do not have enough knowledge about the Qt internals to decide, whether this could be an approach. @Hugo: could you have a quick look at the project description

Re: [PySide] Shiboken in python -- was PySide - Qt5 - Swig

2013-01-15 Thread Owen Kelly
Hi all, I went through a project where I tried (and failed) to wrap my (non-Qt) library using Shiboken on Win7, then moved to pybindgen and had some success. I am not as strong a computer scientist as the authors of these tools (pybindgen, shiboken), but I can share some modest experience. IIRC

Re: [PySide] Simple shiboken binding tutorial -- was PySide - Qt5 - Swig

2013-01-15 Thread ZHONG Zhu
Thank you Roman, I completed all steps except for step 5. 1. Some problem found. In step 3, in FooLibBinding\FooLibBinding.pro, I should be using shiboken-python2.7.a but PySide Windows installer only installed shiboken-python2.7.lib. So I have to use MinGW to build Shiboken from source

Re: [PySide] Simple shiboken binding tutorial -- was PySide - Qt5 - Swig

2013-01-15 Thread Roman Lacko
Hi, 2013/1/16 ZHONG Zhu zhu.zh...@alcatel-sbell.com.cn Thank you Roman, I completed all steps except for step 5. **1. **Some problem found. In step 3, in FooLibBinding\FooLibBinding.pro, I should be using shiboken-python2.7.a but PySide Windows installer only installed