10-16-2013 06:30 AM
Hi, i tried to set an image to an imageview, but got this error. The interesting thing is that there are Images that I added earlier to the project. They work just fine, the problem is with new images.
and i got this error in the log
libpng warning: iCCP: known incorrect sRGB profile "Unable to get asset in (/apps/com.example.ConnecTappTest.testDev_necTappT
est93cfa27a/native/assets/): (/images/help/connecTapp.png)." Image not found: "/images/help/connecTapp.png"
the images are there in the assets folder. And using target file system navigator, i also confirmed that images are there in the device's asset folder too. They are there, they simply won't load. Any suggestions?
Solved! Go to Solution.
10-16-2013 06:45 AM - edited 10-16-2013 06:46 AM
You need to use Image
|Q_SLOT void||setImage (const Image &image)|
or change function and use QUrl
|Q_SLOT void||setImageSource (const QUrl &source)|
10-16-2013 06:46 AM - edited 10-16-2013 06:48 AM
10-18-2013 06:52 AM
Well, I had to solve it out myself. The solution was rather simple. There was an .assets.index file in the assets folder. I deleted and the next time I built, everything was perfect.
10-18-2013 07:08 AM
10-18-2013 07:10 AM
10-18-2013 07:14 AM
10-18-2013 09:12 AM
10-18-2013 09:17 AM