Open the .ui file in a text editor and check what path is there. The safest way is to store icons as resources.
Open the .ui file in a text editor and check what path is there. The safest way is to store icons as resources.
graeme (1st April 2006)
Okay thanks,
I've managed to get it working. For anyone else facing this problem, the ui is created with just the file name, the path is lost, and so it looks for the file from the folder from where you execute the command. This means if you are in the directory where the binary is then the image must be in that directory, however if the command is issued from another directory such as ./../bin/myProg (which was being done for me by my set up in Kdevelop) then the icon needs to be in the pwd (for me the root of my source directory).
The long and the short of it, wait for 4.1.1 to fix the problem.
Once again thank you jacek for providing me with the necessary pointers.
graeme.
Actually, Qt 4.1.2 was released two days agoOriginally Posted by graeme
![]()
Alas it doesn't appear to be fixed in 4.1.2![]()
It's strange, both entries in the task tracker seem to describe the same bug, but one is marked as fixed in 4.1.1, while second --- in 4.1.3. You can always try the latest snapshot.Originally Posted by graeme
Bookmarks