summaryrefslogtreecommitdiff
path: root/libopie2/examples/opiedb/sqltest
Side-by-side diff
Diffstat (limited to 'libopie2/examples/opiedb/sqltest') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/examples/opiedb/sqltest/sqltest.pro22
1 files changed, 13 insertions, 9 deletions
diff --git a/libopie2/examples/opiedb/sqltest/sqltest.pro b/libopie2/examples/opiedb/sqltest/sqltest.pro
index 1922d06..509bd85 100644
--- a/libopie2/examples/opiedb/sqltest/sqltest.pro
+++ b/libopie2/examples/opiedb/sqltest/sqltest.pro
@@ -1,13 +1,17 @@
-TEMPLATE = app
-CONFIG = qt warn_on
-HEADERS =
-SOURCES = main.cpp
+TEMPLATE = app
+CONFIG = qt warn_on
+HEADERS =
+SOURCES = main.cpp
INCLUDEPATH += $(OPIEDIR)/include
-DEPENDPATH += $(OPIEDIR)/include
+DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe -lopiedb2 -lsqlite
-TARGET = sqltest
-
-
-
+TARGET = sqltest
include ( $(OPIEDIR)/include.pro )
+
+!isEmpty( LIBSQLITE_INC_DIR ) {
+ INCLUDEPATH = $$LIBSQLITE_INC_DIR $$INCLUDEPATH
+}
+!isEmpty( LIBSQLITE_LIB_DIR ) {
+ LIBS = -L$$LIBSQLITE_LIB_DIR $$LIBS
+}