[odb-users] First project: can't find QtCore/QString on OSX

Adnan RIHAN adnan at rihan.fr
Sun Jun 8 20:59:48 EDT 2014

Hi there,
It’s the first time I’m using ODB, and while reading the documentation, I wanted to add it on an existing project.

Here is my command line:
> odb -d sqlite -p qt --generate-query Category.hpp

The error is:
> In file included from <odb-prologue-2>:1:0:
> /Users/Max13/Dev/System/ODB/Compiler/odb-2.3.0-i686-macosx/lib/odb/i686-apple-darwin8/lib/gcc/../../include/odb/qt/basic/sqlite/default-mapping.hxx:8:26: fatal error: QtCore/QString: No such file or directory
> compilation terminated.

So I’ve tried many combinations, including: http://codesynthesis.com/pipermail/odb-users/2014-May/001862.html, adding -I to the lib dir or to the Headers’ framework dir, but nothing is working, QtCore/QString isn’t found.

What am I missing ?
Cordialement, Adnan RIHAN.
GPG: 0x2FBD3D25

More information about the odb-users mailing list