Anurag Shukla
A man who never makes mistake is the man who never does anything! Theodre Rosvelt!
Last edited by ashukla; 21st January 2008 at 09:12. Reason: mispelling
Anurag Shukla
A man who never makes mistake is the man who never does anything! Theodre Rosvelt!
No, unfortunately I haven't checked it with different processors yet. Actually I have only my laptop here at my disposal and my desktop-pc is about 5000 km away from here and this will stay this way for a few further weeks. It would be nice if someone could test this or tell me/us if the incompatibility is indeed the case amongs different architectures.
I tried just now on my machines: An intel core 2 duo equipped with win vista x64, using Qt-4.3.3 compiled with MSVC 2008 express (x86), and an UltraSparc5, using linux (but userland 32bit), using Qt-4.3.3 compiled with gcc-4.1.2.
A .rcc file created on linux that contains a txt file and a png image works flawlessy on windows. I managed to load .rcc, and display text and image.
A .rcc file created on windows that contains an utf8 txt file works on linux. I guess should work also with not unicode txt files, but I didn't get to display non ascii characters that way.
I can't show images on sparc, because I got no X server on it.
It looks like that .rcc files are platform independent (at least when contains unicode text).
Sounds great! I will write some simple theme-manager based on .rcc files for testing purposes then to see if any other issues show up.
Thank you very much.
rcc embeds files into the code. As long as the files are portable, then there should be no problem.
momesana (30th January 2008)
Yes! The problem which I am discussed earlier. You must create a unicode mechanism for representation of character as well as for image to store as binaries. Thanks Qt! which has consider the problem & given its solution. But we have to make a bit more attention when saving a file or opening a file on different platform.
Anurag Shukla
A man who never makes mistake is the man who never does anything! Theodre Rosvelt!
Bookmarks