Results 1 to 4 of 4

Thread: Recent Project

  1. #1
    Join Date
    May 2009
    Posts
    94
    Thanks
    10
    Qt products
    Qt4
    Platforms
    Windows

    Arrow Recent Project

    I am trying to write program for recent project. I am using Qsetting for this.
    To keep track of the project and its file can i use QFileList.Give me if u have any sample project for this.....

  2. #2
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Recent Project

    Take a look at recent files example.
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  3. #3
    Join Date
    May 2009
    Posts
    94
    Thanks
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Recent Project

    Quote Originally Posted by bismitapadhy View Post
    I am trying to write program for recent project. I am using Qsetting for this.
    To keep track of the project and its file can i use QFileList.Give me if u have any sample project for this.....
    I already saw tutorial example.There its using QStringList.But i n case of recent project i hv to keep track of so many file not only only one file. So for that i have to use QFileList or anything else.

  4. #4
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Recent Project

    You mean that your project contains a lot of files and you want to keep track to all those files?
    I think that usual solution is (like everywhere - for example Qt .pro files) that you should keep the track to only one file - the project file. In that file you have all your paths to other files, so you need to implement some method like loadProject() which reads that project file and loads all the files containd in project. Then the Recent Project problem would be exactly the same as recent files with the recent files being your project files.
    The project file could be, for example, in IniFormat so it could be easily read using QSettings, or for some complex structure it can be XML file, and read with for example Qt DOM API.
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

Similar Threads

  1. How to Compile VTKDesigner2 with Qt?
    By alfredoaal in forum Newbie
    Replies: 0
    Last Post: 5th September 2008, 05:34
  2. help needed with complicated project
    By Muzz in forum Newbie
    Replies: 12
    Last Post: 15th February 2008, 09:54
  3. Importing qt project to an eclipse workspace
    By isahin in forum Installation and Deployment
    Replies: 2
    Last Post: 28th January 2008, 18:00
  4. how do i use a same project in multiple systems ?
    By nhatkhang in forum KDE Forum
    Replies: 6
    Last Post: 21st December 2006, 16:32
  5. Replies: 2
    Last Post: 11th July 2006, 14:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.