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. Cloning option in "Welcome" window....
Forum Updated to NodeBB v4.3 + New Features

Cloning option in "Welcome" window....

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 685 Views 3 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1

    What exactly does it do ?
    ( does it save the clone somewhere ?)

    After cloning current project NEITHER "session" will run.

    Had to reboot and open the project using "Projects" ....

    Should I ask Mrs Google or anybody here can help ?

    Kent-DorfmanK Paul ColbyP 2 Replies Last reply
    0
    • A Anonymous_Banned275

      What exactly does it do ?
      ( does it save the clone somewhere ?)

      After cloning current project NEITHER "session" will run.

      Had to reboot and open the project using "Projects" ....

      Should I ask Mrs Google or anybody here can help ?

      Kent-DorfmanK Offline
      Kent-DorfmanK Offline
      Kent-Dorfman
      wrote on last edited by
      #2

      @AnneRanch
      I for one find the title meaningless, so maybe google is a better alternative. Am I suppose to guess what or where this "welcome window is?"

      I light my way forward with the fires of all the bridges I've burned behind me.

      1 Reply Last reply
      1
      • A Anonymous_Banned275

        What exactly does it do ?
        ( does it save the clone somewhere ?)

        After cloning current project NEITHER "session" will run.

        Had to reboot and open the project using "Projects" ....

        Should I ask Mrs Google or anybody here can help ?

        Paul ColbyP Offline
        Paul ColbyP Offline
        Paul Colby
        wrote on last edited by
        #3

        Hi @AnneRanch ,

        Cloning option in "Welcome" window....

        I'm assuming that you're referring to the Welcome tab in Qt Creator, where the Clone option is in the Session Manager dialog that appears when you click "Manage..." next to Sessions, as its the only one I know of. (If you mean some other "Cloning option", let us know which one, and disregard the rest of this reply).

        After cloning current project ...

        To clarify, this does not clone any projects, it clones the Qt Creator session. The session is basically Qt Creators current state - the projects and files that are open, Qt Creator settings, selected build chains, etc. So cloning the session creates a new session with a new name, that has the same projects open etc. This might be useful, for example, if you had a session with several projects open, then decided you wanted new session with only a subset of those projects open - you could clone the session, then in the new session close the projects you don't want to see there (and optionaly add new ones, etc).

        So, for example, when you initially clone the session, you then have (at least) two sessions pointing to the exact same projects - ie the projects themselves are not cloned or copied on disk at all. So if you change the project code in one session, then switch sessions the code changes will be visible in the new session too.

        What exactly does it do ?

        The Qt Creator sessions are really just collections of local configuration (which configure things like which projects are open in that session), so really its just copying one of those existing configuration sets to a new name. You can actually have a look at the configuration sets with a text edit / cat etc if you want to see exactly what they include. For example, on Linux, have a look at the files you see when you run:

        ls -l .config/QtProject/qtcreator/*.qws
        

        (There will be an equivalent location on macOS and Windows, but I don't have those handy at the moment.) You can even copy those files manually if you wanted to (though I don't recommend it) to clone a session outside of Qt Creator.

        Cheers.

        A 1 Reply Last reply
        0
        • Paul ColbyP Paul Colby

          Hi @AnneRanch ,

          Cloning option in "Welcome" window....

          I'm assuming that you're referring to the Welcome tab in Qt Creator, where the Clone option is in the Session Manager dialog that appears when you click "Manage..." next to Sessions, as its the only one I know of. (If you mean some other "Cloning option", let us know which one, and disregard the rest of this reply).

          After cloning current project ...

          To clarify, this does not clone any projects, it clones the Qt Creator session. The session is basically Qt Creators current state - the projects and files that are open, Qt Creator settings, selected build chains, etc. So cloning the session creates a new session with a new name, that has the same projects open etc. This might be useful, for example, if you had a session with several projects open, then decided you wanted new session with only a subset of those projects open - you could clone the session, then in the new session close the projects you don't want to see there (and optionaly add new ones, etc).

          So, for example, when you initially clone the session, you then have (at least) two sessions pointing to the exact same projects - ie the projects themselves are not cloned or copied on disk at all. So if you change the project code in one session, then switch sessions the code changes will be visible in the new session too.

          What exactly does it do ?

          The Qt Creator sessions are really just collections of local configuration (which configure things like which projects are open in that session), so really its just copying one of those existing configuration sets to a new name. You can actually have a look at the configuration sets with a text edit / cat etc if you want to see exactly what they include. For example, on Linux, have a look at the files you see when you run:

          ls -l .config/QtProject/qtcreator/*.qws
          

          (There will be an equivalent location on macOS and Windows, but I don't have those handy at the moment.) You can even copy those files manually if you wanted to (though I don't recommend it) to clone a session outside of Qt Creator.

          Cheers.

          A Offline
          A Offline
          Anonymous_Banned275
          wrote on last edited by
          #4

          @Paul-Colby Thanks - very clear explanation, I appreciate it.
          Still does not answer why I could not even open either one.
          And after reboot - the original would not compile with some weird makefile error.

          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