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/opiemm') diff --git a/libopie2/opiemm/opiemm.pro b/libopie2/opiemm/opiemm.pro index 8e5eeb4..d3ce8f7 100644 --- a/libopie2/opiemm/opiemm.pro +++ b/libopie2/opiemm/opiemm.pro @@ -12,5 +12,11 @@ LIBS += 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/opiemm/osoundsystem.cpp b/libopie2/opiemm/osoundsystem.cpp index fd23bea..d857659 100644 --- a/libopie2/opiemm/osoundsystem.cpp +++ b/libopie2/opiemm/osoundsystem.cpp @@ -39,6 +39,7 @@ #include #include +#include /*====================================================================================== * OSoundSystem -- cgit v0.9.0.2