Re: [PyKDE] PythonQt for Windows

2005-04-29 Thread Eric van Riet Paap
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Diez B. Roggisch wrote:
 Hi,
 
 
Qt, Python and Eric3 fans. I have prepared an all in one Windows
executable and would like to have some feedback/bugreports.
I have used the GPL version of all software!
The installer can be found on http://pythonqt.vanrietpaap.nl

This URL might change in the future if bandwidth is insufficient!
 
 
 What compiler did you use? I used mingw - which causes me trouble with binary 
 extensions not compiling. So if you used the MSVC, I'd certainly be 
 interested in using your package.

I used mingw but had no problems with it so far. What binary extensions
are we talking about here?

Eric
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCcdcuMcwuX5fyfyMRArZSAJ9TRB51Yn9idlgssx+VeXFsA/4xAQCfSL/H
gTZvWxHHjZntm/jNWO2Up+8=
=YxmV
-END PGP SIGNATURE-

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] PythonQt for Windows

2005-04-29 Thread Diez B. Roggisch
 I used mingw but had no problems with it so far. What binary extensions
 are we talking about here?

win32. The exe installers want a normal python, and I didn't make it compile 
using mingw. As win32 is pretty important on windows I'd love to see it 
working.


Diez

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] PythonQt for Windows

2005-04-29 Thread Eric van Riet Paap
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Diez B. Roggisch wrote:
I used mingw but had no problems with it so far. What binary extensions
are we talking about here?
 
 
 win32. The exe installers want a normal python, and I didn't make it 
 compile 
 using mingw. As win32 is pretty important on windows I'd love to see it 
 working.

I have compiled qt,sip,qscintilla and pyqt with mingw. I have used a
standard python-2.4.1.msi downloaded from python.org so I think you
should have no problem adding win32 (is that the one from mr. Hammond?)
to this. If that is working maybe you can give me a URL so I can add
that installation to this collection/build.

Eric


 
 
 Diez

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCchcXMcwuX5fyfyMRAnK0AKCPOMZlnroBQcwPfQEV4W7RwZ+EegCgqBxR
RzVeNQHAXf+93WBbPauktok=
=TGQ3
-END PGP SIGNATURE-

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] PythonQt for Windows

2005-04-29 Thread Diez B. Roggisch
 I have compiled qt,sip,qscintilla and pyqt with mingw. I have used a
 standard python-2.4.1.msi downloaded from python.org 

You did use a standard python and did not build it yourself? Hrmph. I was 
under the impression that I needed to do that  - but I had troubles with a to 
recent mingw version too, so maybe that caused trouble that in the end made 
me believe that I had to compile all myself.

I think I go and start using your package :)

 so I think you 
 should have no problem adding win32 (is that the one from mr. Hammond?)
 to this. If that is working maybe you can give me a URL so I can add
 that installation to this collection/build.

Yes, m hammonds. It should be this link:

http://prdownloads.sourceforge.net/pywin32/pywin32-204.win32-py2.4.exe?download

If you include that too it would be great - after all, AFAIK activestate's 
python distribution also does exactly that - coding under windows makes it a 
sort of a obligatory extension. 

Regards,

Diez

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[PyKDE] Error generating code

2005-04-29 Thread lapo
Hi i got this stiky error:
sip: sip/kdecore/kshortcutlist.sip:85: There is already an enum in scope 
with the same Python name
Error: Unable to create the C++ code.

The output:
   PyKDE version 3.11.1
 ---
Python include directory is /usr/include/python2.3
Python version is 2.3.4
sip version is 4.2.1 (4.2.1)
Qt directory is /usr/lib/qt3/
Qt version is 3.3.3
PyQt directory is /usr/share/sip
PyQt version is 3.14.1 (3.14.1)
KDE base directory is /usr
KDE include directory is /usr/include
KDE lib directory is /usr/lib
KDE version is 3.2.0 (0x30200)
PyKDE modules to be built:
 dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell kdeprint 
kmdi

PyKDE modules will be installed in /usr/lib/python2.3/site-packages
PyKDE .sip files will be installed in /usr/share/sip
Generating the C++ source for the dcop module...
Creating the Makefile for the dcop module...
Generating the C++ source for the kdecore module...
If reporting errors, paste all of the output above into your
message and post to the PyKDE mailing list at:
   mailto:PyKDE@mats.imk.fraunhofer.de
   subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
You can redirect the output into a file ( output.txt) if needed
--
mailto:[EMAIL PROTECTED]
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[PyKDE] RPM packages for RHEL AS 3

2005-04-29 Thread Jorge Godoy

Hi there!


Anyone using pyQt with RHEL AS 3?  It has KDE 3.1.3 and Python 2.2.3...  We
were going to do an in house application and we'd like to use pyQt for it, but
I found no package and I wasn't willing to install compilation tools on a
production server...


Thanks in advance,
-- 
Jorge Godoy  [EMAIL PROTECTED]


___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] RPM packages for RHEL AS 3

2005-04-29 Thread Ken Godee
Anyone using pyQt with RHEL AS 3?  It has KDE 3.1.3 and Python 2.2.3...  We
were going to do an in house application and we'd like to use pyQt for it, but
I found no package and I wasn't willing to install compilation tools on a
production server...
Check out the sourceforge project KDE for Red Hat at ...
http://kde-redhat.sourceforge.net/
They have a yum repository for Rhel 3.0 at
http://apt.kde-redhat.org/apt/kde-redhat/3.0/stable/RPMS/
It includes
Qt,PyQt,PyKDE,eric,qscintilla and much more.
I have not used it yet, but will be in next week or two.
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[PyKDE] PythonQt (incl.Eric3) for Windows updated

2005-04-29 Thread Eric van Riet Paap
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello everyone,

Eric3 is now fully usable on Windows, as is Qt!

PythonQt_2005-04-29.exe can be downloaded from
http://pythonqt.vanrietpaap.nl



changelog:
2005-04-29
- Eric3 now also works when installed in a space-containing directory.
- fixed the 95% CPU time issue. UserInterface.py gave QProcess a self
parameter even though the process variable goes out of scope soon
- Eric3 now installs within the main install
- removed eric3*.bat files. Use the windows start-PythonQt-eric3
shortcut!
- fixed eric3config.py to use relative pathnames
- prepend (instead of append) the path to python.exe to PATH
environment variable

2005-04-28
notes:
Eric3 does not currently work when installed in a directorypath 
that
contains spaces!!!
Eric3 (python.exe) seems to be waiting for something (consumes 
95% CPU
time) after qtdesigner is run from Eric.

- set the Eric3 qtdir preference in the windows registry to {app}
- associate .e3p extension with Eric3 (This does not seem to work yet)
- associate .py and .pyw extension with the PythonQt python versions

2005-04-27
Python 2.4.1
(http://python.org/ftp/python/2.4.1/python-2.4.1.msi)

Qt 3.3.4  (cvs -z3 -d
:pserver:[EMAIL PROTECTED]:/cvsroot/kde-cygwin co -r
QT_WIN32_3_3_BRANCH qt-3)
Sip 4.1.1
(http://prdownloads.sourceforge.net/kscraft/sip-4.1.1-patched.zip)
QScintilla 1.62
(http://www.river-bank.demon.co.uk/download/QScintilla/qscintilla-1.62-gpl-1.5.1.tar.gz)
PyQt 3.13
(http://prdownloads.sourceforge.net/kscraft/PyQt-x11-gpl-3.13-patched.zip)
Eric3 snapshot 2005-04-10
(http://www.die-offenbachs.de/detlev/snapshots/eric-snapshot-20050410.tar.gz)

- ---

PythonQt is a software collection bundled by eric..at..vanrietpaap..dot..nl
The latest version of this collection can be downloaded from
http://pythonqt.vanrietpaap.nl
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD4DBQFCcpr7McwuX5fyfyMRAkNcAJ9f7pcS04yzVA/6e+RN2g/su74yBACYhwOy
LLtogDrmIJpqtbSMZz9O9A==
=NhSe
-END PGP SIGNATURE-

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[PyKDE] protected const method wrappers

2005-04-29 Thread James Emerton
When SIP generates the virtual wrapper classes, protected methods get
a public sipProtect_foo() method.  These methods do not inherit
const-ness from their corresponding protected method.  If you have a
class where the method signature of two protected methods differs only
in that one is const and one is not, the wrapper will fail to compile.

I have created a patch that applies the correct const-ness to the
sipProtect_ member.

James


gencode.patch
Description: Binary data
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] wx PyShell equivalent written in Qt ?

2005-04-29 Thread David Boddie
On Thu, 28 Apr 2005 16:26:56, Fabien Meghazi wrote:

 Anyone knows if there's a wxWidget PyShell's equivalent written in Qt ?

I went looking for screenshots of this widget but only found class
documentation, so I don't know exactly what you want. Still, I've
been experimenting with PyQt-based interpreters for a while, so
there may be something that you can use.

Perhaps the closest thing to PyShell can be found somewhere in the PEEQ
shell:

http://www.boddie.org.uk/david/Projects/Python/KDE/Software/peeq-0.11.tar.gz

Maybe you can refactor some of the classes to obtain a reusable component.

Good luck!

David

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde