Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Hibernate qtcreator

    Tools
    6
    10
    3700
    Loading More Posts
    • 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.
    • M
      mike4 last edited by

      Hi
      can i save all project views etc. to reopen later the very same?
      Thanks

      1 Reply Last reply Reply Quote 0
      • L
        lgeyer last edited by

        Are "sessions":http://doc.qt.nokia.com/qtcreator-snapshot/creator-project-managing-sessions.html not sufficient for you?

        1 Reply Last reply Reply Quote 0
        • A
          andre last edited by

          Personally, I find that sessions work, how do I put this, counterintuitive. I would think they are meant for this kind of scenario, but they rarely seem to work as expected by me.

          1 Reply Last reply Reply Quote 0
          • D
            DenisKormalev last edited by

            Andre, I used sessions as coomon tool and never found any problems with them (when using for "hibernation" case). Can you name any problems you faced, please?

            1 Reply Last reply Reply Quote 0
            • A
              andre last edited by

              To name one such case:
              Say, I have happely been hacking away at a set of source files, and now I decide I want to work on something else for a bit. That calls for saving where I am in a session, so I go to the sessions screen, create a new session and name it. I would expect everything that I currently have open to be part of that session, especially since there is no "save current state to session" command or something like that in view. Now, I create another new session for the other cool project I want to work on, switch to it, and go back to my code. I close all editors and open some new ones on the new files.

              Then, if I want to switch back to what I was working on before, when I switch to the session I created to store my work in, much to my dismay, I find it empty, or at the very least, very incomplete.

              1 Reply Last reply Reply Quote 0
              • D
                DenisKormalev last edited by

                Hm, in this case maybe. I'm doing it opposite. At first I create session and after it work with them. In this order it works great.

                1 Reply Last reply Reply Quote 0
                • A
                  andre last edited by

                  Hibernation that requires me to take a specific action before I commence the work, instead of when I want to pause it and do the actual hibernation, does not work all that great in my view.

                  1 Reply Last reply Reply Quote 0
                  • Alicemirror
                    Alicemirror last edited by

                    I agree with Andre.

                    I use sessions intensively, very useful when I have more than one project at the same time and need fast switch between them but I am aware that session seems saving only few things respect what is done in many ogher IDE, i.e. eclipse. Some times sessions save also the open files some other not. I suppose that some parameters used by sessions are also overwrittend by other stuff. But I have not clear what it can be.

                    What Andre means - and I will have too - is the possibility to have a snapshot of some situation exactly repreduced when I reopen a certain session.

                    Enrico Miglino (aka Alicemirror)
                    Balearic Dynamics
                    Islas Baleares, Ibiza (Spain)
                    www.balearicdynamics.com

                    1 Reply Last reply Reply Quote 0
                    • T
                      tobias.hunger last edited by

                      By default the "default" session is used which is not saved. Some people do not want to bother with sessions, so we had to put it into the back seat.

                      You should be able to rename it when you want it saved.

                      You can also start sessions from the command line by the way. There even is a switch to start the last session used.

                      1 Reply Last reply Reply Quote 0
                      • Alicemirror
                        Alicemirror last edited by

                        Sure, Tobias,

                        I use only sessions, and always start with last session starting Qt Creator. This part is really useful

                        Enrico Miglino (aka Alicemirror)
                        Balearic Dynamics
                        Islas Baleares, Ibiza (Spain)
                        www.balearicdynamics.com

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post