Vis doesn't show QML elements of qt4testapp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot Qt Support |
New
|
Undecided
|
Unassigned |
Bug Description
Environment: 14.04 release using the qt4testapp from the libautopilot_qt unit tests.
export QT_SELECT=qt4
/usr/share/
autopilot vis
Using vis I don't see the QDeclarativeItem and the properties set by /usr/share/
When I run a simple test case with a print_tree() and a sleep, vis shows the element while the script is waiting:
mkdir -p autopilot/
touch autopilot/
touch autopilot/
cat <<'EOF' >autopilot/
from autopilot.testcase import AutopilotTestCase
from autopilot.matchers import Eventually
from testtools.matchers import Equals
from time import sleep
class Basic(Autopilot
def test_launch(self):
full_path = '/usr/share/
qml_path = '/usr/share/
app_root = self.launch_
# wait for window to become visible
qml_view = app_root.
# check a property value
test_item = app_root.
# now vis also sees the QML items
sleep(60)
EOF