How to add an image to your QT Quick Application | QT6 | QT Creator 10.0.0

preview_player
Показать описание
This video is a tutorial to help you with adding images to you QT Quick application build on QT6 using QT Creator. Hope this helps.
Have a nice day !
-----------------
Code used
----------------
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)

#qt
#qt6
#qt creator
#image
#Qt_quick
#QtQML
#tutorial
#educational
Рекомендации по теме
Комментарии
Автор

Very helpful!, in fact, this is the only help I've been able to find on the subject of adding an image to my project, far short of asking on the QT forum. Thanks again!

quanchyplimp
Автор

The more I'm working with Qt, the more I feel grateful to JS gods to make their language bearable and easy-to-use for beginners.
Thanks for this tutorial brother, I'm finally free from suffering.

ArnavJha-il
Автор

I followed the tutorial and the image display correctly in the executable program but, for some reason, it do not display in the designer mode. If I change the qml image source attribute removing "qrc:/" before the file name the behaviour became the opposite: the image display in the editor but not in the executable

PaoloGuasti