Results 1 to 3 of 3

Thread: Python Script in Qt C++

  1. #1
    Join Date
    Jul 2010
    Location
    Cairo - Egypt
    Posts
    6
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Python Script in Qt C++

    Hi

    i need to embed Python Script in the Qt C++, i add the PythonQt classes to the project.

    all i need is to create an application for get python script and run it.

    Thanx

  2. #2
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    509
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Python Script in Qt C++

    Hi, I don't know if embedding python is possible. If not, you can use QProcess to call the python interpreter with your python file.

    Ginsengelf

  3. #3
    Join Date
    Jul 2008
    Location
    Norway
    Posts
    12
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Python Script in Qt C++

    To try Google first wouldn't hurt... Anyway - you're looking for this: PythonQt.

    Other interesting hits on Google was: Embedding Python in Another Application, and QQ23.
    !sirius

Similar Threads

  1. Embedding PyQt4 into an Application running Python via Boost::Python
    By GreyHound in forum Installation and Deployment
    Replies: 1
    Last Post: 6th February 2012, 06:48
  2. Python and QT
    By restrict9 in forum Newbie
    Replies: 1
    Last Post: 2nd January 2010, 16:47
  3. Can I include a script from script?
    By yycking in forum Qt Programming
    Replies: 1
    Last Post: 24th April 2009, 03:01
  4. Python to C++
    By ComaWhite in forum General Programming
    Replies: 1
    Last Post: 15th March 2008, 23:05
  5. Replies: 7
    Last Post: 15th April 2007, 01:39

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.