aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/examples.pri12
1 files changed, 1 insertions, 11 deletions
diff --git a/examples/examples.pri b/examples/examples.pri
index 69c7acdc..782ec465 100644
--- a/examples/examples.pri
+++ b/examples/examples.pri
@@ -7,17 +7,7 @@ QT += network xml
CONFIG += console
INCLUDEPATH += $$QXMPP_INCLUDE_DIR
-LIBS += -L$$QXMPP_LIBRARY_DIR -l$$QXMPP_LIBRARY_NAME
-
-# 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 we specify the dependencies here:
-unix {
- LIBS += -lresolv
-}
-win32 {
- LIBS += -ldnsapi
-}
+LIBS += $$QXMPP_LIBS
# 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