aboutsummaryrefslogtreecommitdiff
path: root/examples/examples.pri
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-30 07:33:41 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-30 07:33:41 +0000
commit0f15a205b2ce5c9783d3e4ae9702ec9ce8d9e38a (patch)
treed77691147ed3550b8df0f4daadad8cd268e1e968 /examples/examples.pri
parentd780ffddb360def2f279112f30eec0904ca7780d (diff)
downloadqxmpp-0f15a205b2ce5c9783d3e4ae9702ec9ce8d9e38a.tar.gz
add a comment about how dependency *should* be handled
Diffstat (limited to 'examples/examples.pri')
-rw-r--r--examples/examples.pri5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/examples.pri b/examples/examples.pri
index 0ae5c7c5..df91566e 100644
--- a/examples/examples.pri
+++ b/examples/examples.pri
@@ -9,7 +9,9 @@ CONFIG += console
INCLUDEPATH += $$QXMPP_INCLUDE_DIR
LIBS += -L$$QXMPP_LIBRARY_DIR -l$$QXMPP_LIBRARY_NAME
-# DNS support
+# FIXME: we should be able to use the link_prl option to automatically pull
+# in the extra libraries which the qxmpp library needs, but this does not
+# seem to work on win32, so respecify the dependencies here:
unix {
LIBS += -lresolv
}
@@ -17,7 +19,6 @@ 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