free hit counter

Monday, April 17, 2006

Compiling your C++ app with the Python C API

The boost documentation has an example for including the Python C API lib using bjam, but its easier for me to use a qmake include file:


PYTHON_PATH= C:\python24
INCLUDEPATH *= $$PYTHON_PATH\include
LIBS *= $$PYTHON_PATH\libs\python24.lib


Embedding

0 Comments:

Post a Comment

<< Home