Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Preprocessor symbol for maximal number of arguments
Qt 6.11 is out! See what's new in the release blog

Preprocessor symbol for maximal number of arguments

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.0k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    Adam Badura
    wrote on last edited by
    #1

    QMetaMethod::invoke (and related) overloads take up to 10 arguments.

    But that seems to be nowhere specified as a const/enum value or as a preprocessor symbol. While having such a symbol would be useful when writing some generic code.

    Sure, I can make a @#define myself but it seems far more natural place for such is the Qt library itself. In sources it seems to use alike solutions. So why no make it public?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Please "file feature requests":https://bugreports.qt-project.org/ for issues like this. They will get lost (and thus ignored) here in the forums.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Adam Badura
        wrote on last edited by
        #3

        I did: https://bugreports.qt-project.org/browse/QTBUG-31821.

        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