KCONFIG_COMPILER(1)

πŸ“¦ version 4.14.38, in fedora 43, fedora 44

πŸ’– KCONFIG_COMPILER πŸ’–

okay bestie, welcome to kconfig_compiler β€” the KDE configuration compiler ✨ this little icon lives in section 1 of the manual (the "Programming Tool" part of the K Desktop Environment pages, iykyk), and she's here to turn your config dreams into C++ reality. no cap.


🌸 NAME 🌸

kconfig_compiler β€” the KDE configuration compiler πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

kconfig_compiler [Qt-options] [KDE-options] [options] file.kcfg
                 file.kcfgc

✨ DESCRIPTION ✨

so here's the tea β˜• kconfig_compiler generates C++ source code from two files, periodt:

  • the first file, .kcfg, is where all the info about your configuration options lives πŸ“
  • the second file, .kcfgc, is the one holding the code generation options πŸŽ€

and the source code it spits out? it contains a class that's based on KConfigSkeleton, which gives you an API to access your application's configuration data. it's giving ✨organized✨, it's giving πŸ’…main characterπŸ’….


πŸ”₯ OPTIONS πŸ”₯

πŸ“ Arguments πŸ“

  • file.kcfg β€” the input kcfg XML file, bestie πŸ“₯
  • file.kcfgc β€” the code generation options file, the vibe-setter πŸŽ›οΈ

πŸ’œ Options πŸ’œ

  • -d, --directory <dir> β€” the directory to generate files in, defaults to [.] (as in, right here, right now, no cap) πŸ“

🌈 Generic options 🌈

  • --help β€” show help about options, your classic "what do I do" button πŸ†˜
  • --help-qt β€” show the Qt-specific options πŸ’™
  • --help-kde β€” show the KDE-specific options πŸ’œ
  • --help-all β€” show all the options, the whole buffet 🍽️
  • --author β€” show author information πŸ‘‘
  • -v, --version β€” show version information 🏷️
  • --license β€” show license information πŸ“œ

πŸŽ€ KDE Options πŸŽ€

  • --caption <caption> β€” use caption as the name in the titlebar πŸͺŸ
  • --icon <icon> β€” use icon as the application icon πŸ–ΌοΈ
  • --miniicon <icon> β€” use icon as the application icon (yes, again, that's what it says) 🐣
  • --config <filename> β€” use an alternative configuration file πŸ“‚
  • --dcopserver <server> β€” use the DCOP server specified by server πŸ–₯️
  • --nocrashhandler β€” disable the crash handler so you can get core dumps πŸ’€ (choose chaos, respectfully)
  • --waitforwm β€” waits for a WM_NET compatible window manager ⏳
  • --style <style> β€” sets the application GUI style πŸ’…
  • --geometry <geometry> β€” sets the client geometry of the main widget β€” see man X for the argument format πŸ“

πŸ’™ Qt options πŸ’™

  • --display <displayname> β€” use the X-server display displayname πŸ–₯️
  • --session <sessionId> β€” restore the application for the given sessionId πŸ”„
  • --cmap β€” causes the application to install a private color map on an 8-bit display 🎨
  • --ncols <count> β€” limits the number of colors allocated in the color cube on an 8-bit display, if the application is using the QApplication::ManyColor color specification 🌈
  • --nograb β€” tells Qt to never grab the mouse or the keyboard πŸ™…
  • --sync β€” switches to synchronous mode for debugging πŸ›
  • --fn, --font <fontname> β€” defines the application font πŸ”€
  • --bg, --background <color> β€” sets the default background color and an application palette (light and dark shades are calculated) 🎨
  • --fg, --foreground <color> β€” sets the default foreground color πŸ–ŒοΈ
  • --btn, --button <color> β€” sets the default button color πŸ”˜
  • --name <name> β€” sets the application name 🏷️
  • --title <title> β€” sets the application title (caption) πŸ“›
  • --visual TrueColor β€” forces the application to use a TrueColor visual on an 8-bit display 🌈
  • --inputstyle <inputstyle> β€” sets XIM (X Input Method) input style. possible values are onthespot, overthespot, offthespot, and root ⌨️
  • --im <XIM server> β€” sets the XIM server πŸ›°οΈ
  • --noxim β€” disable XIM 🚫
  • --reverse β€” mirrors the whole layout of widgets πŸͺž

πŸ‘€ SEE ALSO πŸ‘€


πŸ’€ BUGS πŸ’€

please use bugs.kde.org to report bugs β€” do not mail the authors directly, they're busy being iconic πŸ™ˆ


πŸ‘‘ AUTHORS πŸ‘‘

  • Cornelius Schumacher <schumacher@kde.org> β€” Author. πŸ’–
  • Waldo Bastian <bastian@kde.org> β€” Author. πŸ’–
  • Zack Rusin <zack@kde.org> β€” Author. πŸ’–

πŸ“Œ NOTES πŸ“Œ

  1. bugs.kde.org β€” http://bugs.kde.org πŸ”—

and that's the whole page, bestie 🫢 this was brought to you by the K Desktop Environment, dated 2006-06-01 β€” vintage but still ate, fr fr. mwah πŸ’‹ ✨