Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

From git to project ?(sortof repost)



  • This is embarrassing , but ...

    I am trying to clone PROJECT from git and all I am getting is "source code configuration ".

    I am not sure what I am doing wrong. It worked in the past and I was getting cloned project - not source code in need of "configure".

    Is the examples link wrong ?

    I am using the link from "examples" and have three sources to clone.

    ....
    01a6a220-42d4-47e3-93ad-e334748aaf48-image.png

    I am not sure why there are three "clone" links. They all return same and require "configure" .... but what ?

    I have no "project" only this what appears to be un configured [dev].

    ebf83bb1-e891-4f55-8eb6-0c9fdb660c55-image.png

    What am I doing wrong ?
    I do not mind "configuring" , but I need Qt "project".


  • Lifetime Qt Champion

    Hi,

    Each link uses a different protocol.

    You cloned the whole qtbase module, navigate in examples sub folder to get to the example that interests you.

    If you are using Qt 5.15, then I recommend that you first switch your clone to the corresponding branch.



  • I am probably using wrong terminology - but no matter which repository format / link I use I get "source" and when it is fished cloning it will go thru "configuration".

    Which is fine, but it never ends with "project".

    Actually there are two ways to clone - using "new project -> git ..."
    or "tools-> git" .

    Both produce name[dev] which is NOT Qt project I am after.

    Minor issue is - if one does not pay attention and use defaults .
    Even AFTER the [dev] is configured it periodically starts the "configuration" again - if left in "project" form as a separate "project" actually [dev].

    Now I did this before and still using cloned "MDI" example, but cannot duplicate the cloning process again. Yes, I could use clean MDI example - my is getting too worn out.


  • Qt Champions 2017

    I imagine the confugure you see and refer to is the new build system, which is now cmake instead of the older qmake. It's somewhat buggishly supported in QtCreator.


  • Lifetime Qt Champion

    As I already wrote, it you are after the Qt 5 examples, switch the git branch.

    Then go to the sub folder of the examples and open the project file that is there.


Log in to reply