Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. xmpp error
QtWS25 Last Chance

xmpp error

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 663 Views
  • 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

    I get this error i included library:
    error: qxmpp/QXmppClient.h: No such file or directory
    Picture of error:
    https://postimg.org/image/axb3mfqwt/

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by VRonin
      #2

      referring to the readme here: https://github.com/qxmpp-project/qxmpp

      you need to add to your .pro file

      INCLUDES += PREFIX/include
      LIBS += PREFIX/lib
      

      PREFIX is just a placeholder for the prefix you used when you installed QXmpp

      http://doc.qt.io/qtcreator/creator-project-qmake-libraries.html

      also please take note of this line in the documentation:

      To link against the shared version of QXmpp, you need to add -DQXMPP_SHARED to your C++ flags.
      

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      2
      • RIVOPICOR Offline
        RIVOPICOR Offline
        RIVOPICO
        wrote on last edited by
        #3

        yes i solved including the path of the directory of my sources

        1 Reply Last reply
        0

        • Login

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