I am getting unresolved external symbols when building PyQt 3.7 (commercial version)
with Visual Studio .Net 2002 with Qt 3.1.1. I believe when I compiled Qt, I specified
Windows XP Style support as a plugin (not direct). Is there a way to avoid the link
errors or to exclude this class from th
ure?
Thanks
-Selim
Selim Tuvi, Research Engineering Group, SLAC
GLAST, I&T Online, MS 98
Tel:650-926-3376 Fax:650-926-4335
-Original Message-
From: Phil Thompson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 12:53 AM
To: Tuvi, Selim; [EMAIL PROTECTED]
Subject: Re: [PyKDE
After successfully compiling and running PyQt 3.7 without the QWindowsXPStyle class as
documented in my previous posts, I decided to re-compile Qt 3.1.1 and specified
Windows XP Style as "direct". No problems compiling PyQt this time, but when I tried
"from qt import *" I got the following error
Please disregard my previous post, forgot to do a 'nmake install' :-)
-Selim
Selim Tuvi, Research Engineering Group, SLAC
GLAST, I&T Online, MS 98
Tel:650-926-3376 Fax:650-926-4335
-Original Message-----
From: Tuvi, Selim
Sent: Tuesday, July 15, 2003 3:27 PM
To:
Phil, we just tried your suggestion and added a wrapped exception class and enabled
the -e flag.
Although it does translate the C++ exception to Python properly, it does it a little
different than the regular Python exceptions would. In Python, one would write:
try:
raise RuntimeError, "Got a
If you are using PyQt 3.6 or later you can do this. From the PyQt online documentation
page 2 (x113.html):
It is sometimes useful to be able to include some specific Python code in the output
generated by pyuic. For example, if you are using custom widgets, pyuic has no way of
knowing the name
Before I report it to Trolltech I wanted to get your feedback on this problem. I
have a preference option in my application to set the style. When the application
initially loads it reads the style preference from the configuration file and sets the
style. This works fine, but if the user trie
The following e-mail was not sent by me, please ignore it.
Thanks
-Selim
Selim Tuvi, Research Engineering Group, SLAC
GLAST, I&T Online, MS 98
Tel:650-926-3376 Fax:650-926-4335
-Original Message-
From: Tuvi, Selim
Sent: Monday, January 19, 2004 7:45 AM
To: [EMAIL PROTECTED]
Sub
Hi all, I recently compiled Qt 3.2.3 under Windows XP and selected MySql and Oracle
support as 'Direct' in Advanced Options.
The problem is that whenever a Qt or PyQt application runs it expects the MySql and
Oracle runtime libraries to be in the search path.
We'd like to distribute our applica
Hi, I noticed that beginning with PyQt 3.9 the sip files are divided into
subdirectories. We have a SIP interface where we need to import some of the core SIP
files from the PyQt distribution. But I don't want to break the compilation in case
the code is compiled against an old version of PyQt.
Selim Tuvi, Research Engineering Group, SLAC
GLAST, I&T Online, MS 98
Tel:650-926-3376 Fax:650-926-4335
-Original Message-
From: Phil Thompson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 10:14 AM
To: Tuvi, Selim; [EMAIL PROTECTED]
Subject: Re: [PyKDE] Including
Similar error in building the Windows version of PyQt 3.11:
Checking to see if the QCDEStyle class is a plugin...
cfgtest.cpp
Checking to see if the QInterlaceStyle class is a plugin...
cfgtest.cpp
cfgtest.cpp(5) : error C2061: syntax error : identifier 'QInterlaceStyle'
Other than that it compil
I am experiencing memory leak like behavior when I use the instantiation method of
opening a file with QFileDialog under Windows XP.
Attached is a modified version of the application.py script. If I click on "Open File"
toolbar icon and escape out about 8 times then the task manager memory usage
004 11:51 PM
Subject: Re: [PyKDE] Memory leak in QFileDialog?
On Saturday 10 April 2004 05:28, Tuvi, Selim wrote:
> I am experiencing memory leak like behavior when I use the
instantiation
method of opening a file with QFileDialog under Windows XP.
> Attached is a modified version of the a
Phil with SIP 4.0 we ran into GUI stability problems when we compiled PyQt without the
-g option (the GUI would sometimes would not respond, maybe /ReleaseGIL/ is required
in more places?).
And in the sihippo package used below, when we put /ReleaseGIL/ for the SIP methods
that required it then
Fax:650-926-4335
-Original Message-
From: Phil Thompson [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 12:00 PM
To: [EMAIL PROTECTED]
Cc: Tuvi, Selim
Subject: Re: [PyKDE] Memory leak in QFileDialog?
On Saturday 10 April 2004 4:28 am, Tuvi, Selim wrote:
> I am experiencing
PROTECTED]
Sent: Tuesday, May 04, 2004 2:22 PM
To: Tuvi, Selim
Cc: [EMAIL PROTECTED]
Subject: Re: Python crash with qtsql.QSqlDatabase
On Tuesday 04 May 2004 12:48 am, Tuvi, Selim wrote:
> Not sure if this is a Qt bug or a PyQt bug but I am getting a crash on the
last line of the following sess
Not sure if this is a Qt bug or a PyQt bug but I am getting a crash on the last line
of the following session (db.open()):
>>> from qt import *
>>> from qtsql import *
>>> a = QApplication()
>>> import sys
>>> a = QApplication(sys.argv)
>>> db = QSqlDatabase.addDatabase('QMYSQL3')
>>> db.isOpen()
Hi, our PyQt application crashed over the weekend during a long run. I dropped
into the Visual Studio debugger and took a screen shot of the call stack. It
seems to happen in msvcr71.dll!memset() after it was called from sip.pyd (see
attached screen shot).
Unfortunately, Qt, PyQt and SIP were c
Hi, we have a module which displays some statistics in a QListView. We wanted
to change how the list view looked like so we subclassed the QListViewItem and
implemented our own paintCell method.
When we override the paintCell method, we observe a slow memory leak. If we do
not override the pain
afterwards (I ran it for about half an hour).
-Selim
> -Original Message-
> From: Phil Thompson [mailto:[EMAIL PROTECTED]
> Sent: Sunday, November 21, 2004 5:12 AM
> To: Tuvi, Selim
> Cc: [EMAIL PROTECTED]
> Subject: Re: Slow memory leak when paintCell is overridden in
>
The following code which used to work with PyQt 3.13 does not work with
PyQt-commercial-snapshot-20050211:
class PorcineEvent(qt.QCustomEvent):
StatusChangeType=qt.QEvent.User+10
CommandingChangeType=qt.QEvent.User+11
def __init__(self,type,data):
qt.QCustomEvent.__init__(self
I should add that we are using Windows XP and Visual Studio .NET 2003. PyQt was
compiled with SIP 4.2rc2 and Python 2.3.5.
-Selim
Selim Tuvi, Research Engineering Group, SLAC
GLAST, I&T Online, MS 98
Tel:650-926-3376 Fax:650-926-4335
> -Original Message-
> From: Tuvi, Se
ry 16, 2005 1:45 AM
> To: Tuvi, Selim
> Cc: pykde@mats.imk.fraunhofer.de
> Subject: Re: QCustomEvent::QCustomEvent ( Type type, void * data )
> constructor no longer supported?
>
> > The following code which used to work with PyQt 3.13 does not work with
> > PyQt-com
Hi, we used a little different approach and did not use a QLineEdit but maybe
you can get some ideas from it. The code is based on the PropertyEditor class
of the Qt Designer.
Sorry for the lack of comments.
-Selim
Selim Tuvi, Research Engineering Group, SLAC
GLAST, I&T Online, MS 98
Tel:650-9
Something broke for us between snapshot sets: (sip-snapshot-20050727,
PyQt-commercial-snapshot-20050726) and (sip-snapshot-20050817,
PyQt-commercial-snapshot-20050817).
If you run the attached script, you should get the following traceback:
ERROR:root:GUIbridge.handleCustomEvent(): Caught excep
My thanks as well, I can confirm that both the 8/21 and 8/22 snapshots work
well for our application. I didn't have a chance to run extensive tests for
memory leaks though.
-Selim
Selim Tuvi, Research Engineering Group, SLAC
GLAST, I&T Online, MS 98
Tel:650-926-3376 Fax:650-926-4335
> -O
Hi, I am working on an app that is crashing with the following error:
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
The crash occurs intermitte
My run did not crash but it mysteriously exit after three iterations:
C:\projects\LICOS\temp\qt4>python crash.py
0
12133768 12133840
1
12133912 12133768
2
12133840 12133912
C:\projects\LICOS\temp\qt4>
I can run it multiple times with the same result.
I am running with Python 2.5.1, Qt 4.3.0, si
29 matches
Mail list logo