Open tieugene opened 4 years ago
Hello, you can use environment variables or qmake command line arguments to customize build to avoid patching project. See scripts/linux/compile_override.sh for an example of command line parameters.
Hello, you can use environment variables or qmake command line arguments to customize build to avoid patching project.
I know. But this is not user-friendly. Best way - nothing to add at all (for Linux): qmake [PREFIX=/usr] && make && make install And each thing must be in right place according to LSB (Linux Standard Base) - RTFM FHS.
See scripts/linux/compile_override.sh for an example of command line parameters. This script is under git control, so rewriting it will give a conflict during future
git pull
.
You can use variables for macOS or Windows, but there is no sense to do this in Linux.
But if you want to make "isolate application" in /opt - no problem. BUT - you must a) provide good integration (library paths, desktop entries etc) and b) bundle all of wanted libs (e.g. whole of linked qt5 :-)
@tieugene If you would like to avoid compiling yourself and are on a Linux distribution that supports Snaps I currently maintain a Snap of QXmlEdit that you could install.
@tieugene If you would like to avoid compiling yourself and are on a Linux distribution that supports Snaps I currently maintain a Snap of QXmlEdit that you could install.
As on my fast sight Snap is a) Ubuntu thing and b) provides including all dependencies into "package". 1st is not great problem but 2nd is directly deprecated in Fedora packaging policy. But thank for advice.
@tieugene Sorry if I offended you. Snaps do not use another packaging system not the distributions normal packaging system. They use snapd. Very easy to install and uninstall programs in case you wanted to try it. How to install qxmledit on Fedora
The request from tieugene is legitimate, providing native packages for Fedora. Since the variation will introduce a change to other distro maintainers, I think to postpone it and to join it with other install redesigns.
Patch that I use (Note: /usr/lib or /usr/lib64 depends on architecture and/or distributive):