).
If instead you want to distribute your application as a binary static
package, try PyInstaller.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman
perfectly possible to have multiple version of PyQt on your system.
Just install them into different directories and use PYTHONPATH to pick
up the correct one.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt
your multi-platform bundles of PyQt
applications without having to take care of plugins manually.
NOTE: you will need to regenerate your .spec files for this new feature
to work.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing
://pyinstaller.python-hosting.com/wiki/PyQtPluginsWorkaround
until the support for automatically shipping plugins is completed.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http
and all). If you limit it to a few builtins and
maybe add more of them to the builtin namespace, I think it's perfectly
fine even with the commercial version.
http://code.activestate.com/recipes/496746/
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
On 2/12/2009 12:44 PM, Sundance wrote:
Giovanni Bajo wrote:
You're basically restating your previous point, without debating mine.
The language choice affects companies much more than £350 /
programmer.
Hi Giovanni, hi Phil, hi everybody,
Giovanni, I'm... a bit uncomfortable writing
. I can't understand why it wouldn't be a suitable
solution for his software.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
the business potential user base of PyQt.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On 2/11/2009 4:09 PM, Ville M. Vainio wrote:
On Wed, Feb 11, 2009 at 3:30 PM, Giovanni Bajo ra...@develer.com wrote:
I doubt that any company on earth would save £350 and change programming
language. This kind of decision is made by amateur programmers that just
want to play around with Qt
of
QtCore.QCoreApplication.translate :) (OK I'm cheating: I'm not taking
into account that I can use 'qApp' because of star-imports).
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http
. I don't see how redefining tr() in the base class is
going to help.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
of the function and thus its clients.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On 2/11/2009 6:49 PM, David Boddie wrote:
On Wednesday 11 February 2009, Giovanni Bajo wrote:
On 2/11/2009 6:24 PM, David Boddie wrote:
To avoid problems, I have previously defined a helper method in subclasses
where I thought it was necessary, like this:
class ActionEditorWidget(QLabel
a point here.
Converting the whole application to another toolkit would probably be
much harder in the first place.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com
translation?
Do you happen to know a single open source project that does this?
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
, but people seem to have success with py2app
PyInstaller SVN trunk is able to package PyQt applications under Mac as
well, though it doesn't build a bundle yet (.app). Work is in progress
as we speak.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On sab, 2009-02-07 at 13:09 +0100, Frédéric wrote:
On samedi 07 février 2009, Giovanni Bajo wrote:
Does it mean you can package a Windows .exe from a linux system?
Yes, PyInstaller SVN trunk can do that as well. It's undocumented at the
moment, but it mostly works. To make it work, you
for SIP and all PyQt modules you need in your application.
This must be done before you initialize the python interpreter with
Py_Initialize().
It should also work if you recompile a single dynamic library
(python.so) with PyQt and SIP included within as builting modules.
--
Giovanni Bajo
Develer
On 2/3/2009 5:17 PM, Frédéric wrote:
On mardi 03 février 2009, Giovanni Bajo wrote:
Notice that it's easy to deadlock, if you don't pay enough attention (and
even if you do ;).
Why do you say it is easy to deadlock? Do you mean that Qt can do
unexpected things?
No: I meant
On 2/3/2009 12:24 PM, Frédéric wrote:
Le 3/2/2009, Giovanni Bajo ra...@develer.com a écrit:
The documentation says that a QPainter can only paint on QImage, QPrinter
and QPicture, but not on QWidget and QPixmap (it seems that painting on
QGraphicsItem works fine, as I don't have warnings; can
the function documented.
Do you really need full signal support or where you trying to do simple
stuff like handling CTRL+C?
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http
a QLabel with qt /qt tags in the string and then
using the standard html for creating a hyperlink:
Uhm, what's this qt tag? I never heard of it, and it's not required
for your example to work.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
PyQt_PyObject, short-circuit signals, etc.).
I would of course recommend to do the same for pyqtBoundSignal.connect().
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com
On mar, 2009-01-20 at 12:08 +0800, Christoph Burgmer wrote:
Am Tuesday, 20. January 2009 schrieb Giovanni Bajo:
On 1/19/2009 4:36 PM, Christoph Burgmer wrote:
[...]
I am doing a
QCoreApplication.postEvent()
out of run() from a threading.Thread class without any
).
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On 1/19/2009 4:36 PM, Christoph Burgmer wrote:
Am Monday, 19. January 2009 schrieb Giovanni Bajo:
On 1/19/2009 3:13 PM, eliben wrote:
I've seen various references to this issue before, but nothing to fully
address it as I'd expect.
Can you comment on the pros and cons of using
not a common error.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
the code with Qt4.
This is the correct link to get a broad overview:
http://doc.trolltech.com/4.4/threads.html
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com
is wrong. Problem may be
solved by reinstalling the script.
It works for some users, and for some don't (plus it's no install
run.exe made from run.py). Any ideas why Windows makes such
problems? :)
Are you using Python 2.6?
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
the symbol is
coming from.
Appending the underscore to those symbols is a perfect fix IMO. I don't
see why people that don't use star-imports in the first place should
care about it at all.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt
that QListBox or QVariant is part of PyQt4 because it's not
prefixed by QtGui. or QtCore.?
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
so
that those symbols simply don't get imported with star-imports. Then, if
one wants to access them, it has to use the other syntax (QtCore.hex).
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt
On ven, 2008-12-12 at 22:57 +, Paul A. Giannaros wrote:
On Fri, Dec 12, 2008 at 10:28 PM, Giovanni Bajo ra...@develer.com wrote:
On 12/12/2008 11:18 PM, Paul A. Giannaros wrote:
On Fri, Dec 12, 2008 at 6:27 PM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Fri, 12 Dec 2008
about.
... which is exactly why the star-import works perfectly.
[PS: in case it's not clear, I'm -1 on the Qt.Application proposal;
IMO, the official QtCore.QCoreApplication and the short-n-fast
star-imported QCoreApplication already cover enough tastes]
--
Giovanni Bajo
Develer S.r.l.
http
of
populating a different namespace. This is absolutely implicit and
counter-intuitive, and has no equivalent in the standard library nor any
external library I can think of.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt
On lun, 2008-12-08 at 01:53 +0100, Sergio Jovani wrote:
I'm developing a downloads application and I have created a QThread
for that reason.
You don't need threads to download files with PyQt. In fact, it's far
easier without.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
.
Hi, I would like know it! Thanks.
Look at the examples. It's the normal way of using Qt: you start a
download and a signal will be emitted when it's done; at a lower level,
you get a signal when any packet arrives.
You never need to use threads to do networking.
--
Giovanni Bajo
Develer S.r.l
On 12/2/2008 6:43 PM, Denis wrote:
Folks,
has anyone else seen this or is it me ?
Thanks, cheers
Oh yes: subprocess is absolutely useless on Mac with threading programs
(QApplication probably creates a thread behind the scenes):
http://bugs.python.org/issue1068268
--
Giovanni Bajo
, but you might have a problem with what you do from within the
thread.
(BTW: you don't need threads to use multiple sockets; that's a perfect
example of when you should not be using threads in the first place)
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
sure to have read and understood all the requirements for
multi-thread programming with Qt. Specifically, you can't directly
touch/modify/read *any* widget from the secondary thread. You should
instead post events to the main thread, or use the asynchronous
signal/slot mechanism.
--
Giovanni Bajo
or native) to the OpenGL one. I think this can be
achieved by manually setting a QGLWidget as viewport, or something like
that. Again, in Qt 4.5 this is just a matter of passing -graphicssystem
opengl on the command line, which makes it easier to play with.
--
Giovanni Bajo
Develer S.r.l.
http
the
packaged executable.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Tue, 2008-11-18 at 12:17 +0100, Matteo Bertini wrote:
On 18-11-2008 1:12, Giovanni Bajo wrote:
Hi Phil,
this patch:
2007/02/25 0:19:29 phil
Included Matt Newell's fix for making sure that a sub-class convertor
returns the most specific type available.
causes problem
On Tue, 2008-11-18 at 09:27 +, Phil Thompson wrote:
On Tue, 18 Nov 2008 01:12:49 +0100, Giovanni Bajo [EMAIL PROTECTED]
wrote:
Hi Phil,
this patch:
2007/02/25 0:19:29 phil
Included Matt Newell's fix for making sure that a sub-class convertor
returns the most specific type
On Tue, 2008-11-18 at 13:22 +, Phil Thompson wrote:
On Tue, 18 Nov 2008 14:06:10 +0100, Giovanni Bajo [EMAIL PROTECTED]
wrote:
On Tue, 2008-11-18 at 09:27 +, Phil Thompson wrote:
On Tue, 18 Nov 2008 01:12:49 +0100, Giovanni Bajo [EMAIL PROTECTED]
wrote:
Hi Phil
.
Any guess on what exactly is the bug?
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
arithmetic in Python).
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
the correct
thing, and it even works when you pass it back to the constructor).
tuple(QKeySequence()) segfaults, but IIRC you have already fixed this.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt
On 10/31/2008 12:57 PM, Adeodato Simó wrote:
* Giovanni Bajo [Mon, 27 Oct 2008 19:28:24 +0100]:
On 10/27/2008 4:52 PM, Jim Crowell wrote:
Downgrading gcc and g++ from 4.2 to 4.1 decreased build time from about
15 minutes to 13.6 seconds.
BTW, you can use the following commands to configure
to trace it; but first I wondered if anyone
else had hit the problem and maybe had a fix they could suggest?
Before rebuilding the world, I would try to attach strace (or even
ltrace) to the running process and see what it's doing in those 14 seconds.
--
Giovanni Bajo
Develer S.r.l.
http
isn't packaged yet in
Ubuntu) or downgrade to GCC 4.1 (which is packaged -- but then you have
to manually modify the symlink /usr/bin/gcc to point to the correct
version).
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing list
again for discussing this with us!
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On 10/7/2008 7:07 AM, Phil Thompson wrote:
On Mon, 6 Oct 2008 21:30:49 -0500, Arthur Pemberton [EMAIL PROTECTED]
wrote:
On Mon, Oct 6, 2008 at 7:33 PM, Doug Bell [EMAIL PROTECTED] wrote:
Giovanni Bajo wrote:
On 10/6/2008 7:27 PM, Joshua Kugler wrote:
Phil Thompson wrote:
On Fri, 3 Oct 2008
. They changed
SCM, build system and Qt major version at the same time, with no option
of having releases inbetween. Ask them if they'd ever do that again.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt
://www.develer.com/oss/PyQt3Support
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
time to rewrite doesn't seem a good path forward to me.
If there's agreement that we need to break backward compatibility on
PyQt (by changing the way QString or QVariant are mapped), I think it's
better to do so *independently* from any other changes (eg: Python 3).
--
Giovanni Bajo
Develer
On 10/6/2008 8:42 PM, Phil Thompson wrote:
On Mon, 06 Oct 2008 19:42:26 +0200, Giovanni Bajo [EMAIL PROTECTED]
wrote:
On 10/6/2008 7:27 PM, Joshua Kugler wrote:
Phil Thompson wrote:
On Fri, 3 Oct 2008 17:11:19 +0200, Detlev Offenbach
[EMAIL PROTECTED] wrote:
Hi,
will there be PyQt4 support
On lun, 2008-10-06 at 20:19 +0100, Phil Thompson wrote:
On Mon, 06 Oct 2008 21:10:44 +0200, Giovanni Bajo [EMAIL PROTECTED]
wrote:
On 10/6/2008 9:04 PM, Phil Thompson wrote:
On Mon, 06 Oct 2008 20:52:50 +0200, Giovanni Bajo [EMAIL PROTECTED]
wrote:
On 10/6/2008 8:42 PM, Phil Thompson
the documentation).
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
, since some people will not be willing to pay an
average 20% performance hit of Python 3.0 compared to Python 2.6.
I suggest you to document it on the website to reduce the number of
incoming questions in the next few years :)
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
by an upcoming PyQt3Support release that will mark all
PyQt3 classes and methods as deprecated, to allow developers to quickly
identify spots where Qt3Support is still in use.
The patch has been written by Lorenzo Berni (I'm submitting it on his
behalf).
--
Giovanni Bajo
Develer S.r.l.
http
On mar, 2008-09-16 at 21:54 +0100, Phil Thompson wrote:
On Wed, 10 Sep 2008 01:51:54 +0200, Giovanni Bajo [EMAIL PROTECTED]
wrote:
Hello Phil,
this looks weird to me (using sip 4.7.6, PyQt 4.4.2, Qt 4.4.0):
===
$ python
Python 2.5.2 (r252:60911
. Check Trolltech's
task tracker about it.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On 9/12/2008 1:32 PM, V. Armando Sole wrote:
At 12:17 12/09/2008 +0200, Giovanni Bajo wrote:
On 9/12/2008 12:12 PM, V. Armando Sole wrote:
Hello,
QGLWidget.renderText gives me an OpenGL error for Qt versions =
4.3.0 that prevents any further OpenGL output.
Those are Qt bugs, not PyQt nor
:
print a
サ
print b
Traceback (most recent call last):
File stdin, line 1, in module
UnicodeEncodeError: 'ascii' codec can't encode character u'\u30b5' in
position 0: ordinal not in range(128)
Thanks!
--
Giovanni Bajo
;
}
else
{
Item *item = sipCpp-items[a0];
sipResult = sipConvertToInstance([...]);
}
%End
}
I'll let you find out the details of how to write the code. Refer to the
SIP documentation.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
On 8/6/2008 7:22 PM, juergen urner wrote:
sometimes posting reports helps to find the bug :-) did not pass to pass
the
integer along. nevermind.
Well, it shouldn't segfault anyway, should it?
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
that in the %MethodCode of
that function, by calling PyErr_SetNone(PyExc_StopIteration).
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Sat, 2008-07-26 at 17:10 +0100, Phil Thompson wrote:
On Wed, 23 Jul 2008 15:42:18 +0200, Giovanni Bajo [EMAIL PROTECTED]
wrote:
Hi Phil:
=
import sip
from PyQt4.Qt import *
called = []
class Core
On Sat, 2008-07-26 at 23:31 +0100, Phil Thompson wrote:
On Sat, 26 Jul 2008 21:07:09 +0200, Giovanni Bajo [EMAIL PROTECTED]
wrote:
On Sat, 2008-07-26 at 17:10 +0100, Phil Thompson wrote:
On Wed, 23 Jul 2008 15:42:18 +0200, Giovanni Bajo [EMAIL PROTECTED]
wrote:
Hi Phil
=
Traceback (most recent call last):
File bugpyqt.py, line 18, in module
assert len(called) == 2, called
AssertionError: ['done']
The slot with lambda is called, but the other one is not.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
()),
lambda idx=idx: self.activated(idx))
menu.addAction(action)
[...]
def activated(self, idx):
Called when the menu items #idx of the menu has been
activated.
print idx
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing
already have libqt4
It's probably not being picked up. What's the output of qmake -v?
or a latest SIP/PyQt snapshot. Or just
comment those two lines away.
I am using the latest snapshot.
I wouldn't say so, given the output of the make command:
`/tmp/PyQt-x11-gpl-4.4.2/QtGui
--
Giovanni Bajo
or directory
make[1]: *** [sipQtGuicmodule.o] Error 1
make[1]: Leaving directory `/tmp/PyQt-x11-gpl-4.4.2/QtGui'
make: *** [all] Error 2
It's a know bug. Use Qt 4.4, or a latest SIP/PyQt snapshot. Or just
comment those two lines away.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
On Sat, 2008-07-05 at 23:04 +0100, Phil Thompson wrote:
On Thu, 03 Jul 2008 16:04:42 +0200, Giovanni Bajo [EMAIL PROTECTED]
wrote:
Hi Phil,
with SIP 4.7.6, PyQt 4.2.2, Qt 4.4.0:
import sip
import weakref
from PyQt4.Qt import *
class
On Sun, 2008-07-06 at 17:29 +0100, Phil Thompson wrote:
On Sun, 06 Jul 2008 15:18:10 +0200, Giovanni Bajo [EMAIL PROTECTED]
wrote:
On Sat, 2008-07-05 at 23:04 +0100, Phil Thompson wrote:
On Thu, 03 Jul 2008 16:04:42 +0200, Giovanni Bajo [EMAIL PROTECTED]
wrote:
Hi Phil,
with SIP
On Fri, 2008-07-04 at 10:48 +0200, Sundance wrote:
Giovanni Bajo wrote:
The assert triggers, meaning that the object of type MyWidget is not
released.
Hi Giovanni,
Yes, this is a known bug: SIP keeps a hard reference to bound methods in
its method cache (the bound method being
= QVBoxLayout(None)
L.addWidget(ws)
L.activate()
del L
del ws
import gc
gc.collect()
assert wr() is None
The assert triggers, meaning that the object of type MyWidget is not
released.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
the SIP user choose.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
: No such
file or directory
make[1]: *** [sipQtGuicmodule.o] Error 1
make: *** [install] Error 2
This happens when you try to compile PyQt 4.4 against Qt 4.3 (and it's a
bug that's already fixed in PyQt snapshots).
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
; maybe Phil will
chime in.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On 6/12/2008 6:44 PM, Kevin Watters wrote:
Anyone lucky enough to be using Visual Studio for their SIP projects have any
advice on the Python stack trace issue?
Not that I know of, but please let me know if you find out something.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
use .deleteLater()
(a QObject method) for deferred deletion.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
, void *a)
{
return ::operator delete(p, a);
}
};
You just inherit the small objects from this class and you're done with.
If you do many allocations, this should be a win over the standard
new/delete.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
stdin, line 1, in module
TypeError: argument 2 of QImage() has an invalid type
img = QImage(QSize(10,10), QImage.Format_RGB32)
img.width()
10
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
On 5/30/2008 12:32 PM, Phil Thompson wrote:
On Wednesday 28 May 2008 3:39:11 pm Giovanni Bajo wrote:
Hi Phil,
I found a new bug in SIP (it used to work with a SIP from September 2007).
If you declare a class with a single constructor, you write %MethodCode
for that constructor, and you make
, for instance, which can contain very large
documents.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
== PARSE_OK (at line
7173) instead of pstate == PARSE_OK.
Thanks!
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
to be a problem here.
It's the kind of problems that re-surfaces now that Qt's .DLLs are
separated from .PYDs. In fact, till now I hadn't realized this was a
problem even if you installed Qt's .DLLs next to PyQt's .PYDs, but
that's the way Windows works...
--
Giovanni Bajo
Develer S.r.l.
http
to build it as a single static
_qt.pyd or with .pyd + Qt's .dll files. The former gives you a much
smaller installer file which might be a feature; the latter gives more
flexibility to final users. Either way it's fine.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
++
programmers.
I personally saw a *large* increase of interest in Python Windows
programmers since the consolidated installer was released. It would be a
shame to see a regression there.
I really hope you reconsider your choice.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
On 5/13/2008 1:19 PM, Phil Thompson wrote:
On Tuesday 13 May 2008 11:59:48 Giovanni Bajo wrote:
On 5/13/2008 10:24 AM, Phil Thompson wrote:
On Tuesday 13 May 2008 09:16:59 you wrote:
Hi Phil,
First we will install Qt/MinGW and then your installer ? And we have to
do this for every machine we
still fill that numpy array one element at a time,
nothing changes.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
() (the C++ function), Qt doesn't
know how to cooperate with Python for CTRL+C, and this is why it does
not work. I don't think there's a good way to make it work; you may
want to see if you can handle it through a global event filter.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
the QObject dies, the Python object is
flagged as invalid, and any usage of it results in a RuntimeError;
moreover, you can check for this invalid condition through
sip.isdeleted().
Thus, I'm not sure what you are speaking of.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
Hi Phil,
can you please elaborate about this:
2008/04/15 19:54:04 phil
Various template related bug fixes and enhancements need by PyQt's
Phonon module.
Thanks!
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt
anything more than it would be done one opcode later when the method
exits and its locals are destroyed. In fact, calling takeItem() without
binding its return value to a name achieves the same effect and it is
clearer.
Thanks again for a nice article!
--
Giovanni Bajo
Develer S.r.l.
http
= useptyfix.MySetUsePty
---
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
101 - 200 of 578 matches
Mail list logo