Advertisement
Guest User

Untitled

a guest
Apr 15th, 2014
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. lea:~% cat test.qml (git)-[master] (W15 - 04/15@18:49:22 CEST)
  2. import QtQuick 2.0
  3.  
  4. Item {
  5. property int myFoo: 5
  6. property int second: myFoo
  7. onSecondChanged: console.log("second: " + second)
  8. }
  9. zsh: exit 0
  10. lea:~% ~/code/qt/qtbase/bin/qmlscene test.qml (git)-[master] (W15 - 04/15@18:49:52 CEST)
  11. qml: second: 5
  12. zsh: exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement