Quote Originally Posted by jacek View Post
Are talking here about binary .rcc file or a .cpp file generated by rcc? Anyway, you can ask Qt to compress the resource file --- it should reduce the size of SVG files.
hm... i looked at the cpp, sry, the binary that comes out is much smaller.
Quote Originally Posted by jacek View Post
Not QVariant, but SQLite. It supports only text, so Qt will have to encode the data somehow. Try adding the same files to the database and compare the size of .rcc file and the database.
So, is there a documentation about that? AFAIR, base64 would make the files 1.33 times larger
Quote Originally Posted by jacek View Post
Yes, only Qt knows how to read .rcc files. Another solution is to use some 3rd party library for storing those files or you can keep them as regular files.
no, i mean the data in the database... but that would be no big deal to write a simple program that reads one file and outputs the original jpg.