-rw-r--r-- | examples/opiebluez/obluezdemo/obluezdemo.pro | 4 | ||||
-rw-r--r-- | examples/opiebluez/oblueztest/main.cpp | 2 | ||||
-rw-r--r-- | examples/opiebluez/oblueztest/oblueztest.pro | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/examples/opiebluez/obluezdemo/obluezdemo.pro b/examples/opiebluez/obluezdemo/obluezdemo.pro index cea0fcc..b173dbc 100644 --- a/examples/opiebluez/obluezdemo/obluezdemo.pro +++ b/examples/opiebluez/obluezdemo/obluezdemo.pro @@ -1,16 +1,16 @@ TEMPLATE = app CONFIG = qt warn_on HEADERS = main.h SOURCES = main.cpp INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += $(OPIEDIR)/include -LIBS += -lopiecore2 -lopieshower2 -TARGET = oshowerdemo +LIBS += -lopiecore2 -lopiebluez2 +TARGET = obluezdemo !contains( platform, x11 ) { include( $(OPIEDIR)/include.pro ) } contains( platform, x11 ) { LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib } diff --git a/examples/opiebluez/oblueztest/main.cpp b/examples/opiebluez/oblueztest/main.cpp index a9fa3f6..2e66d9a 100644 --- a/examples/opiebluez/oblueztest/main.cpp +++ b/examples/opiebluez/oblueztest/main.cpp @@ -1,20 +1,20 @@ #include <opie2/odebug.h> #include <opie2/obluetooth.h> using namespace Opie::Core; -using namespace Opie::Shower; +using namespace Opie::Bluez; int main( int argc, char** argv ) { OBluetooth* sys = OBluetooth::instance(); OBluetooth::InterfaceIterator it = sys->iterator(); while( it.current() ) { odebug << "APP: Bluetooth host controller interface '" << it.current()->name() << "' has MAC '" << it.current()->macAddress() << "'" << oendl; ++it; } return 0; } diff --git a/examples/opiebluez/oblueztest/oblueztest.pro b/examples/opiebluez/oblueztest/oblueztest.pro index 4439949..7fe0c18 100644 --- a/examples/opiebluez/oblueztest/oblueztest.pro +++ b/examples/opiebluez/oblueztest/oblueztest.pro @@ -1,17 +1,17 @@ TEMPLATE = app CONFIG = qt warn_on HEADERS = main.h SOURCES = main.cpp INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += $(OPIEDIR)/include -LIBS += -lopiecore2 -lopieshower2 -TARGET = oshowertest +LIBS += -lopiecore2 -lopiebluez2 +TARGET = oblueztest !contains( platform, x11 ) { include( $(OPIEDIR)/include.pro ) } contains( platform, x11 ) { LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib } |