The Qt Resource System compile error
-
Hello all,
I have a problem when compile rcc file, which contains a unicode file name like this (images.qrc):
<!DOCTYPE RCC><RCC version="1.0">
<qresource prefix="/rcc_images">
<file>Abrams.jpg</file>
<file>Aixenhao.jpg</file>
<file>Alêch xang dri.jpg</file>
</qresource>
</RCC>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?
Please help!
Thank you. -
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?
Regards. -
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.