Present Qt (with QML and JavaScript) as a good solution to develop cross-platform (desktop, embedded, and mobile) applications.
Traditional way to develop GUIs on the Desktop in C++
QML Language
“QML is a declarative language designed to describe the user interface of a program: both what it looks like, and how it behaves. In QML, a user interface is specified as a tree of objects with properties.”
Basic QML syntax
import QtQuick 1.1
Rectangle {
width: 200
height: 200
color: "lightgrey"
Image {
source: "pics/logo.png"
anchors.centerIn: parent
}
}
Expressions and property bindings
Item {
width: 100 * 3
height: 50 + 22
Rectangle {
width: parent.width - 50
height: 100
color: "yellow"
}
}
Signal Handlers
Item {
width: 100; height: 100
MouseArea {
anchors.fill: parent
onClicked: {
console.log("mouse button clicked")
}
}
}
“PhantomJS is a headless WebKit scriptable with a JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.”