Even true on Windows
Well, on anything newer than Windows 98 and when not running with Administrator rights.
You can do that, e.g. when building using Q_OS_MAC, Q_OS_WINDOWS, etc. but I wouldn't recommend it until you really have to. Makes it a lot harder to maintain.
Not sure what you mean by that?
Checking if you can write a file? QFileInfo::isWritable()
Ask the user for elevated rights? No cross-desktop way to do that and likely very unnecessary.
Cheers,
_
Bookmarks