org.qt-project.qtqml.6111
qtqml

# Qt Qml

## The QML Reference

### The QML Language

QML Basics

#### QML Documents

Structure of a QML Document

QML Object Attributes

Property Binding

Signal and Handler Event System

#### Import Statements

Importing QML Document Directories

Importing JavaScript Resources in QML

Property Shadowing and Override Semantics

Scope and Naming Resolution

Resource Loading and Network Transparency

### The QML Type System

QML Object Types

QML Value Types

QML Enumerations

QML Sequence Types

Singletons in QML

QML Attached Types

QML Namespaces

JavaScript Types

Data Type Conversion Between QML and C++

Interacting with QML Objects from C++

Integrating with JavaScript values from C++

Embedding C++ Objects into QML with Context Properties

### QML Modules

Defining Object Types through QML Documents

#### Defining QML Types from C++

Registering Types

Exposing Attributes of C++ Types to QML

Exposing State from C++ to QML

Tying it all together with CMake

Modernizing QML modules

Fine Tuning QML Modules

Port QML modules to CMake

Module Definition qmldir Files

Identified Modules

Legacy Modules

Creating C++ Plugins for QML

### JavaScript in QML

JavaScript Expressions in QML Documents

Dynamic QML Object Creation from JavaScript

Defining JavaScript Resources in QML

#### JavaScript Host Environment

QML Global Object

The Number JavaScript Object

The Date JavaScript Object

The XMLHttpRequest JavaScript Object

List of JavaScript Objects and Functions

Making Applications Scriptable with JavaScript

## Prototyping, Debugging and Profiling QML Applications

Prototyping with the QML Runtime Tool

Qt Quick QML Preview

Debugging QML Applications

Profiling QML Applications

## Qt Qml Tooling

### Qt Quick Compiler

QML script compiler

QML type compiler

Deployment

### qmllint

#### QML Lint Warning and Errors

Cannot access singleton as a property of an object

Alias cycle

Attached property reuse

Comma

Confusing minuses

Confusing pluses

Deprecated

Duplicate enum entries

Duplicate Imports

Duplicate inline components

Duplicate bindings

Duplicated name

Enum entry matches enum

Warnings occurred while importing

Incompatible type

Inheritance cycle

Invalid qmllint directives

Literal constructor

Missing enum entry

Missing property

Missing type

Multiline strings

Non-list property

Enum declared outside the root element

Quick: Attached property type

Readonly property

Recursion depths errors

Redundant Optional Chaining

Component is missing a required property

Restricted type

Signal handler parameters

Syntax

Duplicate id

Id quotation

Top level component

Uncreatable type

Unqualified

Unresolved alias

Unresolved type

Unterminated non-empty case block

Unused imports

Use proper function

Var used before declaration

Do not use void in expressions

Warn about using assignment in conditions

With

qmlls

qmlcachegen

qmltc

qmlformat

qmltyperegistrar

qml

qmlimportscanner

qmlcontextpropertydump

svgtoqml

## CMake Integration for QML

qt_add_qml_module

qt_target_qml_sources

qt_add_qml_plugin

qt_deploy_qml_imports

qt_generate_deploy_qml_app_script

qt_generate_foreign_qml_types

qt_import_qml_plugins

qt_query_qml_module

qt_target_compile_qml_to_cpp

CMake Global Variables for QML

CMake Global Properties for QML

CMake Source File Properties for QML

### CMake Policies for QML

QTP0001

QTP0004

QTP0005

## Advanced QML Topics

The QML Disk Cache

Configuring the JavaScript Engine

Memory Management in the JavaScript Engine

Upgrade from Qt 5

## QML Types

### Binding Type Reference

List of all members

### Component Type Reference

List of all members

### Connections Type Reference

List of all members

### Easing Type Reference

List of all members

### Locale Type Reference

List of all members

Obsolete members

### LoggingCategory Type Reference

List of all members

### Qt Type Reference

List of all members

Obsolete members

### QtObject Type Reference

List of all members

### Timer Type Reference

List of all members

## C++ Classes

<qqml.h> - Functions to register C++ types to QML

### <qqmlintegration.h>

Obsolete members

### QJSPrimitiveValue Class Reference

List of all members

### QQmlListProperty Class Reference

List of all members

Obsolete members

cmake-global-properties-qtqml.html
cmake-global-property-qt-qmllinter-targets-folder.html
cmake-policies-qml.html
cmake-source-file-properties-qtqml.html
cmake-source-file-property-qt-qml-generate-android-java-class.html
cmake-source-file-property-qt-qml-internal-type.html
cmake-source-file-property-qt-qml-singleton-type.html
cmake-source-file-property-qt-qml-skip-cachegen.html
cmake-source-file-property-qt-qml-skip-qmldir-entry.html
cmake-source-file-property-qt-qml-skip-qmllint.html
cmake-source-file-property-qt-qml-skip-type-compiler.html
cmake-source-file-property-qt-qml-source-typename.html
cmake-source-file-property-qt-qml-source-versions.html
cmake-source-file-property-qt-qmltc-file-basename.html
cmake-variable-qt-qml-generate-aotstats.html
cmake-variable-qt-qml-generate-qmlls-ini-no-cmake-calls.html
cmake-variable-qt-qml-generate-qmlls-ini.html
cmake-variable-qt-qml-no-cachegen.html
cmake-variable-qt-qml-output-directory.html
cmake-variable-qt-qmllint-no-context-property-dump.html
cmake-variables-qtqml.html
images/arrow_bc.png
images/bgrContent.png
images/btn_next.png
images/btn_prev.png
images/bullet_dn.png
images/bullet_sq.png
images/button-types.png
images/cpp-qml-integration-flowchart.png
images/declarative-rect_tint.png
images/documents-definetypes-attributes.png
images/documents-definetypes-simple.png
images/extending-tutorial-chapter1.png
images/extending-tutorial-chapter2.png
images/extending-tutorial-chapter3.png
images/extending-tutorial-chapter5.png
images/home.png
images/ico_out.png
images/logo.png
images/qmlsc-compilation-scheme.png
images/qmltc-compilation-scheme.png
images/qtqml-syntax-basics-object-declaration.png
qjsprimitivenull.html
qjsprimitiveundefined.html
qjsprimitivevalue-members.html
qjsprimitivevalue.html
qjsvalue-qtqml-proxy.html
qml-bool.html
qml-changes-qt6.html
qml-date.html
qml-double.html
qml-easingcurve.html
qml-int.html
qml-list.html
qml-point.html
qml-qtqml-binding-members.html
qml-qtqml-binding.html
qml-qtqml-component-members.html
qml-qtqml-component.html
qml-qtqml-connections-members.html
qml-qtqml-connections.html
qml-qtqml-date.html
qml-qtqml-easing-members.html
qml-qtqml-easing.html
qml-qtqml-locale-members.html
qml-qtqml-locale-obsolete.html
qml-qtqml-locale.html
qml-qtqml-loggingcategory-members.html
qml-qtqml-loggingcategory.html
qml-qtqml-number.html
qml-qtqml-qt-members.html
qml-qtqml-qt-obsolete.html
qml-qtqml-qt.html
qml-qtqml-qtobject-members.html
qml-qtqml-qtobject.html
qml-qtqml-timer-members.html
qml-qtqml-timer.html
qml-qtqml-xmlhttprequest.html
qml-real.html
qml-rect.html
qml-singleton.html
qml-size.html
qml-string.html
qml-url.html
qml-var.html
qml-variant.html
qml-void.html
qmldiskcache.html
qmllint-warnings-and-errors-access-singleton-via-object.html
qmllint-warnings-and-errors-alias-cycle.html
qmllint-warnings-and-errors-assignment-in-condition.html
qmllint-warnings-and-errors-attached-property-reuse.html
qmllint-warnings-and-errors-comma.html
qmllint-warnings-and-errors-component-children-count.html
qmllint-warnings-and-errors-confusing-expression-statement.html
qmllint-warnings-and-errors-confusing-minuses.html
qmllint-warnings-and-errors-confusing-pluses.html
qmllint-warnings-and-errors-context-properties.html
qmllint-warnings-and-errors-deprecated.html
qmllint-warnings-and-errors-duplicate-enum-entries.html
qmllint-warnings-and-errors-duplicate-import.html
qmllint-warnings-and-errors-duplicate-inline-components.html
qmllint-warnings-and-errors-duplicate-property-binding.html
qmllint-warnings-and-errors-duplicated-name.html
qmllint-warnings-and-errors-enum-entry-matches-enum.html
qmllint-warnings-and-errors-enums-are-not-types.html
qmllint-warnings-and-errors-equality-type-coercion.html
qmllint-warnings-and-errors-eval.html
qmllint-warnings-and-errors-function-used-before-declaration.html
qmllint-warnings-and-errors-import-file-selector.html
qmllint-warnings-and-errors-import.html
qmllint-warnings-and-errors-incompatible-type.html
qmllint-warnings-and-errors-inheritance-cycle.html
qmllint-warnings-and-errors-invalid-lint-directive.html
qmllint-warnings-and-errors-literal-constructor.html
qmllint-warnings-and-errors-missing-enum-entry.html
qmllint-warnings-and-errors-missing-property.html
qmllint-warnings-and-errors-missing-type.html
qmllint-warnings-and-errors-multiline-strings.html
qmllint-warnings-and-errors-non-list-property.html
qmllint-warnings-and-errors-non-root-enum.html
qmllint-warnings-and-errors-prefer-non-var-properties.html
qmllint-warnings-and-errors-quick-attached-property-type.html
qmllint-warnings-and-errors-read-only-property.html
qmllint-warnings-and-errors-recursion-depth-errors.html
qmllint-warnings-and-errors-redundant-optional-chaining.html
qmllint-warnings-and-errors-required.html
qmllint-warnings-and-errors-restricted-type.html
qmllint-warnings-and-errors-signal-handler-parameters.html
qmllint-warnings-and-errors-stale-property-read.html
qmllint-warnings-and-errors-syntax-duplicate-ids.html
qmllint-warnings-and-errors-syntax-id-quotation.html
qmllint-warnings-and-errors-syntax.html
qmllint-warnings-and-errors-top-level-component.html
qmllint-warnings-and-errors-uncreatable-type.html
qmllint-warnings-and-errors-unintentional-empty-block.html
qmllint-warnings-and-errors-unqualified.html
qmllint-warnings-and-errors-unreachable-code.html
qmllint-warnings-and-errors-unresolved-alias.html
qmllint-warnings-and-errors-unresolved-type.html
qmllint-warnings-and-errors-unterminated-case.html
qmllint-warnings-and-errors-unused-imports.html
qmllint-warnings-and-errors-use-proper-function.html
qmllint-warnings-and-errors-var-used-before-declaration.html
qmllint-warnings-and-errors-void.html
qmllint-warnings-and-errors-with.html
qmllint-warnings-and-errors.html
qmlreference.html
qqml-h.html
qqmlengine-qtqml-proxy.html
qqmlengineextensionplugin-qtqml-proxy.html
qqmlinfo-qtqml-proxy.html
qqmlintegration-h-obsolete.html
qqmlintegration-h.html
qqmllistproperty-members.html
qqmllistproperty-obsolete.html
qqmllistproperty.html
qt-add-qml-module.html
qt-add-qml-plugin.html
qt-cmake-policy-qtp0001.html
qt-cmake-policy-qtp0004.html
qt-cmake-policy-qtp0005.html
qt-deploy-qml-imports.html
qt-generate-deploy-qml-app-script.html
qt-generate-foreign-qml-types.html
qt-import-qml-plugins.html
qt-query-qml-module.html
qt-target-compile-qml-to-cpp.html
qt-target-qml-sources.html
qt6-modernize-qml-modules.html
qt6-port-to-qt-add-qml-module.html
qtjavascript.html
qtqml-advanced-topics.html
qtqml-attribution-masm.html
qtqml-cmake-integration.html
qtqml-cppclasses-topic.html
qtqml-cppintegration-contextproperties.html
qtqml-cppintegration-data.html
qtqml-cppintegration-definetypes.html
qtqml-cppintegration-exposecppattributes.html
qtqml-cppintegration-exposecppstate.html
qtqml-cppintegration-interactqmlfromcpp.html
qtqml-cppintegration-overview.html
qtqml-documents-definetypes.html
qtqml-documents-networktransparency.html
qtqml-documents-scope.html
qtqml-documents-structure.html
qtqml-documents-topic.html
qtqml-index.html
qtqml-integrating-with-js-values-from-cpp.html
qtqml-javascript-dynamicobjectcreation.html
qtqml-javascript-expressions.html
qtqml-javascript-finetuning.html
qtqml-javascript-functionlist.html
qtqml-javascript-hostenvironment.html
qtqml-javascript-imports.html
qtqml-javascript-memory.html
qtqml-javascript-qmlglobalobject.html
qtqml-javascript-resources.html
qtqml-javascript-topic.html
qtqml-language-topic.html
qtqml-module.html
qtqml-modules-cmake-integration.html
qtqml-modules-cppplugins.html
qtqml-modules-identifiedmodules.html
qtqml-modules-legacymodules.html
qtqml-modules-qmldir.html
qtqml-modules-topic.html
qtqml-prototyping-debugging-profiling.html
qtqml-qml-script-compiler.html
qtqml-qml-type-compiler.html
qtqml-qmlmodule.html
qtqml-qtquick-compiler-tech.html
qtqml-syntax-basics.html
qtqml-syntax-directoryimports.html
qtqml-syntax-imports.html
qtqml-syntax-objectattributes.html
qtqml-syntax-overridesemantics.html
qtqml-syntax-propertybinding.html
qtqml-syntax-signals.html
qtqml-toc.html
qtqml-tool-qmlcachegen.html
qtqml-tooling-qml.html
qtqml-tooling-qmlcontextpropertydump.html
qtqml-tooling-qmlformat.html
qtqml-tooling-qmlimportscanner.html
qtqml-tooling-qmllint.html
qtqml-tooling-qmlls.html
qtqml-tooling-qmlpreview.html
qtqml-tooling-qmlprofiler.html
qtqml-tooling-qmltyperegistrar.html
qtqml-tooling-svgtoqml.html
qtqml-tooling.html
qtqml-tutorials-extending-qml-advanced-example.html
qtqml-tutorials-extending-qml-example.html
qtqml-typesystem-attachedtypes.html
qtqml-typesystem-basictypes.html
qtqml-typesystem-enumerations.html
qtqml-typesystem-namespaces.html
qtqml-typesystem-objecttypes.html
qtqml-typesystem-references.html
qtqml-typesystem-sequencetypes.html
qtqml-typesystem-topic.html
qtqml-typesystem-valuetypes.html
qtqml-writing-a-module.html
qtquick-debugging.html
qtquick-deployment.html
qtquick-profiling.html
qtquick-qml-runtime.html
style/offline-dark.css
style/offline-simple.css
style/offline.css
style/tech_preview.svg