Results 1 to 1 of 1

Thread: Problem Using Python With Qt

  1. #1
    Join Date
    Oct 2012
    Posts
    32
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Question Problem Using Python With Qt

    Hello there,

    I have an application that reads from a .py script and runs it. Is there a way to call a c++ function from the .py script during runtime?
    i.e - if the .py file had:
    Qt Code:
    1. callqtfunction()
    To copy to clipboard, switch view to plain text mode 
    then it would call the "callqtfunction" function in my c++ code. So, how would i go around doing this? I am already familiar with the interpreter and such.

    Thanks in advance,
    Matt
    Last edited by steadi; 5th November 2012 at 02:10.

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. Replies: 0
    Last Post: 8th April 2011, 20:10
  3. Replies: 0
    Last Post: 21st October 2010, 13:18
  4. QTcpServer problem in Python Qt
    By mejustme in forum Qt Programming
    Replies: 2
    Last Post: 26th June 2008, 14:49
  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.