[PyQt] Debugging SIP wrapped C++ code with Visual Studio 2008

2009-08-12 Thread magnus . benjes
Hi, does somebody know how to debug SIP wrapped C++ code with Visual Studio 2008? I have build a custom QWidget in C++ and wrapped it with SIP. I use this widget from Python with PyQt. I have figured out, that I need python_d.lib to compile the widget in debug mode and how to create

[PyQt] looking for a QPropertyEditor

2009-07-31 Thread Magnus Benjes
Hello, I am looking for a QPropertyEditor just like the one in the QDesigner. For C++ I found this posting http://lists.trolltech.com/qt-interest/2008-10/msg00596.html where the two following C++ implementations were discussed: http://qt-apps.org/content/show.php/QPropertyEditor?content=68684

[PyQt] Move a QDockWidget between two QMainWindows

2009-07-06 Thread Magnus Benjes
Hello, is there a way to move a QDockWidget between two QMainWindows? In the sample code I have two QLabels wrapped into two QDockwidgets and I want to be able to move them from one QMainWindow to the other QMainWindow. But it doesen't work. What is missing in the code? Regards Magnus

Re: [PyQt] PyQt 4.5 snapshot build (windows and mac)

2009-05-17 Thread Magnus Benjes
I was not aware that PyQt goes with mingw32 (what about VC9?). using mingw which came with Qt4.5 I could build SIP and PyQt (still compiling) successfully. this article was really helpful: http://diotavelli.net/PyQtWiki/BuildPyQt4Windows There is a build in binary incompatibility between the

Re: [PyQt] failed to install comercial PyQt

2009-05-05 Thread Magnus Benjes
Thank you for the hint. With Python 2.6 I can compile PyQt-win-commercial-4.4.4 with VS2008. But still I don't understand it. What do you mean with Python 2.5 expects VS2003 and Python 2.6 expects VS2008? How could there be a dependency between Python and VS? Magnus 2009/5/5, V. Armando Solé

[PyQt] failed to install comercial PyQt

2009-05-04 Thread Magnus Benjes
Hello, I fail to install the comercial version of PyQt. That's my configuration: - Windows XP, Windows Vista - Python 2.5.4 - Visual Studio 2008 - qt-win-commercial-4.4.3-vs2008 - sip-4.7.9 - PyQt-win-commercial-4.4.4 I did the following steps (Python, Visual Studio 2008

[PyQt] failed to install comercial PyQt

2009-05-04 Thread Magnus Benjes
Hello, I fail to install the comercial version of PyQt. That's my configuration: - Windows XP, Windows Vista - Python 2.5.4 - Visual Studio 2008 - qt-win-commercial-4.4.3-vs2008 - sip-4.7.9 - PyQt-win-commercial-4.4.4 I did the following steps (Python, Visual Studio 2008

[PyQt] SIP: Where is the generated python wrapper code?

2009-03-19 Thread Magnus Benjes
Hello, I have used SWIG for several years. Now I want to change to SIP. But I did not manage to run even the simplest example from the reference guide. When I tried the Word example there was a lot of C++ Code created, but no Python wrapper code. Where is the generated Python wrapper code?