lbellonda / qxmledit

QXmlEdit XML editor. Downloads: https://sourceforge.net/projects/qxmledit/files
http://qxmledit.org
Other
164 stars 48 forks source link

libQxmlEdit* exec flag in Linux #72

Closed tieugene closed 4 years ago

tieugene commented 4 years ago

Libfiles installed as executables

lbellonda commented 4 years ago

What kind of qt/sysop version are you using? I am using qmake to generate makefiles. Could you show me the permissions of other libraries derived from Qt applications?

Thank you.

tieugene commented 4 years ago

What kind of qt/sysop version are you using?

Qt5 5.14.2, Fedora Linux 32 x64

I am using qmake to generate makefiles.

Me too. There is no another way here.

Could you show me the permissions of other libraries derived from Qt applications?

Hmm... I used many qt applications (starting from qt-based desktop environment LXQT). But:

lbellonda commented 4 years ago

I think that the installation template is built into qmake. It is possible to specify all the commands of the installation target in the .pro files, however I do not like change the .pro file with a feature that may be invalid in some qt version. I think that the best way to handle this problem is execute a post install script that change the permissions of the libraries before the packaging. What do you think?

tieugene commented 4 years ago

I think that the best way to handle this problem is execute a post install script that change the permissions of the libraries before the packaging.

I do this in may spec file (that used for packaging rpms). But this seems like ~dirty~ hack.

PS. I think the best way is to use cmake, that is more flexible for building process. But it is my own IMHO and no more. Another big problem is shared libs - this thing stops my packaging qxmledit for official Fedora/CentOS repos.

lbellonda commented 4 years ago

Hello, the reason is that I would like to stick with vanilla Qt tools for compatibility reasons.

tieugene commented 4 years ago

This is not sources problem - this is Fedora build system tunes: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/ORKJTONHBKTC6U4HZSXOCX7LGRBDQYZR/