libQt5core.so.5: cannot open shared object file
-
Hello everyone,
I have an application written and compiled in Qt Creator. It does run on Linux and work as intented on my own computer with installed Qt SDK.
I want to move the application to another computer/server with Linux OS and run it. But I get an error message:
"...error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory..."
How can I solve this problem? In Windows I could add some DLL files to bin folder of my application und run it. Is there a similar approach for Linux OS?
Thanks in advance.
-
@risob
Hello,How can I solve this problem? In Windows I could add some DLL files to bin folder of my application and run it. Is there a similar approach for Linux OS?
You can, see the relevant Linux deploy page in the docs.
Usually, I'd prefer to "require" the user to install Qt 5 from their distro's repository though.Kind regards.