Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, May 2007
QSettings bug?


Message 1 in thread

Hi,

I'm seeing this on linux.  If I set the
SystemScope path in QSettings, it seems
to obliterate the UserScope path.  But
I can work around it by subsequently
setting the UserScope path explicitly:

QSettings::setPath(QSettings::NativeFormat,
                   QSettings::SystemScope,
                   myInstallPath);

// User files written to current directory
// unless I add the following:
QString homePath = QDir::homePath() + QString("/.config");
QSettings::setPath(QSettings::NativeFormat,
                   QSettings::UserScope,
                   homePath);

Obviously it's not urgent since it's easy
to work around.

Thanks,

Joe Newman
Synopsys, Inc.





To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx