qgo icon indicating copy to clipboard operation
qgo copied to clipboard

No app should install anything to root

Open danielb2 opened this issue 10 years ago • 6 comments

/boardtextures/ and /sounds/ is violating this. Any reason to do this?

danielb2 avatar Feb 05 '15 19:02 danielb2

Works for me on Ubuntu 14.10. On which platform do you see this behaviour?

pzorin avatar Feb 06 '15 17:02 pzorin

OSX installed it to root

danielb2 avatar Feb 06 '15 17:02 danielb2

I suspected that, the variables QGO_INSTALL_PATH and QGO_INSTALL_BIN_PATH in qgo/src.pro are not set for mac os x. You can try setting them to whatever is appropriate. I can't be of much help since I do not use mac os and don't know its conventions.

pzorin avatar Feb 06 '15 17:02 pzorin

Follows the same conventions as FreeBSD and most UNIX. It should be installed in /usr/local

Does that help?

danielb2 avatar Feb 06 '15 18:02 danielb2

You can try replacing unix_:!macx-_ { in src.pro by macx-* { Then everything will be installed to /usr/share. It seems however that qt applications are supposed to be deployed as something called "bundles" on mac os, and I am not really interested in learning how that works.

pzorin avatar Feb 07 '15 13:02 pzorin

When the app is compiled, the result is qgo.app. It appears to be the whole self-contained app already. I deleted the other folders which had no noticeable impact, but I couldn't connect to a server and play so I couldn't tell for sure. Regardless, this is probably the "bundle" it's referring to.

danielb2 avatar Feb 07 '15 16:02 danielb2