Skip to content
EntityQ961543· pop 16· linked from 84 articles

QML (Qt Meta-object Language) is a user interface markup language. It is a declarative language (similar to CSS and JSON) for designing user interface–centric applications. Inline JavaScript code handles imperative aspects. It is associated with Qt Quick, the UI creation kit originally developed by Nokia within the Qt framework. Qt Quick is used for mobile applications where touch input, fluid animations and user experience are crucial. QML is also used with Qt3D to describe a 3D scene and a "frame graph" rendering methodology. A QML document describes a hierarchical object tree. QML modules s

Key facts

Programming language.name
QML
Programming language.paradigm
Multi-paradigm: declarative, reactive, scripting
Programming language.family
ECMAScript
Programming language.developer
Qt Project
Programming language.latest release version
6.8
Programming language.typing
dynamic, strong
Programming language.influenced by
XAML, JSON, JavaScript, Qt
Programming language.influenced
Qt
File format.name
QML
File format.extension
.qml
File format.developer
Qt Project
File format.genre
Scripting language

via Wikipedia infobox

Wikidata facts

Show 4 more facts
file extension
qml
inception
2009-00-00
software version identifier
2.7
media type
text/vnd.qt.qml
Sources (4)

via Wikidata · CC0

~9 min read

Article

13 sections
Contents
  • Adoption
  • Syntax, semantics
  • Basic syntax
  • Property bindings
  • States
  • Animation
  • Qt/C++ integration
  • Familiar concepts
  • Signal handlers
  • Development tools
  • References
  • External links
  • How-tos

QML (Qt Meta-object Language) is a user interface markup language. It is a declarative language (similar to CSS and JSON) for designing user interface–centric applications. Inline JavaScript code handles imperative aspects. It is associated with Qt Quick, the UI creation kit originally developed by Nokia within the Qt framework. Qt Quick is used for mobile applications where touch input, fluid animations and user experience are crucial. QML is also used with Qt3D to describe a 3D scene and a "frame graph" rendering methodology. A QML document describes a hierarchical object tree. QML modules shipped with Qt include primitive graphical building blocks (e.g., Rectangle, Image), modeling components (e.g., FolderListModel, XmlListModel), behavioral components (e.g., TapHandler, DragHandler, State, Transition, Animation), and more complex controls (e.g., Button, Slider, Drawer, Menu). These elements can be combined to build components ranging in complexity from simple buttons and sliders, to complete internet-enabled programs.

QML elements can be augmented by standard JavaScript both inline and via included .js files. Elements can also be seamlessly integrated and extended by C++ components using the Qt framework.

Connections

Categories