What I'm seeing here: - the problem appears when cleanupTestCase() tries to destroy the components - cleanupTestCase() destroys Tabs - TabBar is somehow destroyed before its style. - tabsModel in TabBarStyle becomes null because styledItem becomes null - isVisible() in TabBarStyle tries to access tabsModel.count and that triggers the error.
Adding "if (!tabsModel) return false" is enough to fix the test, although I'm not sure that's the way we want to go. We should investigate why that wasn't needed before Qt5.6 and why, for instance, the "selected" property binding (which still relies on tabsModel.count) does not fire any error. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1622577 Title: tst_pagestack_deprecated_toolbar unit test warnings with qt56 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1622577/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs