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. Qt bluetooth for Windows 7
Qt 6.11 is out! See what's new in the release blog

Qt bluetooth for Windows 7

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 4 Posters 2.4k Views 1 Watching
  • 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.
  • _ Offline
    _ Offline
    _Dron_
    wrote on last edited by
    #1

    Hello,
    I have got a device with bluetooth 4.0 in it and a laptop (Windows 7) with builtin bluetooth module. I want to write a small program for communication with this device. How can I do it with Qt?
    I read that Qt Bluetooth module doesn't support Windows 7 (why?...). Is there any walkaround?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kuzulis
      Qt Champions 2020
      wrote on last edited by kuzulis
      #2
      1. Bluetooth 4.0, aka BLE, is supported from windows 8 and newer.
      2. Official Qt does not supported BLE on Windows, except WinRT (win10 AFAIK).
      3. QtConnectivity module has 'additional' wip/win branch which support BLE (bluetooth 4.0) with win32 API.

      So, summary: If you want BLE support, you should to have the Windows >= 8..x, and a himself to compile and install the wip/win branch of QtConnectivity module. Or, maybe, to use Qt for WinRT, but I don't know how it work.

      1 Reply Last reply
      2
      • Gojir4G Offline
        Gojir4G Offline
        Gojir4
        wrote on last edited by
        #3

        You can maybe communicate with your Bluetooth device configured as a virtual serial port. Actually this is what I'm doing with a BLE dongle, but the target device is Bluetooth 3.0 (or even 2.0). So I don't know if it could work in your case.
        But this is only for raw serial communication and you will lose the BLE layer (Services, Characteristics, Descriptors, etc...).

        1 Reply Last reply
        1
        • _ Offline
          _ Offline
          _Dron_
          wrote on last edited by
          #4

          Hello,
          I downloaded folder win/win from http://code.qt.io/cgit/qt/qtconnectivity.git.
          In QtCreator opened file qtconnectivity.pro. Tried to compile it - got error: "[sub-bluetooth-qmake_all] Error 3".
          Now what should I do with it?

          mrjjM 1 Reply Last reply
          0
          • _ _Dron_

            Hello,
            I downloaded folder win/win from http://code.qt.io/cgit/qt/qtconnectivity.git.
            In QtCreator opened file qtconnectivity.pro. Tried to compile it - got error: "[sub-bluetooth-qmake_all] Error 3".
            Now what should I do with it?

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @_Dron_
            I don't think it can work on win 7 at all.
            As far as i know its win8/10 only.
            Since microsoft first added BLE stack to win 8.
            So while its possible to add 3rd party drivers to win 7 and an BLE device , as far as i know there is
            no generic BLE support and hence i have doubts it can work.

            Hopefully someone proves me wrong :)

            1 Reply Last reply
            1

            • Login

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