I compiled Qt5 statically in Debian 7.1. I get this error when I tried to execute my app in Debian 5:
Qt Code:
error while loading shared libraries: libxcb-glx.so.0: cannot open shared object file: No such file or directoryTo copy to clipboard, switch view to plain text mode
If I installed libxcb-glx package in Debian 5 error was gone. But I do not want this. My app should work in Debian 5 without installing any file.
Then I right-click my project title and select Add Library. There are 4 option in menu and I try all of them. Everytime my app gave same error.
So how can I add system libraries statically to my project?
Thanks.
Bookmarks