Il giorno dom, 15/11/2009 alle 13.13 +, Phil Thompson ha scritto:
> On Sun, 15 Nov 2009 13:36:52 +0100, Giovanni Bajo
> wrote:
> > Il giorno dom, 15/11/2009 alle 11.39 +, Phil Thompson ha scritto:
> >> On Fri, 13 Nov 2009 20:53:34 +0100, Giovanni Bajo
>
; QVariant(a).toString()
PyQt4.QtCore.QString(u'')
>>> QVariant(a).type()
127
Why should a plain QString be inserted within the QVariant as a custom
type?
I'm using SIP 4.9.3 and PyQt 4.6.2 (unless I've broken something with
On Wed, 2009-11-25 at 14:56 +, Phil Thompson wrote:
> On Wed, 25 Nov 2009 15:44:25 +0100, Giovanni Bajo
> wrote:
> > Hi Phil,
> >
> > I must say I have not quite followed up all the developments wrt
> > QVariant. I'm using Python 2 and thus the QVar
PL and the LGPL.
Nitpick here: any LGPLv2 can be changed to GPLv2, so if the LGPLv2 terms
were not acceptable, the user can simply adhere to the GPLv2 terms.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverba
containers, for instance).
I believe it would make sense for sipCpp to be a const pointer type when
accessed from within the %MethodCode of a const method.
Thanks!
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt
code (even if you own the copyright). So basically Nokia
requires that you buy a commercial license at the beginning of development,
not at release time.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
commercial proprietary applications.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
o different platforms: host and target (the former used to build sipgen,
the latter for siplib).
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
e doesn't have *any* support for picking up implicit
dependencies. For instance, for PyQt, it doesn't know about Qt plugins
so it would not pick up anything.
PyInstaller (http://www.pyinstaller.org/), instead, should work out of
the box.
--
Giovanni Bajo
Develer S.r.l.
htt
t4/pyqt4ref.html#selecting-incompatible-apis
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
to the -P flag above? If so, does it mean that it is
active by default when compiling PyQt on Linux/Mac? If not, how was the
result achieved? Why it does not apply to Windows as well?
Thanks!
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
Il giorno lun, 18/01/2010 alle 11.33 +, Phil Thompson ha scritto:
> On Mon, 18 Jan 2010 12:11:20 +0100, Giovanni Bajo
> wrote:
> > Hi Phil,
> >
> > I read in the SIP 4.10 changelog:
> >
> > Added the -P command line option to build modules with &quo
d for Python 2.x programs), because the code optionally imports
it.
Note that PyInstaller takes automatically care of this and other PyQt
packaging issues (eg: plugins).
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mail
yInstaller (see manual)
3) At startup, load the resource file from the temporary directory (see
manual)
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
way to export PyQt classes to QML,
that is implement QMLElement in Python rather than in C++, and make them
available to QML itself.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.river
On Tue, 2010-03-09 at 19:57 +0100, Attila Csipa wrote:
> On Tuesday 09 March 2010 15:54:54 Ville M. Vainio wrote:
> > On Tue, Mar 9, 2010 at 2:07 PM, Giovanni Bajo wrote:
> > > It might make more sense to have a way to export PyQt classes to QML,
> > > that is imp
Hello,
I read that the official plans for PyQt4 do not include support for the
Q3Support libraries. I was wondering if, on principle, would be possible to
make it by importing the .sip files from PyQt3 and apply the slightly
required changes to them.
Thanks!
--
Giovanni Bajo
e.
>
> You won't break any license. I plan to do the same thing myself -
> possibly with Qt statically linked.
So are you planning to do that statically-linked, single-file version, adding
support to SIP? If you are really going to do it, I'll hold on trying to do it
myself :)
G
x27;re going to integrate this and save backward compatibility.
Giovanni Bajo
Index: branches/py25/lib/sip/siplib/siplib.c
===
--- branches/py25/lib/sip/siplib/siplib.c (revision 6441)
+++ branches/py25/lib/sip/siplib/sipl
xe is able to do nowadays, but if you can build a single
self-contained Windows executable you don't need VendorId at all, as you won't
ship a bare "qt.pyd" or similar. If you have trouble with py2exe, try with
PyInstaller.
Giovanni Bajo
--
No virus found in this outgoing m
Shane Lin wrote:
>> I'm having trouble using Py2exe with a PyQT-based python project.
FWIW, I successfully package PyQt applications using PyInstaller instead of
py2exe.
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunho
d Windows (Qt 2.3).
>
> Any ideas? Is some sort of inappropriate garbage collection going on?
Same problem here. My own solution was "import win32clipboard".
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http
ise if QMutexLocker supported the new with
statement in Python 2.5:
with locker:
# code
and the fact was then mentioned in the documentation of PyQt.
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
t;>>
>>> a = QObject(None)
>>> r = weakref.ref(a)
>>> r
>>> a.deleteLater()
>>> qApp.processEvents()
>>> r
>>> a
>>>
>>>
>>>
>>> a = QObject(None)
>>> def cb(wr):
... print "dead:", wr
...
>>> r = weakref.ref(a, cb)
>>> a.deleteLater()
>>> qApp.processEvents()
dead:
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
useMove()
mousePress()
mouseRelease()
qSleep()
qWait()
Anything else, like the QTEST/QVERIFY family of macros, are part of the
framework, which I personally don't plan to ever use in a PyQt application
anyway.
--
Giovanni Bajo
___
Py
> It will be in tonight's snapshot.
Thank you very much!
Now that I know it's so easy to trigger the phil-bot, let me see if the same
trick works twice:
Q3Widget
Q3Button
Q3VBox
Q3HBox
Q3ListView
*crosses fingers* :)
Giovanni Bajo
___
PyK
> Which ones?
>
> If you used deleteLater() for an QObject, processEvents() might
> delete that object which might result in a crash.
And? Why should you use an object on which you called deleteLater()? The object
will still be destroyed as soon as the code gets back to the event loop.
proce
fer interface,
but was not using it for certain specific expressions.
The patch is integrated since Python 2.5, so with 2.5 QString behaves just
like normal Python strings, as best as they can.
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.
n's re module.
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
ndows
binaries, but I think that having a PyQt-gpl-4.1-Py2.4-Qt4.2.1.exe would be
good (that is, for Python 2.4 and latest version of Qt and PyQt). IMHO, it's
easier to upgrade Qt than Python...
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.i
it could be simplified with setuptools
and completed.
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
eleases (bugfixes etc.) could be tagged in a different way, like with a letter
(PyQt 4.2a, 4.2b, 4.2c and so on).
I think the confusion is also bigger since the user has also to track SIP
dependency and its unconnected version number. It's even more confusing since
SI
aving sip.pyd shared across qt*.pyd is actually
required -- but I already compile all the modules together in a single
qt.pyd file; and I have many other SIP extensions which *do not* need to
share the same objmap or whatever with pyqt].
--
Giovanni Bajo
_
; this). So you could create a project specific interpreter.
To be clear, I'm not speaking of embedding sip.pyd in python.dll as a
builtin module. I'm speaking of totally *removing* sip.pyd as a module, and
just "put" all the necessary code within
h are caused by the current design.
Binary dependency *is* a bad headache which seriously affects the usage of
SIP, and its choice as a primary binding tool within a company. I would
appreciate if you could explain your position.
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
(siplib.a) and linked to the generated code; init_foo() would
call init_sip() (from siplib.a), and then bound the created module as attribute
to module "foo".
Many things would just stay as they are: the difference is simply that there
would not be any sip.pyd file around: and since I'm n
annot simply install PyQt, they
> won't use my soft ;-).
That's not a real problem if you package your software with PyInstaller or
py2exe.
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Hello,
the following code snippet causes a segfault:
>>> from qt import QApplication
>>> app = QApplication(["-v"]*10)
>>> del app
>>> app = QApplication([])
I'm using Qt 3.3.6, PyQt 3.16, SIP 4.4.3, under Windows.
--
Giovanni Bajo
__
Hello,
what's the meaning of the string "PyObject" used within the signature of a
signal in PyQt4? I can't seem to find it in the PyQt4 documentation. If I
pass it a random python object I get core dumps and random crashes, so I
assume it's not really meant for
e
each test starts clean (without inheriting spurious events/widgets/things from
a previous test).
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
t;PyObject" means in the
signature of a signal?
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
nwrap cycle, because the slot function receives
an object with a different id().
I was thinking that PyObject meant something like "any object wrapped by SIP",
but I can't understand the exact meaning.
--
Giovanni Bajo
___
PyKDE ma
that would
mean that you could forget the signal arguments after calling emit(). I need
to think about that a bit more.
I think something along these lines would be great.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyKDE
icantly.
I cannot reproduce it with PyQt 3.16 and SIP 4.4.3.
It looks like it's been already fixed.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
quot;, all the memory
is reclaimed, with no need for the Python cyclic GC to kick in.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Andre Reitz wrote:
> Sounds great,
> but memory usage increases continuously.
> Do you have an idea why?
> Is there a bug on C++/SIP side?
Did you try updating PyQt and SIP to the latest version?
--
Giovanni Bajo
___
PyKDE mailing l
wrong tool for wrapping
this kind of lightweight C++ objects? Or would there be something that could
be planned to improve this situation? I'm happy to contribute something, if
there is something that can be done about it.
Thanks!
--
Giovanni Bajo
___
x27;ll see what
happens when everything is finished, but looks like I'll have to leave with
two different P implementations (one in Pyrex to be used from Python, and
one in C++ to be used as basis for other classes).
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Phil Thompson wrote:
lambda functions are now treated slightly differently and can now be used as
slots.
Why can't you simply always incref the slot, be it a lambda, a method or
anything else?
--
Giovanni Bajo
___
PyKDE mailing list
Hi Phil,
http://www.mail-archive.com/pykde@mats.imk.fraunhofer.de/msg06573.html
it looks like it would be sufficient to call qApp.processEvents() from within
the hook (assuming qApp is not deleted). This would be great for using Qt at
the interpreter prompt for quick tests...
--
Giovanni
list the %Included .sip files in the
"depends" argument of the setup() call, and distutils will take care of
calling sip.exe when necessary.
Thanks!
--
Giovanni Bajo
Index: sipdistutils.py
===
--- sipdistutils.py
e interpreter prompt for quick tests...
>
> It will be in tonight's snapshot. Sorry I missed it the first time.
Both Qt3 & Qt4?
Thanks!
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
ication, the
traceback is better logged into a logfile, and the messagebox should display
something like "internal error, please send bug report" :)
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Hi,
why do sipconfig build Makefiles which install .sip files by default? What's
the rationale for installing .sip files?
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
so your application will
still be fully unicode. It's only the literal in the source code
(*immediatly* surrounded by the tr() call) which is a 8-byte str.
BTW: since all my sources are UTF-8, I prefer to specify it as default
encoding for tr (QTextCodec.setCodecForTr) so that I can later use
ding declaration:
http://docs.python.org/ref/encodings.html).
- Use a text editor which will actually edit contents in UTF-8 form (for
instance, a Python-aware editor that will automatically adapt to the
encoding declaration of the file; or a simple text editor like vim running
with UTF-8 locale
of unicode.encode("utf-8").
But again, to further help you I need a better grasp of your scenario (see
questions above).
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
technical solution (such as a GUI toolkit) and that in charge of
changing the commercial strategy of the company are not the same in any
non-trivial case.
Qt and PyQt work because they *do* offer a dual-licensing model which
fits any kind of business strategy.
--
Gio
yourself, be my guest,
I'll just sit, relax and grab the snapshot :)
Thanks!
--
Giovanni Bajo
Index: siplib/sip.h
===
--- siplib/sip.h(revision 9342)
+++ siplib/sip.h(working copy)
@@ -295,7 +295,8 @@
repr
other with a lot of program installs (Python + Qt + PyQt involves at
least three separate with one embedded).
http://pyinstaller.python-hosting.com
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
nvironment like compiler version, ecc.).
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
all"? It should spew more debugging information.
Are you using mingw32 that's automatically installed by the binary Qt
C++ GPL distribution? Or did you have a previous version around?
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.im
er XP) to
double-check (try "where make" and "where qmake" for instance).
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
*any* trace of cygwin and put mingw\bin
in there.
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
configure.py -w"
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
QMAKESPEC environment variable?
What if you change it to "win32-g++"?
It should have been set by the Qt installation program...
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
irectory should contain qmake.conf and
qplatformdefs.h.
and (stupid question) you did close and reopen your command prompt after
changing the environment variables? :)
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fra
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
ocessEvents()
before app destruction, but I would prefer if the bugs were fixed (and I
thought you preferred it too...).
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
gc.collect()
gc.collect()
assert dlist
This asserts for me on recent SIP snapshots (200701115), but works with
4.4.5.
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
On 17/01/2007 18.09, Giovanni Bajo wrote:
I think I have managed to produce a (convoluted) testcase for what
appears to be a reference leak introduced by recent SIP versions. It
ought to be when you added support for lambda expressions as slots.
I think I know the problem
for tr()
What is this fnction for, when is it needed?
http://doc.trolltech.com/4.2/i18n.html
http://doc.trolltech.com/4.2/qobject.html#tr
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
On 1/19/2007 5:27 PM, Krystian Samp wrote:
I use:
self.scene().removeItem(self)
where self is a QGraphicsItem object acting as a parent for quite a
large tree of items.
the problem occurs rarely.
It *sounds* like a QGraphics bug at the C++ level.
--
Giovanni Bajo
s to analyze the *current* problems
and do proper bug reports. Adding more things in right now is a recipe
for bad headaches to me :)
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Makefiles to remove "-O2" and add "-Zi",
and "/DEBUG" to linker, and run "nmake clean all").
After that, you should have enough debug informations to get an useful stack
trace and full debug session from within VS2003. Notice you can either start
your whol
(fopen() and friends) but directly use platform APIs (POSIX open(), or Win32
CreateFile()).]
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
with
"PyQt_PyObject" [...]
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
optimum solution, but they work for me.
Uhm, I compiled sip with .NET 2003 many times, without problems. Could
you elaborate on what are the problems you met?
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http
x27;t necessarily have "ar", but if you look at
the code immediately after this change, it was trying to get the value
of the AR variable from the spec. Due to this I was getting an error
while running SIP's configure.py saying that AR was not defined.
Yes, this is indeed a bug
uot;destroyed()"), myslot)
QObject.connect(a, SIGNAL("QUIT"), myslot)
del a
assert len(called) == 2, len(called)
==
This fails for me with PyQt 4.1.1 and SIP-snapshot-20061220 (the slot is
invoked only once). I didn't test with
slot.
In you case, Trolltech decided that QLabel usually don't need click to
be handled, so they didn't provide a standard event handler which emits
a standard signal for it. But you can do it yourself, in your own
QClickableLabel, though.
--
Gio
will be sufficient:
virtual lt_uint32 read( lt_uint8 *pDest /Array,Out/, lt_uint32 numBytes
/ArraySize/);
:)
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
2163]
PyEval_EvalCodeEx [d:\python-2.4.2\python\ceval.c:2736]
Hope this helps!
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
tain an include file with a full path in it?
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
On 05/02/2007 1.40, Javier Sanz wrote:
Thanks for answering.
That line contains #include
On 2/5/07, *Giovanni Bajo* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
On 02/02/2007 20.20, Javier Sanz wrote:
>
E:/windows/Qt/4.2.2/include/QtCore/../../src/cor
; QtCore.QObject.connect( theobjectemittingthesignal,
>> QtCore.SIGNAL("whateveritscalled()"), self.yourSlot)
>>
>> So it's: (The emitter, the signal, the slot).
>
> I always wondered why it wasn't:
>
> emitter.connect
g something like this would be
also a good solution.
However there is a bug/feature that is fixed in tonight's PyQt snapshot.
Thanks!
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
On 2/19/2007 7:11 PM, Fabian Steiner wrote:
Is there any other way which would solve this issue?
http://doc.trolltech.com/4.2/qtimer.html
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman
generic QObject* is an instance of your type (class
A). SIP then knows how to "chain" all the other %ConvertToSubClassCode
in the object hierarchy, so your code needs only to verify your own class.
--
Giovanni Bajo
___
Py
ngTypeClassMap, and
a QWidget is still being returned.
Can you show us this code please?
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
contains something
correct and matching any of the sipName_* constants. You can try
printing sipCpp->className() every time to see if it gets called with
your widget class.
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://m
supports encryption...).
2) The same as above, but rolling up your own API instead of relying on
pkg_resources.
#1 looks like the best option of course, since I don't like having to reinvent
the wheel. It also means that PyInstaller, py2exe and others just have to
support pkg_res
ayout is a QObject, so you can use
its deleteLater() method:
L = widget.layout()
L.deleteLater()
QCoreApplication.sendPostedEvents(L, QEvent.DeferredDelete)
--
Giovanni Bajo
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fra
old and the new list.
Thanks!
--
Giovanni Bajo
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
old and the new list.
Thanks!
--
Giovanni Bajo
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
, sure. you only have to provide a way to get to the source.
you don't
> even have to publish it online: you could make one ask for it.
Or, more concisely, you just need to declare that your program is GPL
and include the license file with it.
--
Giovanni Bajo
ransferObj = Py_None;
return 1;
%End
};
I'm now testing the native wchar_t support without it, but do you
foresee any memory leak problems (which are pretty hard to find out...)?
--
Giovanni Bajo
___
PyQt mailing listPyQt@riverbankcom
he idea is that a 8-bit string (Python "str") goes to the first
function, while an Unicode string (Python "unicode") goes to the second
function.
Comments?
--
Giovanni Bajo
___
PyQt mailing listPyQt@riverbankcomputing.com
http:/
if the pointer is of type "const wchar_t*":
error C2664: 'void (void *)' : cannot convert parameter 1 from 'const
wchar_t *' to 'void *'
Conversion loses qualifiers
I worked around it by dropping the const qualifiers from the
pgen/siplib is needed. I haven't had
time to think about it and prepare a concrete proposal for Phil.
Anyway, maybe we should put it onto the wiki at least, and make it
grow/mature/bugfix through public contributions, even in its current form.
--
Giovanni Bajo
// SIP support for std::vec
401 - 500 of 656 matches
Mail list logo