Results 1 to 5 of 5

Thread: problem with Qbluetooth :(

  1. #1
    Join Date
    Mar 2012
    Posts
    19
    Thanks
    15
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi
    Platforms
    Windows Symbian S60

    Unhappy 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
    Qt Code:
    1. #include<Qbluetooth>
    To copy to clipboard, switch view to plain text mode 
    there is an error:
    error: C1083: Cannot open include file: 'Qbluetooth': No such file or directory

    can anybody help me ?
    thanks in advance

  2. #2
    Join Date
    Oct 2011
    Location
    Toronto Canada
    Posts
    97
    Thanks
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default 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

  3. The following user says thank you to prophet0 for this useful post:

    ahmed ali (21st March 2012)

  4. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: problem with Qbluetooth :(

    Quote Originally Posted by ahmed ali View Post
    Qt Code:
    1. #include<Qbluetooth>
    To copy to clipboard, switch view to plain text mode 
    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.

  5. The following user says thank you to ChrisW67 for this useful post:

    ahmed ali (21st March 2012)

  6. #4
    Join Date
    Mar 2012
    Posts
    19
    Thanks
    15
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi
    Platforms
    Windows Symbian S60

    Default Re: problem with Qbluetooth :(

    thanks, but,
    I have tried all guesses but the same error

  7. #5
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default 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.
    Last edited by ChrisW67; 21st March 2012 at 01:57.

  8. The following user says thank you to ChrisW67 for this useful post:

    ahmed ali (22nd March 2012)

Similar Threads

  1. Where is the Qbluetooth file located?
    By nachiket bora in forum Qt Programming
    Replies: 6
    Last Post: 11th April 2011, 09:20
  2. .dll file creation of QBluetooth API
    By dmartino in forum Newbie
    Replies: 1
    Last Post: 3rd February 2011, 17:13

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.