xmpp error
Unsolved
General and Desktop
-
I get this error i included library:
error: qxmpp/QXmppClient.h: No such file or directory
Picture of error:
https://postimg.org/image/axb3mfqwt/ -
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.