[odb-users] Querying entity's container

Boris Kolpackov boris at codesynthesis.com
Wed Mar 25 09:23:52 EDT 2015


Hi Adnan,

Both issues that you are observing stem from incompatible pointers.
If you make all your objects/view use QSharedPointer (e.g., by
enabling the Qt profile), then you should use QSharedPointer in
relationships (the first issue) or when getting a result from
calls like query_one() (second issue).

Boris



More information about the odb-users mailing list