[Qt-interest] Null values for primitive types using QSql....

slayer81 at gmx.de slayer81 at gmx.de
Fri Jul 16 08:32:34 CEST 2010


Hello,

I wonder if there's a way to wrap primitive types like "double" and "int", so that they can hold NULL values. Are there any Qt inbuilt classes yet? Or do we have to use QVariant?

I need this for filling database columns with NULL values using the QSql.... classes.

Thank you for your time,
Paule





More information about the Qt-interest-old mailing list