I am using Qt 5.4 and Qt Creator 3.3.2.
Downloading various images, depending on the current OS, can be done using
Image {source: "logo.png" }
and following resources
logo.png
+windows/logo.png
+android/logo.png
+ios/logo.png
If I understand the documentation correctly, adding
+ios/logo.png
+ios/logo@2x.png
+ios/logo@3x.png
on iOS, select different images based on the density of the device.
Can I use a similar mechanism to load different images for different Android tags (ldpi, mdpi, hdpi, xhdpi, ...). If so, what should the directory structure look like?
source
share