Important: Please read the Qt Code of Conduct -

qdbusxml2cpp org.freedesktop.UDisks2.xml: unknown type

  • 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!

Log in to reply