Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt Creator "Cannot create file (...) qtcreator.xml" (Mac)

Tags:

qt

qt-creator

Qt Creator starts up with several error messages saying that: "Cannot create file /Users/[username]/.config/Nokia/qtcreator.xml: Permission denied"

And when I exit: "Cannot create file /Users/[username]/.config/Nokia/toolChains.xml: Permission denied"

The program runs fine, but I guess it won't be able to store any config. Anyone know how to fix this?

like image 260
grim Avatar asked Sep 23 '11 13:09

grim


1 Answers

As has been mentioned in the comments, it looks like the Qt installer adds the configuration directories with root as the owner. To fix this, run:

sudo chown -R `id -un`:staff ~/.config/Nokia/
like image 70
Tim Swast Avatar answered Nov 17 '22 04:11

Tim Swast