qxmledit on Mint 18.2 (same as Ubuntu)

179 views
Skip to first unread message

Marcello Lussana

unread,
Sep 21, 2017, 6:32:38 AM9/21/17
to qxmledit-discuss
hi,

I just managed to compile xqmledit on Mint 18.2, same system as Ubuntu.

QXmlEdit is now located under /opt but I am not able to launch it from the command line.
If i go to /opt and launch it from there i get the following error:
./qxmledit: error while loading shared libraries: libQXmlEditWidget-0.9.8.so.0: cannot open shared object file: No such file or directory
even though that library is there, in the same folder as the qxmledit binary.

How can i fix that?

thanks.

Marcello Lussana

unread,
Sep 21, 2017, 6:39:11 AM9/21/17
to qxmledit-discuss
reading a previous post i found the solution, i post the link in case someone runs into the same issue:
https://github.com/lbellonda/qxmledit/wiki/Running-on-Linux

lbell

unread,
Sep 21, 2017, 2:10:11 PM9/21/17
to qxmledit-discuss

Hello, the default installation uses /opt/qxmledit, then the dynamic libraries should be pointed by a script.

If you instead like to use standard paths for your distribution you can customize the installation by using environment variables that point to your official paths before calling qmake.
In the INSTALL file the variables are documented.

For example if you want to put the executable into a folder 'x'

export QXMLEDIT_INST_DIR=x
./compile.sh
Reply all
Reply to author
Forward
0 new messages