From 42a45c8f42888ab6138c45e3b2cbfec50edf6d03 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Fri, 25 Mar 2011 17:48:23 +0200 Subject: Add Qt example boilerplate code --- qt/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qt/makefile') 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) -- cgit v1.1