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.
  • 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