Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [SOLVED] Restore open files for project upon Qt Creator launch?
QtWS25 Last Chance

[SOLVED] Restore open files for project upon Qt Creator launch?

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 3 Posters 12.5k Views
  • 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.
  • F Offline
    F Offline
    fonzi337
    wrote on last edited by
    #1

    Hi,

    I've been using Visual Studio for some time and one feature I've really come to like is that after I close a solution file and then reopen it, when I reopen it all the files I had left open before closing the solution are displayed again. This is particularly helpful when I leave one day and come back another as seeing the open files scrolled to the lines of code I was looking at before is a quick way of reminding me what I was working on.

    I've noticed that when I reopen a project in Qt Creator that no open files are shown, even if I had closed the project with files still open. I checked the Options menus to see if saving the state of open files was a user-selectable option, but couldn't find anything. Does Qt Creator offer this functionality? If not, is this something that's being worked on or something that would likely make it into a release in the near future?

    Thanks!

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      Qt Creator keeps track of opened files for sessions, not projects. I don't not know if there are plans to extend this feature to projects. Join #qt-creator at freenode, you'll get an answer there.

      1 Reply Last reply
      2
      • F Offline
        F Offline
        fonzi337
        wrote on last edited by
        #3

        Thank you Lukas. I can't believe I never noticed the Sessions section in the Welcome screen. That seems to be exactly what I'm looking for.

        1 Reply Last reply
        1
        • C Offline
          C Offline
          ChrisEmsen
          wrote on last edited by
          #4

          From http://doc.qt.io/qtcreator/creator-project-managing-sessions.html

          File > Sessions > Manage > Restore last session on startup.

          1 Reply Last reply
          7

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved