qt.qml.typeresolution.cycle: Cyclic dependency detected between "File:///Cura/resources/qml/Actions.qml" and "file:///Cura/resources/qml/Actions.qml"
Create a different namespace for Actions to import that has the dependencies it needs, but one that Actions isn't already part of.
While this solution works, I don't know what is extra special about Actions.qml that it can't import Cura without "Cyclic dependency detected" and other components like Menus/MaterialMenu.qml which is registered in cura/CuraApplication.py as a part of qmlRegisterType(QUrl.fromLocalFile(path), "Cura", 1, 0, type_name), but it seems to be okay.
Type of change
[X] Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
[X] Verified I no longer get "Cyclic dependency detected" on startup
[X] Verified that Hot keys, such as F5 still triggers the reload all
Description
qt.qml.typeresolution.cycle: Cyclic dependency detected between "File:///Cura/resources/qml/Actions.qml" and "file:///Cura/resources/qml/Actions.qml"
Create a different namespace for Actions to import that has the dependencies it needs, but one that Actions isn't already part of.
While this solution works, I don't know what is extra special about Actions.qml that it can't import Cura without "Cyclic dependency detected" and other components like Menus/MaterialMenu.qml which is registered in cura/CuraApplication.py as a part of
qmlRegisterType(QUrl.fromLocalFile(path), "Cura", 1, 0, type_name)
, but it seems to be okay.Type of change
How Has This Been Tested?
Test Configuration:
Checklist: