[odb-users] how to change generated include paths
Boris Kolpackov
boris at codesynthesis.com
Wed Feb 4 05:19:38 EST 2015
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