Maui Forums
Qt 5 command line arguments - Printable Version

+- Maui Forums (https://forums.mauilinux.org)
+-- Forum: Maui Support (https://forums.mauilinux.org/forumdisplay.php?fid=74)
+--- Forum: Software & Applications (https://forums.mauilinux.org/forumdisplay.php?fid=77)
+--- Thread: Qt 5 command line arguments (/showthread.php?tid=24241)



Qt 5 command line arguments - monteleo - 20th January 2017

I'm trying to reuse in Maui some bash scripts that I have developed in kubuntu 14.04 KDE4 but I see that KDE5 applications are not showing as many options as in KDE4, all the KDE specific options (--help-kde) and Qt options (--help-qt) are not shown.
For example the following is fine in KDE4:

konsole --workdir $DIR --hide-menubar --caption TEST --nofork --geometry 953x1200+1920+0

but "caption" and "nofork" are unknown options in KDE5.

Where can I find what are now the KDE specific options and Qt options that I can use in command line?

Thank you


RE: Qt 5 command line arguments - leszek - 20th January 2017

Konsole added the nofork option in 16.12.1 as far as I remember though it's only added for compatibility and does not really do anything.
The simplest solution to see what parameters an application takes is to take a look at the manpage or execute the command with the --help flag to see it's options.