Important: Please read the Qt Code of Conduct -

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.

    ( 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?

    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.

  • @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? (
    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 ( or you just click your name on your post above :)

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

    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.

  • Lifetime Qt Champion


    Use git and clone the repository.

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

    Cloning into 'btscanner?h=5-13'...
    fatal: repository '' 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?

  • @SGaist said in Missing Bluetooth examples- repost:


    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?

    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.

  • Lifetime Qt Champion

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

    git clone git:// should work.

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


  • @aha_1980 said in Missing Bluetooth examples- repost:

    git clone git://

    OK, here are the results:

    z@z-desktop:~$ sudo git clone 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.

    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 @

    See also Qt Bluetooth.

    Yes, I can "add"

    Qt += bluetooth

    to project

    but I am after the actual example of bluetooth scanner project

  • Lifetime Qt Champion

    @AnneRanch said in Missing Bluetooth examples- repost:

    Where is my cloned "bluetooth" project?

    "Cloning into 'qtconnectivity'..."

    sudo git clone git://

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

  • @AnneRanch said in Missing Bluetooth examples- repost:

    sudo git clone 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.

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


  • Lifetime Qt Champion

    @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?

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

    I have found this reference

    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.

Log in to reply