From c817abf3b81ca47927433ede1efd9afddfc15a72 Mon Sep 17 00:00:00 2001 From: tille Date: Mon, 25 Aug 2003 12:56:53 +0000 Subject: libopie2 compiles for qt3/x11 now run: qmake "platform=x11" libopie2.pro --- (limited to 'libopie2/opiedb') diff --git a/libopie2/opiedb/opiedb.pro b/libopie2/opiedb/opiedb.pro index 401646a..3612f0e 100644 --- a/libopie2/opiedb/opiedb.pro +++ b/libopie2/opiedb/opiedb.pro @@ -28,5 +28,11 @@ DEPENDPATH += $(OPIEDIR)/include MOC_DIR = moc OBJECTS_DIR = obj -include ( $(OPIEDIR)/include.pro ) +!contains( platform, x11 ) { + include ( $(OPIEDIR)/include.pro ) +} + +contains( platform, x11 ) { + LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib +} diff --git a/libopie2/opiedb/osqlmanager.h b/libopie2/opiedb/osqlmanager.h index b3d8d69..5323b14 100644 --- a/libopie2/opiedb/osqlmanager.h +++ b/libopie2/opiedb/osqlmanager.h @@ -3,9 +3,11 @@ #define OSQL_MANAGER_H #include +#include #include "osqlbackend.h" + /** * OSQLManager is responsible for loading * and unloading, querying different OSQL -- cgit v0.9.0.2