problem with Qbluetooth :(
Hello Everybody :)
i am using Qt to make a project that connects to another device using bluetooth to exchange data between, but when i use
Code:
#include<Qbluetooth>
there is an error:
error: C1083: Cannot open include file: 'Qbluetooth': No such file or directory
can anybody help me ?
thanks in advance
Re: problem with Qbluetooth :(
Here is a link that may solve your solution
http://qt-project.org/forums/viewthread/12385
make sure your adding the right information to your .pro file
Re: problem with Qbluetooth :(
Quote:
Originally Posted by
ahmed ali
Code:
#include<Qbluetooth>
there is an error:
error: C1083: Cannot open include file: 'Qbluetooth': No such file or directory
My guess is that the file is called QBluetooth not Qbluetooth.
You may also need to do something with the macros:
- QTM_BEGIN_NAMESPACE
- QTM_END_NAMESPACE
- QTM_USE_NAMESPACE
if the examples are anything to go by.
Re: problem with Qbluetooth :(
thanks, but,
I have tried all guesses but the same error
Re: problem with Qbluetooth :(
You do have Qt Mobility installed, don't you?
Have you added the necessary references to Qt Mobility into your pro file?
Can you build the examples that come with Qt Mobility?
Do the headers in you source look like those in the examples? There is no "QBluetooth" or "Qbluetooth" in my copy of the source or examples.