Fix bug 926 - "qmlRegisterType does not work with QObject"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
This commit is contained in:
parent
b6e0977d86
commit
0a41e336ba
7 changed files with 119 additions and 32 deletions
17
tests/QtDeclarative/bug_926.qml
Normal file
17
tests/QtDeclarative/bug_926.qml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import Qt 4.7
|
||||
import Example 1.0
|
||||
|
||||
Rectangle {
|
||||
width: 100
|
||||
height: 62
|
||||
|
||||
MyClass {
|
||||
id: myClass
|
||||
urla: "http://www.pyside.org"
|
||||
}
|
||||
|
||||
Text {
|
||||
id: name
|
||||
text: myClass.urla
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue