[odb-users] Qt BLOB Support
Pascal Stoll
past0004 at stud.fh-kl.de
Tue Oct 25 06:36:06 EDT 2011
Oh i saw one main difference. Do i have to use all the QSharedPointers/qt lazy pointer? I was using the boost ones. Could that be the problem?
Best regards
________________________________________
Von: Boris Kolpackov [boris at codesynthesis.com]
Gesendet: Montag, 24. Oktober 2011 21:57
Bis: Pascal Stoll
Cc: odb-users at codesynthesis.com
Betreff: Re: [odb-users] Qt BLOB Support
Hi Pascal,
Pascal Stoll <past0004 at stud.fh-kl.de> writes:
> i have a problem with the BLOB support of QByteArray. I've created a
> Pixmap, convert it to an a QbByteArray and add it to my database. Everything
> works fine until this point. The BLOB is not empty. But when i try to get
> the information out of the database (via the getter) the QByteArray is
> always empty.
I am not sure what it could be. We have a test in odb-tests which
checks QByteArray and everything works fine for all the supported
databases, as far as we can see.
There is also the qt example in the odb-examples package which also
uses QByteArray to store binary information. You may want to check
it to see whether it works for you or if you are doing something
different.
Finally, if none of the above help, I can take a look at this if you
can send me a small test case that reproduces the problem.
Boris
More information about the odb-users
mailing list