Cloning option in "Welcome" window....
-
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 ?
-
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 ?
@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?" -
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 ?
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.
-
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.
@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.