Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
QDS 4.3
-
None
Description
The attached project has a custom Loader called ScreenLoader, which is located in the folder one level below the main project.
(Not sure if this is particular for MCU projects. The attached project is an MCU project. I didn't have enough time to check if this also happens for the big Qt project)
ScreenLoader is used to load Loaded.qml located at the same level folder in Screen01.ui.qml. 2D Form View shows the preview correctly as the Loaded.qml's path is resolved relative to Screen01.ui.qml.
However, when the LivePreview is launched, the screen is not properly rendered. This is because the path of source of ScreenLoader is resolved relative to ScreenLoader.qml this time.
To prove this, I can change the path to source in Screen01.ui.qml. This time, 2D form view doesn't display correctly whereas LivePreview does.