qdbusxml2cpp-fix(1)

πŸ’– qdbusxml2cpp-fix β€” the manual page, but make it make sense πŸ’–

okay so bestie, welcome to qdbusxml2cpp-fix(1), the user command that literally turns your interface definitions into C++ code. yes, actually. it's giving codegen main character energy and we're obsessed. πŸ¦‹


✨ NAME ✨

qdbusxml2cpp-fix β€” produces the C++ code to implement the interfaces defined in the input file πŸ’…


🌸 SYNOPSIS 🌸

qdbusxml2cpp-fix [options...] [xml-or-xml-file] [interfaces...]

that's it, that's the whole vibe. options first, then your xml or xml file, then whichever interfaces you want. slay.


πŸŽ€ DESCRIPTION πŸŽ€

okay so literally what it does: it produces the C++ code to implement the interfaces that are defined in the input file. that's the whole thing. no cap. it reads your definitions, it hands you back C++, and you go live your life. ✨


πŸ’… OPTIONS πŸ’…

  • -a <filename> β€” write the adaptor code to <filename>. yes queen, that's where the adaptor lives now.
  • -c <classname> β€” use <classname> as the class name for the generated classes. name your baby, bestie.
  • -h β€” show this information. hi hello here's the help 🫢
  • -i <filename> β€” add #include to the output. slipping an include in there, sneaky but iconic.
  • -l <classname> β€” when generating an adaptor, use <classname> as the parent class. it's giving family tree 🌈
  • -m β€” generate #include "filename.moc" statements in the .cpp files. moc girlies rise πŸ‘‘
  • -N β€” don't use namespaces. we're going namespace-less today, periodt.
  • -p <filename> β€” write the proxy code to <filename>. proxy rights πŸ’–
  • -v β€” be verbose. tell me everything, i wanna know 😭
  • -V β€” show the program version and quit. short and sweet, in and out.
lowkey important detail alert 🚨 β€” if the file name you hand to -a and -p does not end in .cpp or .h, the program will automatically append the suffixes and produce both files. so you get a little bonus, bestie. and you can also use a colon (:) to separate the header name from the source file name, like this:
-a filename_p.h:filename.cpp
and if you pass a dash (-) as the argument to either -p or -a, the output is written to the standard output. stdout girlies, this one's for you πŸ’œ

πŸ”₯ SEE ALSO πŸ”₯

the full documentation for qdbusxml2cpp-fix is maintained as a Texinfo manual. so if the info and qdbusxml2cpp-fix programs are properly installed at your site, this command:

info qdbusxml2cpp-fix

should give you access to the complete manual. go read it, it's right there, iykyk πŸ“–βœ¨


and that's the whole page, bestie!! this was qdbusxml2cpp-fix from August 2021 β€” go forth and generate some absolutely stunning C++ πŸ§šπŸ’– no cap, you're gonna eat.