Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. convert xml to cpp with qdbusxml2cpp get error unknow type (uu)
Forum Updated to NodeBB v4.3 + New Features

convert xml to cpp with qdbusxml2cpp get error unknow type (uu)

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 719 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.
  • T Offline
    T Offline
    Thinh Nguyen
    wrote on last edited by
    #1

    I use qbusxml2cpp tool in Qt to convert xml to cpp class. I use the command below to convert a xml file named nm-device.xml (I get this xml file from network manager package v0.9.8.8)

    qdbusxml2cpp -v -c Devices -p Devices.h:Devices.cpp nm-device.xml
    

    but I get error, here is the output:

    Got unknown type `(uu)' You should add name="org.qtproject.QtDBus.QtTypeName" value="<type>"/> to the XML description
    

    I've also search on Google and I know (uu) is a struct and I need to add the line below to xml file

    name="org.qtproject.QtDBus.QtTypeName" value="<type>"/>
    

    The question is What type i should use in my situation?

    1 Reply Last reply
    0
    • nestoracN Offline
      nestoracN Offline
      nestorac
      wrote on last edited by
      #2

      I have more or less the same problem.

      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