aboutsummaryrefslogtreecommitdiff
path: root/qt/makefile
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-03-25 17:48:23 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-04-22 17:54:50 +0200
commit42a45c8f42888ab6138c45e3b2cbfec50edf6d03 (patch)
tree9ae39bb2552ae26d96837033f6ac205dc236a11c /qt/makefile
parent8e29be9f2229a6c618f95b725502f7082f02d50a (diff)
Add Qt example boilerplate code
Diffstat (limited to 'qt/makefile')
-rw-r--r--qt/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt/makefile b/qt/makefile
index 17e9290..a47858d 100644
--- a/qt/makefile
+++ b/qt/makefile
@@ -6,7 +6,7 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make
cxx_tun := driver.cxx
-odb_hdr := employee.hxx
+odb_hdr := person.hxx
cxx_obj := $(addprefix $(out_base)/,$(cxx_tun:.cxx=.o) $(odb_hdr:.hxx=-odb.o))
cxx_od := $(cxx_obj:.o=.o.d)
@@ -59,7 +59,7 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database $(db_id) \
+$(gen) $(dist): export odb_options += --database $(db_id) --profile qt \
--generate-query --generate-schema
$(gen): cpp_options := -I$(out_base)
$(gen): $(odb.l.cpp-options) $(odb_qt.l.cpp-options) $(qt.l.cpp-options)