Randy Baumgarte wrote:
> I'm new to QT and I'm hoping somebody can help me.  I'm trying to 
> insert binary data into a SQLite database but am running into 
> problems.  It only seems to save the first few characters of the byte 
> array.  I've tried various things but can't seem to get beyond this.  
> I'm sure it is something I'm overlooking but would appreciate any 
> help.  The database field is a BLOB and I've been trying to use a 
> QByteArray.  Is there some special method I need to use to allow it to 
> put the  full binary data into the database?  In my case, I'm trying 
> to save a png image.

Hi, Randy.

Are you using JDBC for this, or the native SQLite driver which is 
bundled with Qt Jambi?

-- Eskil

_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to