blob: d323cfab3b595ea934538c91fbdb6cd1801b99d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import org.qtproject.PureJsModule 1.6
import QtQuick 2.0
Item {
property bool test: false
Component.onCompleted: {
test = ((FirstAPI.greeting() == "Good news, everybody!") &&
(FirstAPI.major == 1) &&
(FirstAPI.minor == 6) &&
(SecondAPI.greeting() == "Howdy") &&
(SecondAPI.major == 1) &&
(SecondAPI.minor == 5))
}
}
|