I created a simple program for Linux in QtCreator that links to some libraries. Initially it wouldn't run through QtCreator because it couldn't find the libraries, so I put all the required libs in the project directory, where the executable is. By doing this, the program runs through QtCreator, but when I try to run the program in the terminal, it says that it cannot find the libraries.
I don't get this. The libraries are in the same directory as the executable, and it works through QtCreator, so why can't the program find them when running through the terminal?
Any help would be greatly appreciated.
Bookmarks