Re: [PyQt] [SIP] Segfault with nested template types

2013-07-06 Thread Casper Ti. Vector
Follow up: after replacing code of pia_test() with Test.pia.clear(); with everything else unchanged, this issue can still be reproduced. On Sat, Jul 06, 2013 at 02:04:57AM +0800, Casper Ti. Vector wrote: test.h: #include qmap.h #include qpair.h typedef QPairint, int cell; struct test {

[PyQt] Issue with PyQt4/5 and Qt 5.1

2013-07-06 Thread Detlev Offenbach
Hello, today I compiled the Qt 5.1 and built the latest stable releases of PyQt4 and PyQt5 against it. Now I am not able to start any QProcess. I executed the QProcess test program as contained in 'qtbase/tests/auto/corelib/io/qprocess'. This shows a complete success. However, if I execute

[PyQt] [SIP] is there a Qt5 example for SIP?

2013-07-06 Thread brett
Hi Phil, I am trying to see if SIP will help me with a task I'm trying to solve. I started out by trying the More Complex C++ Example in the docs. However, I'm using Qt5, and the example is for Qt4. I see the pyqtconfig is part of Qt4, but not Qt5. No problem, except pyqtconfig is pretty

Re: [PyQt] [SIP] is there a Qt5 example for SIP?

2013-07-06 Thread Phil Thompson
On Sat, 6 Jul 2013 07:30:43 -0700, br...@stottlemyer.com wrote: Hi Phil, I am trying to see if SIP will help me with a task I'm trying to solve. I started out by trying the More Complex C++ Example in the docs. However, I'm using Qt5, and the example is for Qt4. I see the pyqtconfig is

Re: [PyQt] Problems with wrapping complex types using typedefs

2013-07-06 Thread Casper Ti. Vector
For now, aside from directly writing code to wrap std::map std::pairint, int, std::vectorunsigned long this is the only way that works; either #define sipType_cell sipFindType(cell) #define sipType_idxx sipFindType(idxx) typedef std::pairint, int cell; typedef std::vectorunsigned long idxx;

Re: [PyQt] PyQt5 module not found

2013-07-06 Thread Dmitry Shachnev
On Fri, Jul 5, 2013 at 10:31 PM, Shriramana Sharma samj...@gmail.com wrote: I had to install python3 sphinx using pip to get latest 1.2 which works with Py3.3.1 on Raring (Raring-installed Sphinx is not usable with Py3: https://bugs.launchpad.net/ubuntu/+source/sphinx/+bug/1184658). I hence