Search code examples
qtimagesourcesquish

imageSource property is unavailable on Squish IDE?


I would like to know if an image is green or red in a button I test with Squish.

My problem is that the imageSource property of my Qt object button is blank in Squish IDE so I don't know if it displays a green image or a red image.

Anyone knows how to fix this ?

It seems that if I don't have this property I can't test the color of my button with Squish since there isn't any other information in my Qt object to find out the color.


Solution

  • I managed to pull it off !

    I looked in SquishIDE and found the image which was in a child object in the Application Objects View. This object was unreachable with the picker, that's why it was hard to find it. Then I just had to access the object with its real name.