how can i include python.h in QMake

Viewed 2199

INCLUDEPATH = -L /usr/include/python2.7

LIBS += /usr/local/lib/python2.7

QMAKE_CXXFLAGS += /usr/local/lib/python2.7

error: cannot find /usr/local/lib/python2.7: File format not recognized

There is a problem. I have already installed python-all-dev.

1 Answers
Related