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

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -