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. QMetaObject.invokeMethod() does not work with arguments
Qt 6.11 is out! See what's new in the release blog

QMetaObject.invokeMethod() does not work with arguments

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 513 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.
  • R Offline
    R Offline
    rweickelt
    wrote on last edited by rweickelt
    #1

    I am using PySide2 with Python3. Calling QMetaObject.invokeMethod() on a slot without arguments works. Calling it on a slot with arguments does not work. Am I supposed to use QtCore.QGenericArgument to wrap the arguments or something else? Is this supposed to work at all?

    1 Reply Last reply
    0

    • Login

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