[odb-users] error adding QString to person example 1.5.0

Boris Kolpackov boris at codesynthesis.com
Mon Aug 1 11:49:08 EDT 2011


Hi Dan,

Dan Coffey <dcoffey at netharmonix.com> writes:

> rdolls.h:22:11: error: unable to map C++ type '::QString' used in data  
> member 'middle_' to a database type

Did you add "--profile qt" to the ODB compiler command line to enable
the Qt profile? See Chapter 16 in the ODB manual for details.

Boris



More information about the odb-users mailing list