summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/gui.pro
Side-by-side diff
Diffstat (limited to 'noncore/net/wellenreiter/gui/gui.pro') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/gui.pro13
1 files changed, 11 insertions, 2 deletions
diff --git a/noncore/net/wellenreiter/gui/gui.pro b/noncore/net/wellenreiter/gui/gui.pro
index 95e9f22..822b0db 100644
--- a/noncore/net/wellenreiter/gui/gui.pro
+++ b/noncore/net/wellenreiter/gui/gui.pro
@@ -31,10 +31,19 @@ SOURCES = main.cpp \
INCLUDEPATH += $(OPIEDIR)/include ../
DEPENDPATH += $(OPIEDIR)/include ../
-LIBS += -lqpe -lopie -L. -lwellenreiter
+LIBS += -L. -lwellenreiter
INTERFACES = configbase.ui
TARGET = wellenreiter
+!contains( platform, x11 ) {
+ message( qws )
+ include ( $(OPIEDIR)/include.pro )
+ LIBS += -lqpe -lopie
+}
+contains( platform, x11 ) {
+ LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
+ SOURCES += resource.cpp
+ HEADERS += resource.h
+}
-include ( $(OPIEDIR)/include.pro )