Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8575885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:47:49+00:00 2026-06-11T19:47:49+00:00

I am extending a DBus interface on a linux build machine using Qt. The

  • 0

I am extending a DBus interface on a linux build machine using Qt. The existing interface works fine and I need to add another parameter

The XML generation method generation is:

<method name="get_card_info">
  <arg type="b" name="success" direction="out" />      
  <arg type="s" name="version" direction="out" />
  <arg type="s" name="serial" direction="out" />
  <arg type="s" name="BeginDate" direction="out" />
  <arg type="s" name="ExpirationDate" direction="out" />
  <arg type="s" name="RenewalDate" direction="out" />
  <arg type="s" name="ZipCode" direction="out" />
  <arg type="s" name="ZipCodeExtension" direction="out" />
  <!--  <arg type="u" name="cardStatus" direction="out" />  -->
</method>

The code works fine until I uncomment the commented out line, at which point qdbusxml2cpp reports:

interface_dbus_p.h:39:103: error: wrong number of template arguments (9, should be 8)

This is even if I comment out all calls to this function; indeed this is before the linking code even gets compiled; this is all from the qdbusxml2cpp call.

The XML will compile if I change this to six, seven or eight items, but if I increase it to nine it crashes.

I’ve changed no other configuration files except the XML code.

What’s wrong? Is there a limit of eight parameters?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T19:47:50+00:00Added an answer on June 11, 2026 at 7:47 pm

    Found it; yes there is a limit, thanks to QDBusPendingReply

    “The QDBusPendingReply is a template class with up to 8 template parameters. Those parameters are the types that will be used to extract the contents of the reply’s data.”

    So no more than 8 parameters for me 🙁

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If you are extending UIComponent and you add a Label component to your custom
I am extending the Visual Studio 2003 debugger using autoexp.dat and a DLL to
I'm extending Exception to implement a setter on the Message property. And this works
Extending a website I didn't build. I want to be able to call the
i am extending the default asp.net mvc example.. i am using asp.net membership provider
Im extending a class (DirectoryServices.AccountManagement.Principal) and I need to assign a value to a
I'm currently extending some existing code that utilizes a lookup table. As it is
If I am extending an existing ThreadFactory implementation, how would I go able ensuring
I am working on extending an ASP.NET 2.0 application using an InterBase database. My
I am extending a jQuery UI widget using the $.widget factory. In this particular

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.