Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. How do you write shiboken binding if additional snippets should be added?
QtWS25 Last Chance

How do you write shiboken binding if additional snippets should be added?

Scheduled Pinned Locked Moved Solved Qt for Python
2 Posts 2 Posters 217 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.
  • B Offline
    B Offline
    BriFuture
    wrote on last edited by
    #1

    Hello, The shiboken2 module does a lot of boring things for creating python bindings.
    However, if I want to add additional function, I have to append some code snippets into the <typesystem_xxx>.xml or <glue>.cpp and refering it in <typesystem_xxx>.xml.

    I wonder that if there is an WYSIWYG editor or plugin of QtCreator or VSCode so that I can preview the generated cpp-python wrapper code and make it easier to generate custom binding?

    SGaistS 1 Reply Last reply
    0
    • B BriFuture

      Hello, The shiboken2 module does a lot of boring things for creating python bindings.
      However, if I want to add additional function, I have to append some code snippets into the <typesystem_xxx>.xml or <glue>.cpp and refering it in <typesystem_xxx>.xml.

      I wonder that if there is an WYSIWYG editor or plugin of QtCreator or VSCode so that I can preview the generated cpp-python wrapper code and make it easier to generate custom binding?

      SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      To the best of my knowledge, there's currently no such things.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • B BriFuture has marked this topic as solved on

      • Login

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