Generating a customized Project file Qt



  • 0 down vote favorite

    In my Current requirement i would like to create a a customized project file which my application can load in future.The project file will be specific to my application only .It will contain all the paths of the created components as items represent unique directory.There will be loading of some other tools from my application which will also generate some files and there record is also to be maintained in my project file.This project file can be loaded also by my application.

    I could use QSettings way , but the problem is the file extension of QSettings file will be either .ini or .conf, as compared to my project file extension which will be let say .amu.

    I can do this also using XML way.But can any body suggest some other goof way to achieve this functionality.

    Thanks.



  • @raghaw said:

    I could use QSettings way , but the problem is the file extension of QSettings file will be either .ini or .conf, as compared to my project file extension which will be let say .amu.

    You can set the QSettings filename and also extension,

    BTW if you want use a text format suggest to use JSON (I hate XML)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.