The Qt Resource System compile error
I have a problem when compile rcc file, which contains a unicode file name like this (images.qrc):
<!DOCTYPE RCC><RCC version="1.0">
<file>Alêch xang dri.jpg</file>
when i run compile command:
C:\Qt\4.8.1\bin\rcc.exe -binary images.qrc -o images.rcc
it says that:
"RCC: Error in 'images.qrc': Cannot find file 'Al∩┐╜ch xang dri.jpg'"
Any one knows this error? How to compile with unicode file name in qrc file?
Try to change the image name removing the spaces of image name. Take out special characters too.
Thank you for your solution, guidupas. Of course, it works. My problem is that I have a lot of image files named as unicode like I mentioned above, and I don't want to change all of them to ansi characters. Is there QT a solution for RCC to compile Unicode file name?
I think that if that really does not work, it might be a good idea to file a bug report. UTF-8 is a standard, used by Qt and others everywhere, and UTF filenames should work.
It really doesn't work, the file name is UTF-8. I haven't tested on the latest RCC version. Any one know whether the latest RCC version work with UTF filenames?