aboutsummaryrefslogtreecommitdiff
path: root/examples/example.pri
diff options
context:
space:
mode:
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
+