How to open a picture through FileDialog and place it in Image in QML?

    1 answer 1

    ApplicationWindow { Image { id: image1 } FileDialog { id: fileDialog selectMultiple : false onAccepted: { image1.source = fileDialog.fileUrl } Component.onCompleted: visible = true } }