Trying to embed anaconda Python into a Qt application. As a first step, I just want to get Python.h including properly.
I am running Qt4, Python 2.7.9, and OS X 10.9.
The project.pro has:
INCLUDEPATH += /home/myuser/anaconda/include/python2.7 /home/myuser/anaconda/include
LIBS += -L/home/myuser/anaconda/lib/python2.7 -lpython2.7
appended to the end.
In spite of this, I am getting the system installed python 2.7.5. This is verified by running import sys
, sys.version
and sys.path
.
Clearly, I am missing something - a compiler flag? New to QtCreator, so any insight appreciated.