[odb-users] How generate *-odb. files first

Boris Kolpackov boris at codesynthesis.com
Tue Feb 10 12:11:01 EST 2015


Hi Diego,

Diego Fernando <lordvampyre at gmail.com> writes:

> How generate *-odb.* files first in qmake. To compile the project I need
> comment the code in the dao classes that need the -odb files?

The setup described on the Wiki is supposed to achieve exactly that.
That is, if the headers have changed, then the -odb files are
regenerated first before anything else gets compiled. Note though
that they are not regenerated by qmake but rather by the Makefile
that it generates.

http://wiki.codesynthesis.com/Using_ODB_with_Qt_Creator_on_Linux

Boris



More information about the odb-users mailing list