How to "import a project " from github ?
-
wrote on 20 May 2021, 13:37 last edited by
Until I get answer for my "search " post I am posting this- it is a dupe, I have asked this before .....
Can somebody point out my error and SOLUTION.
I select example project which leads me to "github" .I pull the "git " link and after "download" always end up with (dev) - definitely not a " project" .
I do not know how to "compile" git hub files and want "precomplied" PROJECT. Am I using wrong github link? But it comes from "examples" ...
-
wrote on 20 May 2021, 13:45 last edited by
Sorry but I didn't follow the previous threads. Could you run us through exactly what you are doing?
I select example project
From where?
which leads me to "github"
This is the most popular software collaboration website
I pull the "git " link
"Pull" is a technical term in Git but it doesn't make sense in this context (if you don't have an existing local repo). Can you explain exactly what you are doing?
always end up with (dev)
That's the name of the branch, doesn't have any particular implication
definitely not a " project"
Again, without knowing where you are downloading it from it's difficult to understand what's wrong
-
Sorry but I didn't follow the previous threads. Could you run us through exactly what you are doing?
I select example project
From where?
which leads me to "github"
This is the most popular software collaboration website
I pull the "git " link
"Pull" is a technical term in Git but it doesn't make sense in this context (if you don't have an existing local repo). Can you explain exactly what you are doing?
always end up with (dev)
That's the name of the branch, doesn't have any particular implication
definitely not a " project"
Again, without knowing where you are downloading it from it's difficult to understand what's wrong
wrote on 20 May 2021, 14:37 last edited by -
wrote on 20 May 2021, 14:51 last edited by
It is a project but it's a CMake project. You can open it with Qt Creator if you have CMake installed and configured.
In any case this is not an example this is the code that produces the QtConnectivity module (the libraries that go into the bin folder of Qt).
After STEP 2, you can go into
/mnt/CAT_PROJECT/TEST_SUBPROJECT/SUBPROJECT/qtconnectivity/examples
here you can find the project file with all the examples (examples.pro) or you can go into the subdirectories and find the particular example project files that you want (bluetooth/bluetooth.pro or nfc/nfc.pro) -
Step 1
Idetify github link and copy itSTEP 2
Run Git cloneSTEP 3
Success - click "Finish"
RESULT
...qtconnectivity[dev]... now what ?This is not a project, I did something wrong....
wrote on 20 May 2021, 14:55 last edited by Anonymous_Banned275@AnneRanch
I am adding this as FYI .
Apparently even if I wanted to "compile" I have some conflicts with Qt (whatever name ) version .
I need to go back to git to find why it is looking for 6.2 version.
BTW AFTER I did "manage kits" it looks as I could really compile the "stuff" from "github". Perhaps it is a time to learn that...
#endifToo good to be true...
For other reasons I had to "reboot" and now cannot duplicate running CMake ....
1/5