compiling qt app extensions with distutils

Thomas Jollans t at
Fri Jul 22 16:29:06 CEST 2011

On 22/07/11 15:43, strattonbrazil wrote:
> I'd like to extend my C++ Qt applicaition using distutils.  Looking
> over the tutorial docs (
> building.html#building), it seems fairly intuitive for simple
> examples, but I'm already using a rather complex qmake/Makefile system
> to get all my cpp files and libraries included.  Is it possible to
> take advantage of the existing makefile (
> Ln3NCkNL)?

What do you want to do?

Distutils is used to build extension modules. Do you want to turn your
application into a Python module?

It seams more likely that you want to embed Python in your application,
in which case you're looking at altogether the wrong documentation and
you simply have to link with libpythonX.Y like any other library

More information about the Python-list mailing list