c++ - QDesktopServices::storageLocation returns admin folder after elevating program -


parts of application suite (client + updater) needs administrator rights correct behaviour. client application uses qdesktopservices::storagelocation() in various places correct user profile path saving user specific data. im using qdesktopservice::storagelocation() in elevated application path changes admin user, makes difficult control.

like "c:\users\basic_user\appdata\local" "c:\users\admin\appdata\local".

is there way deal qt or possibility use winapi?

what "right way" when facing scenario of having elevated app 1 still needs operate in user space.

regards, adrian


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -