summaryrefslogtreecommitdiff
path: root/libopie2/examples
Unidiff
Diffstat (limited to 'libopie2/examples') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/examples/examples.pro10
-rw-r--r--libopie2/examples/opiecore/oconfigdemo/oconfigdemo.pro8
-rw-r--r--libopie2/examples/opiecore/odebugdemo/odebugdemo.pro10
-rw-r--r--libopie2/examples/opieui/olistviewdemo/olistviewdemo.pro10
4 files changed, 33 insertions, 5 deletions
diff --git a/libopie2/examples/examples.pro b/libopie2/examples/examples.pro
index c1ed98e..b2d47b0 100644
--- a/libopie2/examples/examples.pro
+++ b/libopie2/examples/examples.pro
@@ -1,4 +1,12 @@
1TEMPLATE = subdirs 1TEMPLATE = subdirs
2unix:SUBDIRS = opieui opienet opiecore opiemm opiedb 2unix:SUBDIRS = opieui opienet opiecore opiemm opiedb
3 3
4#include ( ../../../include.pro ) 4
5!contains( platform, x11 ) {
6 include ( $(OPIEDIR)/include.pro )
7}
8
9contains( platform, x11 ) {
10 LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
11}
12
diff --git a/libopie2/examples/opiecore/oconfigdemo/oconfigdemo.pro b/libopie2/examples/opiecore/oconfigdemo/oconfigdemo.pro
index 0109c57..9b59106 100644
--- a/libopie2/examples/opiecore/oconfigdemo/oconfigdemo.pro
+++ b/libopie2/examples/opiecore/oconfigdemo/oconfigdemo.pro
@@ -10,5 +10,11 @@ TARGET = oconfigdemo
10MOC_DIR = moc 10MOC_DIR = moc
11OBJECTS_DIR = obj 11OBJECTS_DIR = obj
12 12
13include ( $(OPIEDIR)/include.pro ) 13!contains( platform, x11 ) {
14 include ( $(OPIEDIR)/include.pro )
15}
16
17contains( platform, x11 ) {
18 LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
19}
14 20
diff --git a/libopie2/examples/opiecore/odebugdemo/odebugdemo.pro b/libopie2/examples/opiecore/odebugdemo/odebugdemo.pro
index 4cd815f..c52cd02 100644
--- a/libopie2/examples/opiecore/odebugdemo/odebugdemo.pro
+++ b/libopie2/examples/opiecore/odebugdemo/odebugdemo.pro
@@ -7,7 +7,13 @@ DEPENDPATH += $(OPIEDIR)/include
7LIBS += -lopiecore2 7LIBS += -lopiecore2
8TARGET = odebugdemo 8TARGET = odebugdemo
9 9
10include ( $(OPIEDIR)/include.pro )
11
12MOC_DIR = moc 10MOC_DIR = moc
13OBJECTS_DIR = obj 11OBJECTS_DIR = obj
12
13!contains( platform, x11 ) {
14 include ( $(OPIEDIR)/include.pro )
15}
16
17contains( platform, x11 ) {
18 LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
19}
diff --git a/libopie2/examples/opieui/olistviewdemo/olistviewdemo.pro b/libopie2/examples/opieui/olistviewdemo/olistviewdemo.pro
index aabe733..99eb41a 100644
--- a/libopie2/examples/opieui/olistviewdemo/olistviewdemo.pro
+++ b/libopie2/examples/opieui/olistviewdemo/olistviewdemo.pro
@@ -10,6 +10,14 @@ TARGET = olistviewdemo
10MOC_DIR = moc 10MOC_DIR = moc
11OBJECTS_DIR = obj 11OBJECTS_DIR = obj
12 12
13include ( $(OPIEDIR)/include.pro )
14 13
15 14
15
16!contains( platform, x11 ) {
17 include ( $(OPIEDIR)/include.pro )
18}
19
20contains( platform, x11 ) {
21 LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
22}
23