Re: Static linking of python and pyqt

2007-12-20 Thread BlueBird
On Dec 19, 1:26 pm, Markus Dahlbokum <[EMAIL PROTECTED]> wrote: > > > I just want the qt libs linked to the interpreter without accessing them > > > by a module. I tried the configure option '--with-libs='lib ...''. The > > > make did fine but the executable is too small and the qt symbols are not

Re: Static linking of python and pyqt

2007-12-19 Thread Martin v. Löwis
> I need an environment that can be delivered to our customers without > installing python, qt and pyqt. We want to provide the complete package. > In order to do so I need to link at least python and qt. How can this be done? You should link all extension modules into the Python executable, thro

Re: Static linking of python and pyqt

2007-12-19 Thread Diez B. Roggisch
Markus Dahlbokum wrote: >> > I just want the qt libs linked to the interpreter without accessing >> > them by a module. I tried the configure option '--with-libs='lib ...''. >> > The make did fine but the executable is too small and the qt symbols >> > are not known by it. How can I just link qt s

Re: Static linking of python and pyqt

2007-12-19 Thread Markus Dahlbokum
> > I just want the qt libs linked to the interpreter without accessing them > > by a module. I tried the configure option '--with-libs='lib ...''. The > > make did fine but the executable is too small and the qt symbols are not > > known by it. How can I just link qt statically? > > Why do you wan

Re: Static linking of python and pyqt

2007-12-19 Thread Martin v. Löwis
> I just want the qt libs linked to the interpreter without accessing them by a > module. I tried the configure option '--with-libs='lib ...''. The make did > fine but the executable is too small and the qt symbols are not known by it. > How can I just link qt statically? Why do you want to do t

Re: Static linking of python and pyqt

2007-12-19 Thread Markus Dahlbokum
> > I'm trying to link python statically with qt and pyqt. I've tried this in > > several ways but never succeeded. At the moment the final make runs > > without errors but I get import errors when accessing pyqt. > > How can I solve this problem? > > You'll need to include QtCore into Modules/conf

Re: Static linking of python and pyqt

2007-12-19 Thread Martin v. Löwis
> I'm trying to link python statically with qt and pyqt. I've tried this in > several ways but never succeeded. At the moment the final make runs without > errors but I get import errors when accessing pyqt. > How can I solve this problem? You'll need to include QtCore into Modules/config.c, pre

Static linking of python and pyqt

2007-12-17 Thread Markus Dahlbokum
Hello, I'm trying to link python statically with qt and pyqt. I've tried this in several ways but never succeeded. At the moment the final make runs without errors but I get import errors when accessing pyqt. How can I solve this problem? Markus # installing zipimport hook import zipimport # b