Unsolved How to use ISO image for Custom Components
-
This post is deleted! -
@sush123 said in How to use ISO image for Custom Components:
but it did not show up in GUI
What is format of this image?
Also, you're using a relative path which will only work if working directory is correct. You should use resource file instead (https://doc.qt.io/qt-5/resources.html). -
This post is deleted! -
@sush123 said in How to use ISO image for Custom Components:
Image formar is dat
I never heard about such an image format. Do you have any information about it? What exactly is it?
-
I've never heard of it either but I did find this: https://doc-snapshots.qt.io/qtdesignstudio/qml-qtquick-studio-components-iso.html
-
I have referred this doc https://doc.qt.io/qtcreator/qtquick-iso-icon-browser.html
-
@sush123 This link does not answer my question.
What file format is iso_grs_7000_4_3127.dat?
Is it JPEG, PNG, TIFF, something else?Also did you notice this in your link: "Qt Creator generates a Qt resource file called iso-icons.qrc that adds the icons as a part of your project for delivery with your application."
You do not use the qrc files, instead you're hacking around with relative path... -
This post is deleted! -
@sush123
Hi
../../../../../Op-Gui/iso-icons/iso_grs_7000_4_3127.dat
is not a path into the ressource file
so did you take that file FROM the generated qrc file ?