author | tille <tille> | 2003-09-02 15:38:07 (UTC) |
---|---|---|
committer | tille <tille> | 2003-09-02 15:38:07 (UTC) |
commit | e87caebc920ad256d210eeb31aeb134318f0c104 (patch) (unidiff) | |
tree | 2776167f9277b41cb03d4afbb5626ccb6a88b8ea /libopie2/examples | |
parent | aa1be5c49b77368999f068222f5f4e1f0d1ace0d (diff) | |
download | opie-e87caebc920ad256d210eeb31aeb134318f0c104.zip opie-e87caebc920ad256d210eeb31aeb134318f0c104.tar.gz opie-e87caebc920ad256d210eeb31aeb134318f0c104.tar.bz2 |
this should make oapplication compile (and run) for qt3/x11
-rw-r--r-- | libopie2/examples/examples.pro | 10 | ||||
-rw-r--r-- | libopie2/examples/opiecore/oconfigdemo/oconfigdemo.pro | 6 | ||||
-rw-r--r-- | libopie2/examples/opiecore/odebugdemo/odebugdemo.pro | 10 | ||||
-rw-r--r-- | libopie2/examples/opieui/olistviewdemo/olistviewdemo.pro | 8 |
4 files changed, 31 insertions, 3 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 | |||
@@ -3,2 +3,10 @@ unix:SUBDIRS = opieui opienet opiecore opiemm opiedb | |||
3 | 3 | ||
4 | #include ( ../../../include.pro ) | 4 | |
5 | !contains( platform, x11 ) { | ||
6 | include ( $(OPIEDIR)/include.pro ) | ||
7 | } | ||
8 | |||
9 | contains( 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 | |||
@@ -12,3 +12,9 @@ OBJECTS_DIR = obj | |||
12 | 12 | ||
13 | !contains( platform, x11 ) { | ||
13 | include ( $(OPIEDIR)/include.pro ) | 14 | include ( $(OPIEDIR)/include.pro ) |
15 | } | ||
16 | |||
17 | contains( 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 | |||
@@ -9,5 +9,11 @@ TARGET = odebugdemo | |||
9 | 9 | ||
10 | include ( $(OPIEDIR)/include.pro ) | ||
11 | |||
12 | MOC_DIR = moc | 10 | MOC_DIR = moc |
13 | OBJECTS_DIR = obj | 11 | OBJECTS_DIR = obj |
12 | |||
13 | !contains( platform, x11 ) { | ||
14 | include ( $(OPIEDIR)/include.pro ) | ||
15 | } | ||
16 | |||
17 | contains( 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 | |||
@@ -12,4 +12,12 @@ OBJECTS_DIR = obj | |||
12 | 12 | ||
13 | |||
14 | |||
15 | |||
16 | !contains( platform, x11 ) { | ||
13 | include ( $(OPIEDIR)/include.pro ) | 17 | include ( $(OPIEDIR)/include.pro ) |
18 | } | ||
14 | 19 | ||
20 | contains( platform, x11 ) { | ||
21 | LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib | ||
22 | } | ||
15 | 23 | ||