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. Can't find classes of Qtbluetooth

Can't find classes of Qtbluetooth

Scheduled Pinned Locked Moved Solved General and Desktop
10 Posts 4 Posters 569 Views
  • 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.
  • U Offline
    U Offline
    user7699
    wrote on last edited by
    #1

    Hello.
    I can not find any Bluetooth classes in Qt Creator.

    I want to connect to non pair remote ble devices as a client (central device, laptop Windows 10). Seems there is such API here: https://doc.qt.io/qt-5/qtbluetooth-module.html , but I can not find it in my Qt creator. I was download it yestarday by dint of online installator from official Qt page. Did I do something wrong?
    Is it possible to download just Qtbluetooth library, not the all librarys?

    sierdzioS 1 Reply Last reply
    0
    • U user7699

      Hello.
      I can not find any Bluetooth classes in Qt Creator.

      I want to connect to non pair remote ble devices as a client (central device, laptop Windows 10). Seems there is such API here: https://doc.qt.io/qt-5/qtbluetooth-module.html , but I can not find it in my Qt creator. I was download it yestarday by dint of online installator from official Qt page. Did I do something wrong?
      Is it possible to download just Qtbluetooth library, not the all librarys?

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @user7699 said in Can't find classes of Qtbluetooth:

      Hello.
      I can not find any Bluetooth classes in Qt Creator.

      I want to connect to non pair remote ble devices as a client (central device, laptop Windows 10). Seems there is such API here: https://doc.qt.io/qt-5/qtbluetooth-module.html , but I can not find it in my Qt creator. I was download it yestarday by dint of online installator from official Qt page. Did I do something wrong?

      That's the correct way to get it. QtBluetooth is included in default installation of any Qt version.

      Is it possible to download just Qtbluetooth library, not the all librarys?

      No, you need QtCore at the minimum. QtBluetooth will not work without the rest of Qt.

      (Z(:^

      1 Reply Last reply
      1
      • U Offline
        U Offline
        user7699
        wrote on last edited by
        #3

        Ok, than why I dont have any Qbluetooth stuf? No classes, no examples.

        jsulmJ 1 Reply Last reply
        0
        • U user7699

          Ok, than why I dont have any Qbluetooth stuf? No classes, no examples.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @user7699 Did you install any Qt version?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            Any chances you installed Qt 6.0 ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • U Offline
              U Offline
              user7699
              wrote on last edited by
              #6

              I was installed Qt two days ago from official website. It is the newest version.

              help -> about show me:
              QtCreator 4.15.1 based on Qt 5.15.2 (MSVC 2019, 64 bit).

              In 'examples' menu of Qt Creator is:
              Qt 6.1.1 MinGW 64-bit

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                The Qt Bluetooth module will be back for 6.2

                You should go with 5.15 at this time.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                1
                • U Offline
                  U Offline
                  user7699
                  wrote on last edited by
                  #8

                  Oh, thank you! Can you guid me, how to change version of my Qt?

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Just start the Maintenance Tool, select Add Remove Components and go select Qt 5.15.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    1
                    • U Offline
                      U Offline
                      user7699
                      wrote on last edited by
                      #10

                      Thank you, now I can find ble examples.
                      But there is a problem, ble scanner example did not found any device (but there are ble devices in my room). I will ask it in new thread. This can be closed.

                      1 Reply Last reply
                      0

                      • Login

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