summaryrefslogtreecommitdiff
path: root/libopie2
Side-by-side diff
Diffstat (limited to 'libopie2') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/examples/opiedb/sqltest/sqltest.pro10
1 files changed, 7 insertions, 3 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
@@ -8,6 +8,10 @@ LIBS += -lqpe -lopiedb2 -lsqlite
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
+}