Nominate our 2022 Qt Champions!

[Moved] Error on embedding Python

  • i have a project that has code which will communicate with a python script and call python functions.
    In the proj file, i've added the includePath for the python header files, and added external python library to the project (python27.a). However the qt compiler gave me an error:

    No rule to make target ' /home/pgeng/work/OpenModelica-rev.9876.CSA/OMEdit/OMEditGUI/../../../../../../usr/lib/python2.7/libpython2.a', needed by '../bin/OMEdit'. Stop

    What does this mean? How can i fix it??does this have something to do with PyQt?

  • How did you include the python library in your .pro file?

Log in to reply