Home > Mobile >  Read ini section want to in the original order, but read it is alphabetical order
Read ini section want to in the original order, but read it is alphabetical order

Time:04-23

I use QSettings childgroups get section is not in accordance with the order of the original document, but sorted in alphabetical order, how can we get the document of the original order?

CodePudding user response:

Then you use Windows API to read it GetPrivateProfileSectionNames should be sequentially all section connect string need their truncation

CodePudding user response:

Thank you, I have a try
  •  Tags:  
  • Qt
  • Related