Show images in .qml file that used by .cpp file
-
wrote on 2 Aug 2011, 07:07 last edited by
I just wanna ensure about images file that used in .qml file (this .qml file is used by .cpp file).
I had try use image file that have extension .jpg, but it's not appear in the application. So I changed it to .png and the image appeared.
So, is it right if it's best when we use .png image file in .qml file ? -
wrote on 2 Aug 2011, 07:12 last edited by
That depends on your installation.
AFAIK png support is build in in Qt. for jpg - support you have to use the imageformats plugins. -
wrote on 2 Aug 2011, 07:17 last edited by
How can I get imageformats plugins?
-
wrote on 2 Aug 2011, 07:54 last edited by
Build it yourself. Check out the output of:
@
configure -help
@to see what options the Qt configure tool supports.
2/4