[Qt-interest] Windows 7 and VirtualStore woes

Oliver Demetz forenbeitraege at oliverdemetz.de
Fri Sep 11 21:54:37 CEST 2009


Hi all

First of all let me thank you all for this vital discussion on the topic.

I have accepted grudginly that writing to the "Program Files" directory 
is not really liked on Windows. ok.
So I followed Scott Aarons hint to use 
QDesktopServices::storageLocation(QDesktopServices::DataLocation)

BUT:
This still does not give me a location where all system users are 
allowed to write (at least on my Windows 7 RC1 box), it gives me a path 
inside the homedir of the current user!

So my problems would now be solved if I could get somehow the same path 
in the All Users directory tree.

Any idea?


Thanks again in advance,
Oliver



Scott Aron Bloom schrieb:
> You can use the QT method
> QDesktopServices::storageLocation(QDesktopServices::DataLocation ) to
> find a valid data location.. 





More information about the Qt-interest-old mailing list