Re: [PyQt] Fwd: Re: c++ app integrate PyQt

2013-09-30 Thread Glenn Ramsey
On 01/10/13 14:22, John Fabiani wrote: On 09/30/2013 06:11 PM, John Fabiani wrote: Original Message Subject:Re: [PyQt] c++ app integrate PyQt Date: Mon, 30 Sep 2013 17:51:28 -0700 From: John Fabiani To: Matt Newell On 09/30/2013 05:24 PM, Matt Newell wro

[PyQt] Crash in frozen PyQt5 app

2013-08-30 Thread Glenn Ramsey
Hi, When running the following test app on OSX (10.8.4, PyQt 5.1 snapshot + Qt 5.1.1) https://github.com/pyinstaller/pyinstaller/blob/develop/tests/interactive/test_pyqt5_qml.py I get a crash when it is frozen using PyInstaller but not when it is not frozen. The crash occurs in QQuickView::se

Re: [PyQt] Linking with a debug build of Qt 5.1 on OSX

2013-08-28 Thread Glenn Ramsey
On 29/08/13 11:42, Glenn Ramsey wrote: Hi, How do I get PyQt (5.1 snapshot) to link with a debug build of Qt (5.1) on OSX? If I try a debug only build of Qt then it wants me to use the -no-framework flag and the PyQt configure script doesn't recognise the Qt build. The other option is t

[PyQt] Linking with a debug build of Qt 5.1 on OSX

2013-08-28 Thread Glenn Ramsey
Hi, How do I get PyQt (5.1 snapshot) to link with a debug build of Qt (5.1) on OSX? If I try a debug only build of Qt then it wants me to use the -no-framework flag and the PyQt configure script doesn't recognise the Qt build. The other option is to use -debug-and-release to build Qt, in which

Re: [PyQt] PyQt5 Support for Qt v5.1

2013-08-27 Thread Glenn Ramsey
On 27/08/13 11:06, Glenn Ramsey wrote: Hi Phil, On 25/08/13 20:11, Phil Thompson wrote: For those interested, the current PyQt5 snapshot now fully supports Qt v5.1 in all existing modules. The new modules (QtSensors and QtSerialPort) are still to do. On Windows using VS2010 (32 bit) snapshot

Re: [PyQt] PyQt 5.1 App doesn't exit after QQuickView closed

2013-08-27 Thread Glenn Ramsey
On 28/08/13 02:16, Phil Thompson wrote: On Tue, 27 Aug 2013 09:26:55 +1200, Glenn Ramsey wrote: Hi, In the following example, the application doesn't exit after the QQuickView window is closed. Is this the correct behaviour or is it a bug? This is using snapshot-693a95fde3fa on OSX 1

Re: [PyQt] PyQt5 Support for Qt v5.1

2013-08-26 Thread Glenn Ramsey
Hi Phil, On 25/08/13 20:11, Phil Thompson wrote: For those interested, the current PyQt5 snapshot now fully supports Qt v5.1 in all existing modules. The new modules (QtSensors and QtSerialPort) are still to do. On Windows using VS2010 (32 bit) snapshot-693a95fde3fa fails to build for me. Com

[PyQt] PyQt 5.1 App doesn't exit after QQuickView closed

2013-08-26 Thread Glenn Ramsey
Hi, In the following example, the application doesn't exit after the QQuickView window is closed. Is this the correct behaviour or is it a bug? This is using snapshot-693a95fde3fa on OSX 10.8.4 with Qt 5.1, PyQt 5.1 and macports python built as 32 bit. Glenn import sys import os from PyQt5

Re: [PyQt] Next PyQt5 and SIP Releases

2013-08-22 Thread Glenn Ramsey
On 18/08/13 22:32, Phil Thompson wrote: The current PyQt5 and SIP snapshots are release candidates so any testing with them would be greatly appreciated. I couldn't find QWidget::createWindowContainer in 5.0.1 and it's not mentioned in the changelog of the current snapshot. Glenn _

Re: [PyQt] S/w Packaging & Distribution

2013-03-19 Thread Glenn Ramsey
On 20/03/13 07:54, Pietro Moras wrote: I wander if, as designers, at a project completion, you normally use a S/w Packager for your product's distribution. Or not. I'm currently rather interested in such final phase of the designing cycle. Thanks. These are some that I know of: Py2exe - Win

Re: [PyQt] Symbol not found: _sipQtConnect (Qt5 and PyQt 4.10 on OSX, 32 bit)

2013-03-18 Thread Glenn Ramsey
On 18/03/13 17:38, Phil Thompson wrote: On Mon, 18 Mar 2013 13:36:51 +1300, Glenn Ramsey wrote: On 18/03/13 11:18, Phil Thompson wrote: On Mon, 18 Mar 2013 08:17:18 +1300, Glenn Ramsey wrote: On 16/03/13 21:56, Phil Thompson wrote: On Sat, 16 Mar 2013 14:16:08 +1300, Glenn Ramsey wrote

Re: [PyQt] Symbol not found: _sipQtConnect (Qt5 and PyQt 4.10 on OSX, 32 bit)

2013-03-17 Thread Glenn Ramsey
On 18/03/13 11:18, Phil Thompson wrote: On Mon, 18 Mar 2013 08:17:18 +1300, Glenn Ramsey wrote: On 16/03/13 21:56, Phil Thompson wrote: On Sat, 16 Mar 2013 14:16:08 +1300, Glenn Ramsey wrote: On 15/03/13 22:07, Phil Thompson wrote: On Fri, 15 Mar 2013 15:51:00 +1300, Glenn Ramsey wrote

Re: [PyQt] Symbol not found: _sipQtConnect (Qt5 and PyQt 4.10 on OSX, 32 bit)

2013-03-17 Thread Glenn Ramsey
On 16/03/13 21:56, Phil Thompson wrote: On Sat, 16 Mar 2013 14:16:08 +1300, Glenn Ramsey wrote: On 15/03/13 22:07, Phil Thompson wrote: On Fri, 15 Mar 2013 15:51:00 +1300, Glenn Ramsey wrote: Hi, I have built a 32 bit version of PyQt on OSX (10.8.2) using Qt5, but it doesn't

Re: [PyQt] Symbol not found: _sipQtConnect (Qt5 and PyQt 4.10 on OSX, 32 bit)

2013-03-15 Thread Glenn Ramsey
On 15/03/13 22:07, Phil Thompson wrote: On Fri, 15 Mar 2013 15:51:00 +1300, Glenn Ramsey wrote: Hi, I have built a 32 bit version of PyQt on OSX (10.8.2) using Qt5, but it doesn't work: Python 2.7.3 (default, Feb 26 2013, 11:03:37) [GCC 4.2.1 Compatible Apple Clang 4.0 ((tags/Apple/

[PyQt] Symbol not found: _sipQtConnect (Qt5 and PyQt 4.10 on OSX, 32 bit)

2013-03-14 Thread Glenn Ramsey
Hi, I have built a 32 bit version of PyQt on OSX (10.8.2) using Qt5, but it doesn't work: Python 2.7.3 (default, Feb 26 2013, 11:03:37) [GCC 4.2.1 Compatible Apple Clang 4.0 ((tags/Apple/clang-421.0.60))] on darwin Type "help", "copyright", "credits" or "license" for more information. import Py

Re: [PyQt] Possible QTreeWidgetItem constructor bug

2012-04-17 Thread Glenn Ramsey
On 16/04/12 23:47, Phil Thompson wrote: On Mon, 16 Apr 2012 14:46:54 +1200, Glenn Ramsey wrote: If this QTreeWidgetItem constructor is called with a single string instead of a list of strings for the "strings" parameter, then on my system (Win 7, Python 2.6.5, Qt 4.7.4, PyQt 4.8.5)

[PyQt] Possible QTreeWidgetItem constructor bug

2012-04-15 Thread Glenn Ramsey
If this QTreeWidgetItem constructor is called with a single string instead of a list of strings for the "strings" parameter, then on my system (Win 7, Python 2.6.5, Qt 4.7.4, PyQt 4.8.5) it crashes the python interpreter. QTreeWidgetItem.__init__ (self, QTreeWidget parent, QStringList strings,

Re: [PyQt] SIP wrapper: argument 1 has unexpected type 'QWidget'

2011-10-05 Thread Glenn Ramsey
On 05/10/11 20:45, Glenn Ramsey wrote: On 05/10/11 20:18, Phil Thompson wrote: On Wed, 05 Oct 2011 10:23:18 +1300, Glenn Ramsey wrote: I'm having some trouble with a simple SIP wrapper for a QWidget derived class. # Output HostWidget(): argument 1 has unexpected type 'QWidget&

Re: [PyQt] SIP wrapper: argument 1 has unexpected type 'QWidget'

2011-10-05 Thread Glenn Ramsey
On 05/10/11 20:18, Phil Thompson wrote: On Wed, 05 Oct 2011 10:23:18 +1300, Glenn Ramsey wrote: I'm having some trouble with a simple SIP wrapper for a QWidget derived class. I get the error "HostWidget(): argument 1 has unexpected type 'QWidget'" but that constructo

[PyQt] SIP wrapper: argument 1 has unexpected type 'QWidget'

2011-10-04 Thread Glenn Ramsey
I'm having some trouble with a simple SIP wrapper for a QWidget derived class. I get the error "HostWidget(): argument 1 has unexpected type 'QWidget'" but that constructor is supposed to accept a QWidget. What am I doing wrong? Glenn # SIP definition class HostWidget : QLabel { %TypeHeaderC

[PyQt] Symbol not found in QtGui.so 32-bit build on OSX 10.6.8

2011-07-05 Thread Glenn Ramsey
Hi, I am trying to get a 32 bit build of PyQt because the app I am developing depends on some 32 bit Python extension modules. The following error happens when loading QtGui.so >>> from PyQt4.QtCore import * >>> from PyQt4.QtGui import * Traceback (most recent call last): File "", line 1, i