[odb-users] how to change generated include paths

Diego Fernando lordvampyre at gmail.com
Wed Feb 4 05:28:58 EST 2015

Hi Boris,

Thank you.
I go ask Qt forum...

%./include/entity/(.+)-odb.h%-odb.h%: error: unable to open in read mode

When they answer me I'll put the answer here

2015-02-04 8:19 GMT-02:00 Boris Kolpackov <boris at codesynthesis.com>:

> Hi Diego,
> Diego Fernando <lordvampyre at gmail.com> writes:
> > I just try put in .pro this regex
> > '%./include/entity/(.+)-odb.h%$1-odb.h%'
> >
> > And the compiled returns is
> > /bin/sh: -c: line 0: syntax error near unexpected token `('
> It appears qmake (or whatever is processing .pro files these
> days) strips the quotes ('') from the value. So you will need
> to play a bit with various quoting styles to find a way that
> works. Some candidates to try are:
> "'%./include/entity/(.+)-odb.h%$1-odb.h%'"
> \'%./include/entity/(.+)-odb.h%$1-odb.h%\'
> If you still can't make it work, I suggest that you ask for
> help on the relevant Qt mailing list/forum.
> Boris

More information about the odb-users mailing list