Registered Member
|
Hi all,
I am trying to install Marble in Qt Creator to be able to use it in this IDE. I am a beginner concerning Git, Qt and Marble (I know, that makes me really unefficient for now). I am following this : https://techbase.kde.org/Projects/Marble/QtCreator I have installed Git, but I don't know how to configure it with Qt Creator to be able to clone the Marble repository and "cmake" it. I added the PATH in the PATH field in the Git options. So I created a new project with "Git repository clone", and I added git://anongit.kde.org/marble. When I check the available branches I only have "detached HEAD", like my Git was not really set up in Qt Creator. So what do I have to do to set it up the right way ? Thanks for your answers. |
KDE Developer
|
Hi,
I guess most people use git on the command line. However this should all be doable. So I understand that you cloned the marble repo by choosing "File->New->Git Repository Clone". After it downloaded all the stuff were you able to press the "Execute CMake" button without (red) error messages? Once you do that you should be able to see the source code files. Right now according to you your repository is in detached Head state. I don't have much experience with the Qt Creator stuff but it might be that you just didn't press the "refresh" button when you were prompted to enter the repo and the branch. This should be easy to fix. Just choose: Extras -> Git ->Local Repository->Branches Just choose master there and press "checkout". That might bring you back to master. This Url gives a short introduction into Git - although it's command line based you will be able to find the same actions in the Git Qt Creator menu: https://techbase.kde.org/Development/Gi ... e_Workflow |
Registered Member
|
Hi, thanks for your answer.
I can see that I have not been cleared enough. I tried to clone the marble git repository, but I was not able to do it. I think that Git is not configured in my Qt Creator so nothing was downloaded.. In Tools/Options/Version Control/Git : I added my Git path (C:\Projets\Git\bin) and that's all I did. But I don't understand what could I do more. Thanks again |
Registered Member
|
Hi,
It was about a problem with my firewall. Works fine now. Thanks, |
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]