选项
|
描述
|
-h, –help
|
显示命令行选项的帮助。
|
–help-all
|
Displays help, including generic Qt options.
|
-v, –version
|
显示版本信息。
|
-a, –apptype <core|gui|widget>
|
Select which application class to use. Default is gui.
|
-I <path>
|
Prepend the given path to the import paths.
|
-f <file>
|
Load the given file as a QML file.
|
-c, –config <file>
|
Load the given built-in configuration or configuration file.
|
–list-conf
|
List the built-in configurations.
|
–translation <file>
|
Load the given file as the translations file.
|
–dummy-data <file>
|
Load QML files from the given directory as context properties. (deprecated)
|
–desktop
|
Force use of desktop OpenGL (AA_UseDesktopOpenGL).
|
–gles
|
Force use of GLES (AA_UseOpenGLES).
|
–software
|
Force use of software rendering (AA_UseSoftwareOpenGL).
|
–core-profile
|
Force use of OpenGL Core Profile.
|
–disable-context-sharing
|
Disable the use of a shared GL context for
QtQuick
Windows
|
–enable-shader-cache
|
Enable persistent caching of generated shaders
|
–transparent
|
Requests an alpha channel in order to enable semi-transparent windows.
|
–multisample
|
Requests 4x multisample antialiasing.
|
–quiet
|
Suppress all output.
|
–verbose
|
Print information about what qml is doing, like specific file URLs being loaded.
|
–slow-animations
|
按慢运动运行所有动画。
|
–fixed-animations
|
Run animations off animation tick rather than wall time.
|
-r, –rhi <backend>
|
Set the backend for the Qt graphics abstraction (RHI). Backend is one of: default, vulkan, metal, d3d11, gl
|
-S <selector>
|
Add selector to the list of QQmlFileSelectors.
|