[Qgis-user] QGIS and Windows Registry
Tim Sutton
lists at linfiniti.com
Wed May 13 22:40:58 PDT 2009
Hi Andreas
Andreas Neumann wrote:
> Hi,
>
> I have a quick question about QGIS-Settings on Windows. The QGIS manual
> writes that the settings are in the registry at
> \\HKEY\CURRENT\USER\Software\QuantumGIS\qgis
>
> My question is if this applies both to the native Windows port and to the
> OSGeo4W port? Are both using the same places to store settings?
They are pretty much the same thing, both built on MSVC, just packaged
differently. Even the mingw builds (if someone picks them up again)
should write to the same registry location.
>
> In the manual there seems to be a slight mistake:
>
> \\HKEY\CURRENT\USER\Software\QuantumGIS\qgis
> should actually be
> \\HKEY_CURRENT_USER\Software\QuantumGIS\qgis
>
> Note the underscores instead of the backslashes.
>
> On one of my Windows machines (with reduced user rights) storing the
> settings doesn't work. I wonder if our sysadmins disabled write-access to
> the Registry, since I can't find
> \\HKEY_CURRENT_USER\Software\QuantumGIS\qgis after starting and closing
> QGIS.
There is actually a possibility in Qt4 to write settings to somewhere
other than the registry (using similar approach to linux and mac),
though you have to do extra work to get that and writing to the registry
seems to be the standard for win so it probably makes more sense.
Regards
--
Tim Sutton - QGIS Project Steering Committee Member (Release Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.
Visit http://linfiniti.com to find out about:
* QGIS programming and support services
* Mapserver and PostGIS based hosting plans
* FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================
More information about the Qgis-user
mailing list