Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [Moved] Error on embedding Python
Forum Update on Monday, May 27th 2025

[Moved] Error on embedding Python

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    petergeng
    wrote on 29 Nov 2011, 15:05 last edited by
    #1

    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?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on 29 Nov 2011, 18:05 last edited by
      #2

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

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0

      1/2

      29 Nov 2011, 15:05

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved