Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.1.1
-
None
-
- QtCreator 2.8.1 based on Qt 5.1.1 (MSVC 2010, 32 bit)
- Windows 8, 64 bit
- Qt SDK installed from http://qt-project.org/downloads: Qt 5.1.1 for Windows 64-bit (VS 2012, 525 MB) / qt-windows-opensource-5.1.1-msvc2012-x86_64-offline.exe
- Qt Quick 2 Application (Built in Types)
Description
import QtQuick 2.1
Column {
anchors.fill: parent
Rectangle {
color: "#ffeeee"
height: parent.height / 2
anchors.left: parent.left
anchors.right: parent.right
Text
{ anchors.centerIn: parent font.pixelSize: 16 text: "update()" } MouseArea {
anchors.fill: parent
onClicked:
}
}
Rectangle {
color: "#eeffee"
height: parent.height / 2
anchors.left: parent.left
anchors.right: parent.right
Text
{ anchors.centerIn: parent font.pixelSize: 16 text: "updateBla()" } MouseArea {
anchors.fill: parent
onClicked:
}
}
function updateBla()
{ console.log("WORKS!"); }function update()
{ console.log("KABOOM!"); }}