QtCreator's Design Tab can't resolve paths for sources
// project/src/modules/Pages/WelcomePage.qml
import QtQuick
import QtQuick.Controls
import Application.Assets
Page {
Image{
anchors.fill: parent
source: "qrc:/qt/qml/Application/Assets/Images/background.png"
fillMode: Image.PreserveAspectFit
}
}
i can ctrl+left_mouse_click to Image:source and able to jump to the image in application.
Runtime can load the image without a problem but the Design tab (probably qmlpuppet) cant display the image. I am using Qt6.12 CMake.
How can i make the Designer's preview also show the image?