Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
convert xml to cpp with qdbusxml2cpp get error unknow type (uu)
Thinh Nguyen last edited by
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
The question is What type i should use in my situation?
nestorac last edited by
I have more or less the same problem.