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. Missing Bluetooth examples- repost
Forum Updated to NodeBB v4.3 + New Features

Missing Bluetooth examples- repost

Scheduled Pinned Locked Moved Unsolved General and Desktop
13 Posts 6 Posters 1.8k Views 4 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1

    I am having a trouble locating my original post( uses general search) nor getting notifications about responses to my original post.

    ( Is there away to SIMPLY list / view JUST my posts on this forum?
    The forum navigation is a challenge to newcomer )

    After successfully loading and actually running (Qt creator) "application" example I did try to locate ANYTHING ( examples) about bluetooth.

    Using this link it really does not tell me HOW to ADD bluetooth examples(s).
    Using "kit" is not very intuitive.
    Why I cannot simply "import" from source?

    https://doc.qt.io/qt-5/qtbluetooth-btchat-example.html

    So the basic question - am I using correct resource ?

    PS I am really not sure what I have to do to receive notifications about repossesses to my post.

    Pl45m4P 1 Reply Last reply
    0
    • A Anonymous_Banned275

      I am having a trouble locating my original post( uses general search) nor getting notifications about responses to my original post.

      ( Is there away to SIMPLY list / view JUST my posts on this forum?
      The forum navigation is a challenge to newcomer )

      After successfully loading and actually running (Qt creator) "application" example I did try to locate ANYTHING ( examples) about bluetooth.

      Using this link it really does not tell me HOW to ADD bluetooth examples(s).
      Using "kit" is not very intuitive.
      Why I cannot simply "import" from source?

      https://doc.qt.io/qt-5/qtbluetooth-btchat-example.html

      So the basic question - am I using correct resource ?

      PS I am really not sure what I have to do to receive notifications about repossesses to my post.

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by Pl45m4
      #2

      @AnneRanch said in Missing Bluetooth examples- repost:

      I am having a trouble locating my original post( uses general search) nor getting notifications about responses to my original post.

      You mean this one? (https://forum.qt.io/topic/107355/adding-bluetooth-example)
      Click on your profile pic at the top right of the screen (no / default image in your case), then click your name afterwards... You will see an overview of your profile and all comments / posts you created recently

      You can use this direct link to get to your profile (https://forum.qt.io/user/anneranch) or you just click your name on your post above :)


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      2
      • A Offline
        A Offline
        Anonymous_Banned275
        wrote on last edited by
        #3

        @AnneRanch
        Silly me - I can "watch for responses"
        AFTER my post is posted !

        OK, looks as "qtconncetivity" is partial answers to my post.
        ( I have not seen anywhere is has to be installed...)

        https://code.qt.io/cgit/qt/qtconnectivity.git/tree/examples/bluetooth/btscanner?h=5.13

        So HOW do I copy actual code from the above link to Qt Creator and make a project from the source?

        To "discuss" my post - do I have to keep adding to my first reply ?

        Yes, I did find out how to keep track of my posts, thanks.

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

          Hi,

          Use git and clone the repository.

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

          A 1 Reply Last reply
          2
          • A Offline
            A Offline
            Anonymous_Banned275
            wrote on last edited by
            #5

            OK, looks as I am on right track, but I have received this error:

            Cloning into 'btscanner?h=5-13'...
            fatal: repository 'https://code.qt.io/cgit/qt/qtconnectivity.git/tree/examples/bluetooth/btscanner?h=5.13/' not found

            I can trace / fix the error , can you give me some assistance how?
            Or just confirm that I am on the right track / path?

            aha_1980A 1 Reply Last reply
            0
            • SGaistS SGaist

              Hi,

              Use git and clone the repository.

              A Offline
              A Offline
              Anonymous_Banned275
              wrote on last edited by
              #6

              @SGaist said in Missing Bluetooth examples- repost:

              Hi,

              Use git and clone the repository.

              I am still trying to follow some kind of logic when posting , having a heck of a time.

              ? Is there a way to edit my last post?

              Questions:
              How do I verify my OS is "getting" stuff from correct repository ? Is my last "error" indicating I am in wrong repository ? Wrong link format ?
              I just copied the link from my browser.

              1 Reply Last reply
              0
              • A Anonymous_Banned275

                OK, looks as I am on right track, but I have received this error:

                Cloning into 'btscanner?h=5-13'...
                fatal: repository 'https://code.qt.io/cgit/qt/qtconnectivity.git/tree/examples/bluetooth/btscanner?h=5.13/' not found

                I can trace / fix the error , can you give me some assistance how?
                Or just confirm that I am on the right track / path?

                aha_1980A Offline
                aha_1980A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @AnneRanch the git clone URLs are written on the bottom of the repos web page.

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

                To edit your last post, use the "three vertical dots" menu > Edit.

                Regards

                Qt has to stay free or it will die.

                1 Reply Last reply
                1
                • A Offline
                  A Offline
                  Anonymous_Banned275
                  wrote on last edited by Anonymous_Banned275
                  #8

                  @aha_1980 said in Missing Bluetooth examples- repost:

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

                  OK, here are the results:

                  z@z-desktop:~$ sudo git clone git://code.qt.io/qt/qtconnectivity.git
                  [sudo] password for z:
                  Cloning into 'qtconnectivity'...
                  remote: Counting objects: 24092, done.
                  remote: Compressing objects: 100% (9026/9026), done.
                  remote: Total 24092 (delta 17678), reused 19312 (delta 14395)
                  Receiving objects: 100% (24092/24092), 10.50 MiB | 2.26 MiB/s, done.
                  Resolving deltas: 100% (17678/17678), done.
                  Checking connectivity... done.
                  z@z-desktop:~$

                  1. Where is my cloned "bluetooth" project?
                  2. A new user following instructions should receive intended results or more detailed error description. So far the GUI "instructions" and response seems useless , only generating these posts

                  Here is a copy of "instructions" , leading nowhere....
                  (See the original post title )

                  Running the Example

                  To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, visit Building and Running an Example.

                  Example project @ code.qt.io

                  See also Qt Bluetooth.

                  Yes, I can "add"

                  Qt += bluetooth

                  to project

                  but I am after the actual example of bluetooth scanner project

                  Pablo J. RoginaP 1 Reply Last reply
                  0
                  • Christian EhrlicherC Offline
                    Christian EhrlicherC Offline
                    Christian Ehrlicher
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @AnneRanch said in Missing Bluetooth examples- repost:

                    Where is my cloned "bluetooth" project?

                    "Cloning into 'qtconnectivity'..."

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

                    Why do you need to clone a repo as root user?

                    Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                    Visit the Qt Academy at https://academy.qt.io/catalog

                    1 Reply Last reply
                    3
                    • A Anonymous_Banned275

                      @aha_1980 said in Missing Bluetooth examples- repost:

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

                      OK, here are the results:

                      z@z-desktop:~$ sudo git clone git://code.qt.io/qt/qtconnectivity.git
                      [sudo] password for z:
                      Cloning into 'qtconnectivity'...
                      remote: Counting objects: 24092, done.
                      remote: Compressing objects: 100% (9026/9026), done.
                      remote: Total 24092 (delta 17678), reused 19312 (delta 14395)
                      Receiving objects: 100% (24092/24092), 10.50 MiB | 2.26 MiB/s, done.
                      Resolving deltas: 100% (17678/17678), done.
                      Checking connectivity... done.
                      z@z-desktop:~$

                      1. Where is my cloned "bluetooth" project?
                      2. A new user following instructions should receive intended results or more detailed error description. So far the GUI "instructions" and response seems useless , only generating these posts

                      Here is a copy of "instructions" , leading nowhere....
                      (See the original post title )

                      Running the Example

                      To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, visit Building and Running an Example.

                      Example project @ code.qt.io

                      See also Qt Bluetooth.

                      Yes, I can "add"

                      Qt += bluetooth

                      to project

                      but I am after the actual example of bluetooth scanner project

                      Pablo J. RoginaP Offline
                      Pablo J. RoginaP Offline
                      Pablo J. Rogina
                      wrote on last edited by
                      #10

                      @AnneRanch said in Missing Bluetooth examples- repost:

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

                      In addition to @Christian-Ehrlicher please remember that after cloning the repo (getting the sources...) you need to build and install the module so you can later build and run the example you want.

                      Upvote the answer(s) that helped you solve the issue
                      Use "Topic Tools" button to mark your post as Solved
                      Add screenshots via postimage.org
                      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                      1 Reply Last reply
                      1
                      • A Offline
                        A Offline
                        Anonymous_Banned275
                        wrote on last edited by
                        #11

                        I am not sure I want to engage in "root" user "security" discussion.
                        Been there, done that.

                        But appreciate refreshing my memory to MOVE the cloned data OUT of root.
                        I did move the source but still cannot "buidl" it - getting "permission denied".
                        I can fix that.

                        So "you need to build and install the module " is next?
                        I hope after I successfully build and run the intended project I can come up with simplified and real process to "import" Qt projects from ANY repository.

                        Just out of curiosity - could I get an example of "Qt module" ?
                        It seems my second post ( about Qt hierarchy ) in this forum was not that silly after all - for example if I want to use TCP - do I need to "add TCP module " too?

                        Cheers

                        aha_1980A 1 Reply Last reply
                        0
                        • A Anonymous_Banned275

                          I am not sure I want to engage in "root" user "security" discussion.
                          Been there, done that.

                          But appreciate refreshing my memory to MOVE the cloned data OUT of root.
                          I did move the source but still cannot "buidl" it - getting "permission denied".
                          I can fix that.

                          So "you need to build and install the module " is next?
                          I hope after I successfully build and run the intended project I can come up with simplified and real process to "import" Qt projects from ANY repository.

                          Just out of curiosity - could I get an example of "Qt module" ?
                          It seems my second post ( about Qt hierarchy ) in this forum was not that silly after all - for example if I want to use TCP - do I need to "add TCP module " too?

                          Cheers

                          aha_1980A Offline
                          aha_1980A Offline
                          aha_1980
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          @AnneRanch I'm wondering why you fight with git anyway.

                          You can install everything with few clicks from the online installer. It seems you lost your way, so may you please tell us what you did so far to get Qt running?

                          Qt has to stay free or it will die.

                          1 Reply Last reply
                          0
                          • A Offline
                            A Offline
                            Anonymous_Banned275
                            wrote on last edited by Anonymous_Banned275
                            #13

                            To whom it may matter:

                            Is there a way to CHANGE standard examples path to point to my newly cloned gtconnectivity examples?

                            I have NO issues running Qt creator.
                            When I have need for an assistance I'll will ask for it.

                            Please quit second guessing my posts and try to read them before locking them.

                            If possible I would like to just have an answer to the above question ONLY.

                            Addendum
                            I have found this reference

                            https://wiki.qt.io/Qt_Examples_in_Qt_Creator

                            This handy document identifies the function of "standard examples path" in question - implemented in pull down combo box .
                            I do not do XML, perhaps somebody knowledgeable in XML can help me to find where is the examples path coded in XML.
                            I would appreciate that very much.

                            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