Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Embed Python interpreter using PySide in a QWidget C++ application

    Language Bindings
    3
    3
    1602
    Loading More Posts
    • 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.
    • M
      mabeghin last edited by

      Hi everyone,
      I'm working on a C++ QWidgets applications where users can execute python/lua scripts. Now I'd like python modules to be able to

      • add widgets at particular locations in the application windows
      • create new windows
        I'd like those windows / widgets to be the same than the ones the application uses (QWidgets with css).
        Is it possible with PySide ? I couldn't find the solutions online.
        Cheers
        Matt
      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        Hi
        Disclaimer: Not a python user.
        But it seems possible with plain python so i guess pySide also would work.
        (being a binding)
        https://ubuverse.com/embedding-the-python-interpreter-in-a-qt-application/

        1 Reply Last reply Reply Quote 3
        • ewerybody
          ewerybody last edited by

          I dunno C++ well enough but this kind of stuff is surely possible. For instance Maya does it just the same way.
          Or actually Cryengine Sandbox! 😃
          Here is the code on github!

          1 Reply Last reply Reply Quote 2
          • First post
            Last post