aboutsummaryrefslogtreecommitdiff
path: root/examples/example.pri
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-10 16:22:18 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-10 16:22:18 +0000
commit70c376063aa3a30db16facd8c103b2c6ef3b3e36 (patch)
tree5b28dd41176dba2d11eb45c3a6ed84fb7f263498 /examples/example.pri
parent1b16399a98d3f659d349e3e13e12d91dab954a22 (diff)
downloadqxmpp-70c376063aa3a30db16facd8c103b2c6ef3b3e36.tar.gz
rename "example" to "examples"
Diffstat (limited to 'examples/example.pri')
-rw-r--r--examples/example.pri19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/example.pri b/examples/example.pri
new file mode 100644
index 00000000..0875ca16
--- /dev/null
+++ b/examples/example.pri
@@ -0,0 +1,19 @@
+TEMPLATE = app
+
+INCLUDEPATH += ../../source
+
+QT += network xml
+
+CONFIG += console debug_and_release
+
+CONFIG(debug, debug|release) {
+ QXMPP_LIB = qxmpp_d
+ QXMPP_DIR = ../../source/debug
+} else {
+ QXMPP_LIB = qxmpp
+ QXMPP_DIR = ../../source/release
+}
+
+LIBS += -L$$QXMPP_DIR -l$$QXMPP_LIB
+PRE_TARGETDEPS += $${QXMPP_DIR}/lib$${QXMPP_LIB}.a
+