Review Request 127906: Remove qt5options manpage docbook

Burkhard Lück lueck at hube-lueck.de
Thu May 26 20:44:35 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127906/#review95890
-----------------------------------------------------------



If we want to provide a qt5options manpage we need at least these options:

http://doc.qt.io/qt-5/qapplication.html#QApplication

-style= style, sets the application GUI style. Possible values depend on the system configuration. 
If Qt is compiled with additional styles or has additional styles as plugins these will be available to the -style command line option.

-style style, is the same as listed above.

-stylesheet= stylesheet, sets the application styleSheet. The value must be a path to a file that contains the Style Sheet.

-stylesheet stylesheet, is the same as listed above.

-widgetcount, prints debug message at the end about number of widgets left undestroyed and maximum number of widgets existed at the same time

-reverse, sets the application's layout direction to Qt::RightToLeft

-qmljsdebugger=, activates the QML/JS debugger with a specified port. The value must be of format port:1234[,block], where block is optional and will make the application wait until a debugger connects to it.



http://doc.qt.io/qt-5/qguiapplication.html#QGuiApplication

-platform platformName[:options], specifies the Qt Platform Abstraction (QPA) plugin.

-platformpluginpath path, specifies the path to platform plugins.

-platformtheme platformTheme, specifies the platform theme.

-plugin plugin, specifies additional plugins to load. The argument may appear multiple times.

-qmljsdebugger=, activates the QML/JS debugger with a specified port. The value must be of format port:1234[,block], where block is optional and will make the application wait until a debugger connects to it.

-qwindowgeometry geometry, specifies window geometry for the main window using the X11-syntax. For example: -qwindowgeometry 100x100+50+50

-qwindowicon, sets the default window icon

-qwindowtitle, sets the title of the first window

-reverse, sets the application's layout direction to Qt::RightToLeft. This option is intended to aid debugging and should not be used in production. The default value is automatically detected from the user's 
locale (see also QLocale::textDirection()).

-session session, restores the application from an earlier session.


The following standard command line options are available for X11:

-display hostname:screen_number, switches displays on X11.
Overrides the DISPLAY environment variable.

-geometry geometry, same as -qwindowgeometry.


Platform-Specific Arguments

The following parameters are available for -platform windows:

dialogs=[xp|none], xp uses XP-style native dialogs and none disables them.
fontengine=freetype, uses the FreeType font engine.


http://doc.qt.io/qt-5/qcommandlineparser.html

the help option (-h, --help and -? on Windows) This option is handled automatically by QCommandLineParser.

Remember to use setApplicationDescription to set the application description, which will be displayed when this option is used.

the -v / --version option, which displays the version string of the application.

- Burkhard Lück


On Mai 13, 2016, 2:12 nachm., Burkhard Lück wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127906/
> -----------------------------------------------------------
> 
> (Updated Mai 13, 2016, 2:12 nachm.)
> 
> 
> Review request for Documentation, KDE Frameworks and David Faure.
> 
> 
> Repository: kdoctools
> 
> 
> Description
> -------
> 
> All options in this docbook like
> 
> display, session, cmap, ncols, nograb, dograb, sync, fn, bg, fg, btn, name, title, visual, inputstyle, im, noxim, reverse, stylesheet
> 
> are valid for Qt 3.3 QApplication, see
> 
> http://doc.qt.io/archives/3.3/qapplication.html#QApplication
> 
> 
> In Qt 5.6 a QApplication automatically supports a few command line options like 
> style, stylesheet, widgetcount, reverse, qmljsdebugger
> see http://doc.qt.io/qt-5/qapplication.html
> 
> 
> Do we really want to provide a manpage docbook for that?
> 
> 
> Diffs
> -----
> 
>   docs/CMakeLists.txt 4efee3b 
>   docs/qt5options/CMakeLists.txt 7e31e0f 
>   docs/qt5options/man-qt5options.7.docbook d5891eb 
> 
> Diff: https://git.reviewboard.kde.org/r/127906/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Burkhard Lück
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160526/831b3ea6/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list