Congratulations to our 2022 Qt Champions!

Problem with ListView

  • I have a problem with the List view. When I add my header to ListView and when debugging write: QML PageHeaderView: Possible anchor loop detected on vertical anchor.

    PageHeaderView is my module that I created. What could be wrong?

  • QML loops happens when one object depends on second and that second depends on first. I believe situation might happen with more components - it is problem if dependency loop happens. Therefore it looks like problem is in your PageHeaderView and has nothing to do with ListView most probably.

    It is hard to comment without seing actual code.

Log in to reply