[Interest] Question about using QtDBus

Thiago Macieira thiago.macieira at intel.com
Tue Sep 2 20:47:52 CEST 2014


On Tuesday 02 September 2014 17:31:28 Rogers Nate wrote:
> If you're using code generation with gdbusxml2cpp, you'll need to pass the
> -i ServiceData.h option to the generator so it will add the #include.

> I am using qmake, I usually use...
> 
> 
> qdbuscpp2xml -A ServiceData.h -o ServiceData.xml
> 
> to make my xml file from my cpp file (I had to enter in the entry for my
> custom type manually) and then Qt automatically makes my other cpp files
> when I build.  Here are the contents of my .pro files...

Pass the -i option.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list