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. QML Bluetooth Example Problem
Forum Updated to NodeBB v4.3 + New Features

QML Bluetooth Example Problem

Scheduled Pinned Locked Moved Unsolved General and Desktop
qmlbluetoothnon-functional
23 Posts 5 Posters 13.7k Views 2 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.
  • I Offline
    I Offline
    ideadesigner
    wrote on 19 Jun 2016, 16:31 last edited by ideadesigner
    #1

    Hello Everyone,

    I'm a new developer on QT and I'm a student.
    I want to create mobile applications but firstly trying to run "QML Bluetooth Scanner" example on desktop.
    But, when I want to run this example,
    QT Console says: "Dummy backend running. Qt Bluetooth module is non-functional"
    and bluetooth scanner doesn't work. My bluetooth adapter is working smoothly.
    How can I solve this problem ?

    Platform: Windows 7 Pro
    Qt Version: 5.7

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 19 Jun 2016, 21:06 last edited by
      #2

      Hi and welcome to devnet,

      There's a WIP branch for Desktop Windows support in the QtConnectivity module that you can build and try.

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

      I 1 Reply Last reply 20 Jun 2016, 09:31
      0
      • S SGaist
        19 Jun 2016, 21:06

        Hi and welcome to devnet,

        There's a WIP branch for Desktop Windows support in the QtConnectivity module that you can build and try.

        I Offline
        I Offline
        ideadesigner
        wrote on 20 Jun 2016, 09:31 last edited by
        #3

        @SGaist
        Which branch did you refer?
        This link right or wrong?
        And how can I integrate this branch to my qt creator ?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 20 Jun 2016, 11:52 last edited by
          #4

          Yes, that's the one

          1. Clone the module
          2. Checkout the branch
          3. Build it (you can open the project within Qt Creator)
          4. Install it

          And you should be good to go.

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

          I U 2 Replies Last reply 22 Jun 2016, 19:01
          0
          • S SGaist
            20 Jun 2016, 11:52

            Yes, that's the one

            1. Clone the module
            2. Checkout the branch
            3. Build it (you can open the project within Qt Creator)
            4. Install it

            And you should be good to go.

            I Offline
            I Offline
            ideadesigner
            wrote on 22 Jun 2016, 19:01 last edited by
            #5

            @SGaist
            How can i clone or branch off the repo. Because there is no button on this page.

            K 1 Reply Last reply 22 Jun 2016, 19:32
            0
            • I ideadesigner
              22 Jun 2016, 19:01

              @SGaist
              How can i clone or branch off the repo. Because there is no button on this page.

              K Offline
              K Offline
              kshegunov
              Moderators
              wrote on 22 Jun 2016, 19:32 last edited by
              #6

              @ideadesigner

              How can i clone or branch off the repo. Because there is no button on this page.

              This should cover it.

              Read and abide by the Qt Code of Conduct

              1 Reply Last reply
              1
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 22 Jun 2016, 22:57 last edited by
                #7

                The links are on the summary page. Otherwise that's basic git

                git clone https://code.qt.io/qt/qtconnectivity.git
                cd qtconnectivity
                git checkout wip/win
                

                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
                • I Offline
                  I Offline
                  ideadesigner
                  wrote on 23 Jun 2016, 21:00 last edited by ideadesigner
                  #8

                  @kshegunov
                  I took git setup and installed.
                  @SGaist
                  I tried but gave me permission error:

                  $ git clone http://code.qt.io/cgit/qt/qtconnectivity.git/tree/
                  fatal: could not create work tree dir 'tree': Permission denied

                  Thanks for your helping guys.

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 23 Jun 2016, 22:05 last edited by
                    #9

                    Retry by copying the git command I wrote.

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

                    I 1 Reply Last reply 24 Jun 2016, 03:51
                    0
                    • S SGaist
                      23 Jun 2016, 22:05

                      Retry by copying the git command I wrote.

                      I Offline
                      I Offline
                      ideadesigner
                      wrote on 24 Jun 2016, 03:51 last edited by
                      #10

                      @SGaist Same answer from Git with your URL

                      1 Reply Last reply
                      0
                      • K Offline
                        K Offline
                        kuzulis
                        Qt Champions 2020
                        wrote on 24 Jun 2016, 05:31 last edited by
                        #11

                        git clone git://code.qt.io/qt/qtconnectivity.git

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 24 Jun 2016, 06:52 last edited by
                          #12

                          Because you added tree again at the end ? Don't do it, just clone the git repository.

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

                          I 1 Reply Last reply 24 Jun 2016, 09:28
                          0
                          • S SGaist
                            24 Jun 2016, 06:52

                            Because you added tree again at the end ? Don't do it, just clone the git repository.

                            I Offline
                            I Offline
                            ideadesigner
                            wrote on 24 Jun 2016, 09:28 last edited by
                            #13

                            @kuzulis I tried your URL in different computer and no problem.
                            @SGaist No, I didn't add the 'tree'. I think the problem is 'https://' because 'git://' is worked.

                            K 1 Reply Last reply 24 Jun 2016, 10:21
                            0
                            • S Offline
                              S Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on 24 Jun 2016, 09:38 last edited by
                              #14

                              Strange… Anyway, the essential part is that you got the module and can continue to hack :)

                              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
                              • I ideadesigner
                                24 Jun 2016, 09:28

                                @kuzulis I tried your URL in different computer and no problem.
                                @SGaist No, I didn't add the 'tree'. I think the problem is 'https://' because 'git://' is worked.

                                K Offline
                                K Offline
                                kshegunov
                                Moderators
                                wrote on 24 Jun 2016, 10:21 last edited by
                                #15

                                @ideadesigner @SGaist

                                I may be absolutely wrong and please correct me if I am, but I think https requires (gerrit) authentication to work ...

                                Read and abide by the Qt Code of Conduct

                                1 Reply Last reply
                                0
                                • K Offline
                                  K Offline
                                  kuzulis
                                  Qt Champions 2020
                                  wrote on 24 Jun 2016, 11:19 last edited by
                                  #16

                                  requires (gerrit) authentication to work

                                  yes

                                  1 Reply Last reply
                                  0
                                  • I Offline
                                    I Offline
                                    ideadesigner
                                    wrote on 24 Jun 2016, 22:42 last edited by
                                    #17

                                    I can't understand, at my pc, 'git bash' gave me same error with 'git://...'.

                                    $ git clone git://code.qt.io/qt/qtconnectivity.git
                                    fatal: could not create work tree dir 'qtconnectivity': Permission denied

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on 25 Jun 2016, 20:11 last edited by
                                      #18

                                      Permission denied ? Do you have write permission in the folder you're trying to clone in ?

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

                                      I 1 Reply Last reply 26 Jun 2016, 10:04
                                      1
                                      • S SGaist
                                        25 Jun 2016, 20:11

                                        Permission denied ? Do you have write permission in the folder you're trying to clone in ?

                                        I Offline
                                        I Offline
                                        ideadesigner
                                        wrote on 26 Jun 2016, 10:04 last edited by
                                        #19

                                        @SGaist I see. I understood my fault.
                                        I worked respectively in pictures,
                                        1.Wrong folder
                                        image

                                        2.Changed my folder
                                        image

                                        3.Changed my branch
                                        image

                                        4.Opened the qt project file and ran the btscanner example
                                        image

                                        5.Still same answer
                                        image

                                        1 Reply Last reply
                                        0
                                        • K Offline
                                          K Offline
                                          kuzulis
                                          Qt Champions 2020
                                          wrote on 26 Jun 2016, 17:33 last edited by
                                          #20

                                          Still same answer

                                          You should re-build && re-install QtConnectivity from the wip/win branch: make && make install, and only then try to use examples.

                                          PS: A good idea it is cleanup all existing QtBluetooth stuff from your Qt-installed directory, before making-installing of wip/win branch.

                                          1 Reply Last reply
                                          1

                                          1/23

                                          19 Jun 2016, 16:31

                                          • Login

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