author | eilers <eilers> | 2003-09-22 14:31:15 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-09-22 14:31:15 (UTC) |
commit | 34e86ddf4f9b1045a5b730beab2d8d72e2dd4d56 (patch) (side-by-side diff) | |
tree | cee19bfcf7c8d6a24cd4aaf578bd64b38b2d0ee4 /libopie/libopie.pro | |
parent | fd500184450e37c239e573adf1c12a6ff62b65f6 (diff) | |
download | opie-34e86ddf4f9b1045a5b730beab2d8d72e2dd4d56.zip opie-34e86ddf4f9b1045a5b730beab2d8d72e2dd4d56.tar.gz opie-34e86ddf4f9b1045a5b730beab2d8d72e2dd4d56.tar.bz2 |
Added first experimental incarnation of sql-backend for addressbook.
Some modifications to be able to compile the todo sql-backend.
A lot of changes fill follow...
-rw-r--r-- | libopie/libopie.pro | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/libopie/libopie.pro b/libopie/libopie.pro index 2148233..0398775 100644 --- a/libopie/libopie.pro +++ b/libopie/libopie.pro @@ -21,6 +21,7 @@ HEADERS = ofontmenu.h \ pim/otodoaccessbackend.h \ pim/oconversion.h \ pim/ocontact.h \ + pim/ocontactfields.h \ pim/ocontactaccess.h \ pim/ocontactaccessbackend.h \ pim/ocontactaccessbackend_xml.h \ @@ -65,6 +66,7 @@ SOURCES = ofontmenu.cc \ pim/otodoaccessxml.cpp \ pim/oconversion.cpp \ pim/ocontact.cpp \ + pim/ocontactfields.cpp \ pim/ocontactaccess.cpp \ pim/ocontactaccessbackend_vcard.cpp \ pim/ocontactaccessbackend_xml.cpp \ @@ -91,9 +93,22 @@ TARGET = opie INCLUDEPATH += $(OPIEDIR)/include DESTDIR = $(OPIEDIR)/lib$(PROJMAK) +# The following is just for my Notebook ! +# It should never be committed !! (eilers) +# QMAKE_CXXFLAGS += -DQT_NO_SOUND + LIBS += -lqpe -# LIBS += -lopiesql +# Add SQL-Support if selected by config (eilers) +CONFTEST = $$system( echo $CONFIG_SQL_PIM_BACKEND ) +contains( CONFTEST, y ){ + +DEFINES += __USE_SQL +LIBS += -lopiedb2 -lsqlite +HEADERS += pim/otodoaccesssql.h pim/ocontactaccessbackend_sql.h +SOURCES += pim/otodoaccesssql.cpp pim/ocontactaccessbackend_sql.cpp + +} INTERFACES = otimepickerbase.ui orecurrancebase.ui TARGET = opie |