Comments (6)
You probably need to add includes pointing to the location of your QXmpp headers:Something like this:
INCLUDEPATH += H:\chatProject\src\base
INCLUDEPATH += H:\chatProject\src\client
from qxmpp.
I did that but now im having this error;
"C:\Users\User\Documents\QT\XmppClient\base\qdnslookup_symbian.cpp:48: error: C1083: Cannot open include file: 'dns_qry.h': No such file or directory"
"C:\Users\User\Documents\QT\XmppClient\base\qdnslookup_unix.cpp:50: error: C1083: Cannot open include file: 'netinet/in.h': No such file or directory"
from qxmpp.
You need to tell your compiler where to find those files such as dns_qry.h . Try searching your file system for dns_qry.h and just add the location of those files using another INCLUDEPATH statement in your .pro file.
from qxmpp.
I can't find it in my system :/
from qxmpp.
looking at the QXmpp sources these files are included from here:
else:symbian:SOURCES += base/qdnslookup_symbian.cpp
else:unix:SOURCES += base/qdnslookup_unix.cpp
in the base.pri file. A silly question: how did you use QXmpp in your application.Personally I first compile QXmpp for my target platform( have tested already on Desktop( mingw /msvc) and android,and then load the generated libraries in my projects through the LIB statement in my .pro file.Are you doing the same?
from qxmpp.
I just deleted the qdnslookup_symbian.cpp and compiled on a ubuntu machine and now i dont have any errors. I tried adding the library using the LIB statement but it didnt find the headers anyway. So I just putted all the files in my src folder.
from qxmpp.
Related Issues (20)
- Client: Constructor for creating empty client without extension
- ClientExtension: Add register() + unregister() functions
- Dynamic registration of XML extensions
- SCRAM-SHA-1-PLUS + SCRAM-SHA-256-PLUS + SCRAM-SHA-512-PLUS + SCRAM-SHA3-512-PLUS supports HOT 1
- Humongous amount of data sent upon each encrypted message HOT 1
- RFC 9266: Channel Bindings for TLS 1.3 support HOT 1
- Memory leak in OmemoManager
- SASL 2
- Undefined reference when trying to compile HOT 1
- Failed to execute cmake HOT 5
- XEP-0386: Bind 2
- Where is this library used HOT 1
- QXmpp 1.7 HOT 2
- XEP-0484: Fast Authentication Streamlining Tokens HOT 1
- Support Qt4 to improve cross-platform compatibility HOT 8
- Trying to send encrypted file to contact not handling omemo2 crash QXmpp
- Build error on Qt 5.15.2 HOT 2
- Building with GStreamer undefined symbol errors HOT 2
- Compilation error(s) on Windows
- OMEMO - Timing Side-Channel in HMAC Comparison HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qxmpp.