One minor correction, the import commands should say MyItem, not KItem.
I adjusted the code below accordingly.
I am trying to figure out why my class which inherits from QQuickItem won't
allow display of other embedded elements in my QML documents.
- VStevenP
--
The following QML document results in the display of the png:
import QtQuick 2.0
import MyItem 1.0
Item{
Image{
source:"knob.png"
}
}
The following QML document results in the png NOT being displayed:
import QtQuick 2.0
import MyItem 1.0
MyItem{
Image{
source:"knob.png"
}
}
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest