Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error with xmpp in qt 5.2
Forum Updated to NodeBB v4.3 + New Features

Error with xmpp in qt 5.2

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 527 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • RIVOPICOR Offline
    RIVOPICOR Offline
    RIVOPICO
    wrote on last edited by
    #1

    Hi guys i have problem with xmpp because i cant use in my app. When i included with this:
    LIBS += -lxmpp_d0 , anyways it doesnt work
    The error that i get:
    C:\Users\moh\Downloads\Demonio_3.0_src\Demonio_3.0_src\src\cliente\ventanaescritorio.h:27: error: qxmpp/QXmppClient.h: No such file or directory
    #include <qxmpp/QXmppClient.h>
    ^
    And the libraries that take me this error obviously it is like this:
    #include <qxmpp/QXmppClient.h>
    #include <qxmpp/QXmppTransferManager.h>

    So if you know please help

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You need to specify the path to where that include file is i.e. add in your .pro file:

      INCLUDEPATH += wherever/qxmpp/folder/is
      

      Also, unless you copied lib to the project directory you need to specify the path to that lib too i.e:

      LIBS += -Lwherever/the/lib/folder/is -lxmpp_d0
      

      Last but not least, after you make changes in the .pro file remember to re-run qmake (Build->Run qmake) before you compile your project.

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved