aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-08-30 07:04:42 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-08-30 07:04:42 +0000
commitd780ffddb360def2f279112f30eec0904ca7780d (patch)
treebd9b2505371058e00e649e11264e9b2d3e272474 /examples
parent984128065fb2da43eb3a59cc3556531d7a430533 (diff)
downloadqxmpp-d780ffddb360def2f279112f30eec0904ca7780d.tar.gz
linker error
Diffstat (limited to 'examples')
-rw-r--r--examples/examples.pri9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/examples.pri b/examples/examples.pri
index 4ee6b54d..0ae5c7c5 100644
--- a/examples/examples.pri
+++ b/examples/examples.pri
@@ -9,6 +9,15 @@ CONFIG += console
INCLUDEPATH += $$QXMPP_INCLUDE_DIR
LIBS += -L$$QXMPP_LIBRARY_DIR -l$$QXMPP_LIBRARY_NAME
+# DNS support
+unix {
+ LIBS += -lresolv
+}
+win32 {
+ LIBS += -ldnsapi
+}
+
+
# FIXME: we need to express a dependency on the library, but the file name
# depends on the platform and whether the library is static or dynamic
# PRE_TARGETDEPS += $${QXMPP_LIBRARY_DIR}/lib$${QXMPP_LIB}.a