Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #10108

Re: compiling qt app extensions with distutils

Date 2011-07-22 16:29 +0200
From Thomas Jollans <t@jollybox.de>
Subject Re: compiling qt app extensions with distutils
References <562586f4-d1cd-4bce-af50-fefdbb2ef0f9@h7g2000prf.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.1365.1311344946.1164.python-list@python.org> (permalink)

Show all headers | View raw


On 22/07/11 15:43, strattonbrazil wrote:
> I'd like to extend my C++ Qt applicaition using distutils.  Looking
> over the tutorial docs (http://docs.python.org/extending/
> 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 (http://pastebin.com/
> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

compiling qt app extensions with distutils strattonbrazil <strattonbrazil@gmail.com> - 2011-07-22 06:43 -0700
  Re: compiling qt app extensions with distutils Thomas Jollans <t@jollybox.de> - 2011-07-22 16:29 +0200
    Re: compiling qt app extensions with distutils strattonbrazil <strattonbrazil@gmail.com> - 2011-07-22 09:22 -0700
      Re: compiling qt app extensions with distutils Thomas Jollans <t@jollybox.de> - 2011-07-22 20:43 +0200
        Re: compiling qt app extensions with distutils strattonbrazil <strattonbrazil@gmail.com> - 2011-07-22 12:37 -0700
          Re: compiling qt app extensions with distutils Thomas Jollans <t@jollybox.de> - 2011-07-23 02:30 +0200

csiph-web