projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make sure QML type "real" always maps to C++ type "double"
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
qml
/
qqmlecmascript
/
data
/
realTypePrecision.qml
1
import Qt.test 1.0
2
import QtQuick 2.0
3
4
QtObject {
5
property real test: 1234567890
6
property real test2
7
property real test3
8
property real test4: test3
9
property real test5: func()
10
property real test6: test2 + test3
11
12
signal sig(real arg)
13
14
Component.onCompleted: {
15
test2 = 1234567890;
16
sig(1234567890)
17
}
18
19
onSig: { test3 = arg; }
20
21
function func() { return 1234567890; }
22
}