If the functions you are connecting are in python, you can use PyQt_PyObject
as the type. That just passes the reference around, and everything works
fine. I'm not sure about a good solution if you need to handle the type in
C/C++.
Brett
-Original Message-
From: pyqt-boun...@riverbankco
Phil,
I am trying to convert the textures.pyw example to run using shaders like
the newer version of the example in Qt. However, I've hit a problem in that
the setAttributeArray method of QGLShaderProgram used in the example is not
available in PyQt.
Is this a bug?
Brett
_
Phil,
Great support. Appears to work well.
Brett
-Original Message-
From: Phil Thompson [mailto:p...@riverbankcomputing.com]
Sent: Saturday, March 19, 2011 10:44 AM
To: Brett Stottlemyer
Cc: pyqt@riverbankcomputing.com
Subject: Re: [PyQt] Bug in setEventFilter?
On Sat, 19 Mar 2011 10
I'm trying to process WM_INPUT in an application. I know that in Qt you
need to use QAbstractEventDispatcher and setEventFilter to get the messages.
However, when I try to use setEventFilter, I get an Attribute error,
'QAbstractEventDispatcher' object has no attribute 'setEventFilter'.
An example
All,
I am unable to get QDeclarativeImageProvider working. When I run the
attached code (on Win7) with
> python qmltest.py
it locks up and I get a "python has stopped responding" message.
Is this a bug? It looks like the size parameter (in C++) is a pointer that
is populated internally and ret
Hi, all-
I'd like to use sip.setapi("QString",2), but I'm using internationalization
as well and it is giving me some trouble.
If I try:
> qApp.translate("test","Internationalize")
I get Unicode "Internationalize" as the result (as expected)
When I try:
> qApp.translate("test","Internationalize
> The PyQt v4.8 Windows installers include the OpenSSL DLLs which
> QtNetwork.pyd is linked against, so you probably need to add them to the
> list of things that py2exe should bundle.
>
> Phil
That was it. Thanks!
For anyone else, the files needed are libeay32.dll and ssleay32.dll.
Brett
I've got a PyQt application that I'm converting to an exe using py2exe.
When I install the app on a new machine and run it, I get the following
exception.
File "C:\\hub\Application.py", line 29, in
from PyQt4.QtNetwork import *
File "PyQt4\QtNetwork.pyc", line 12, in
File "PyQt4\Qt