PDA

View Full Version : Config file parsing



Vash5556
9th September 2006, 22:22
Alright i have been looking through here with not too much luck on parsing a config file. I have figured out that I can parse it between the '=' sign which is origianally what i wanted to do. The only problem is I have no idea where to start looking to do something like that. If anyone could point me in the right place it would be greatly appreciated. Example code of the such would be appreciated also if you are willing to contribute. Thanks in advance.

-Vash

jacek
9th September 2006, 23:01
If your config files are in INI format, then QSettings will handle them for you. Otherwise you will find QRegExp helpful.

Vash5556
11th September 2006, 00:11
Thanks for the timely response. Ive finally been able to push out my first beta using Qt for our project at school. Thanks for pointing me in the right direction.

-Vash