Parsing custom config files



  • Hi all,

    This isn't per-say a specific QT question, but hey ho. I have a custom configuration file that looks something like this:

    @[tag]
    #comment
    [tag]
    [tag /]
    [/tag]
    [/tag]
    @

    An I was wondering if any one had any ideas on how I could turn this into a qAbstractTree.



  • Why create a custom config file? Why not use QSettings? It's pretty good at creating config files and you don't have to worry about parsing them.


Log in to reply
 

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