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. qdbusxml2cpp org.freedesktop.UDisks2.xml: unknown type
Forum Updated to NodeBB v4.3 + New Features

qdbusxml2cpp org.freedesktop.UDisks2.xml: unknown type

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 243 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.
  • nestoracN Offline
    nestoracN Offline
    nestorac
    wrote on last edited by
    #1

    They have told me that I can use QtDBus + Qt5 to develop a GUI tool for safely erasing HDDs. They have also told me that I should use org.freedesktop.UDisks2.xml, but I don't understand it's purpose, nor how should I use it.

    When I execute qdbusxml2cpp org.freedesktop.UDisks2.xml, I get the following error:

    $ qdbusxml2cpp org.freedesktop.UDisks2.xml 
    
    qdbusxml2cpp: Got unknown type `a(sa{sv})' processing 'org.freedesktop.UDisks2.xml'
    You should add <annotation name="org.qtproject.QtDBus.QtTypeName" value="<type>"/> to the XML description
    

    Do you have any clues? Thank you!

    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