Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-89887

Warning of a cyclic dependency where there is none

    XMLWordPrintable

    Details

      Description

      The example code from QTBUG-66976 will warn of cyclic dependencies in singletons even when there are none (i.e. if you comment out the "onCompleted" handler in MyType.qml).

       

      Cyclic dependency detected between "file:///home/max/Downloads/dependencytest/singletons/Singleton1.
      qml" and "file:///home/max/Downloads/dependencytest/singletons/Singleton2.qml"
      
      Cyclic dependency detected between "file:///home/max/Downloads/dependencytest/singletons/Singleton1.
      qml" and "file:///home/max/Downloads/dependencytest/helpers/MyType.qml"
      
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            max.goldstein Maximilian Goldstein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes