Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to use custom library?
paulwarburg last edited by
I have create a lib in my project. When compile it, I got successful. But when I run it, I got a problem like that:
@./testfancylineedit: error while loading shared libraries: libUtils.so.1: cannot open shared object file: No such file or directory
I don't know how to fix it. Please help me and give a tutorial about using custom library. Thank you all.
Your library cannot be found by the loader. Since you're on linux you can update the LD_LIBRARY_PATH environment variable to point where that lib can be found.
You can do that in the run settings from the project panel in QtCreator.
Hope it helps