title: How to find the source of a recursive rearrange in QML
body: <p>I updated my QML application from Qt 5.12 to Qt 5.15.</p>
  <p>My application loads its qml sources using the following code:</p>
  <pre><code>auto* engine = new QQmlApplicationEngine(this);
  ...
  engine-&gt;load(QUrl(&quot;qrc:/main.qml&quot;));
  </code></pre>
  <p>When <code>engine-&gt;load</code> is called, I now get the following warning, which was not there with Qt 5.12:</p>
  <blockquote>
  <p>Qt Quick Layouts: Detected recursive rearrange. Aborting after two
  iterations.</p>
  </blockquote>
  <p>How can I find the source of this warning so I can fix my code?</p>
  <p>Edit:</p>
  <p>After two downvotes, I would like to clarify the intent of my question.</p>
  <p>I have a very large application which is loading a big tree of qml files, with main.qml being the main Window. The warning that I posted comes from the Application output pane, without any hint to a source file location that caused the warning.</p>
  <p>I am looking for a way to find the source file location that caused this kind of warning. I believe it is reasonable to ask how to achieve that, and I believe that this is a generic problem that will come up for many people who update their qml code to Qt 5.15. It's in the nature of such a issue that a self-contained example (like asked for in the comments) cannot be provided.</p>