Message 3 in thread
* Subject: Re: QSettings path for Ini files.
* From: Jasmin Blanchette <jasmin@xxxxxxxxxxxxx>
* Date: Wed, 05 Jan 2005 14:55:33 +0100
* Cc: qt4-preview-feedback@xxxxxxxxxxxxx
* Organization: Trolltech
* To: porten@xxxxxxxxxxxxx
Harri Porten wrote:
> I think it would be highly preferable if the same directory and files were
> used as users upgrading their application would otherwise lose all their
> settings. After an initial learning experience we decided not to annoy
> users with redoing their customization after an upgrade.
This is hardly possible. The way Qt 3 used INI is very different to what
Qt 4 does. For example, Qt 3 represented QStringLists as
"item1\eitem2\e...\eitemN", where \e is the escape character. This is
neither the standard INI way of doing things nor a recommendable format
for Qt 4.
In other words, applications that want to reuse the Qt 3 settings should
load the settings using Q3Settings and save them again using QSettings.
...
Jasmin
Bookmarks