qt library output in Linux system
-
If you build the library project in Windows, dll or lib file is output.
In addition, pdb, exp, and ilk files appear, but they are not important files for execution.When you build a library project in Linux, .so files appear, so, so.1, so.1.0, so.1.0.0 files appear.
The problem is, I want to distribute only the important files for execution, but can you tell me which files are necessary for execution?
I tested it while deleting them one by one, but even if I only have the so.1.0.0 and so.1.0 files, there doesn't seem to be any problem with running
Is there any way to distribute it as a single file? -
@IknowQT said in qt library output in Linux system:
Is there any way to distribute it as a single file?
Yes, find out which library file name exactly your app links against:
ldd YOUR_APP_EXE
The above command will print all libs your executable depends on.
Be aware that your app can link against a specific version of the lib which is then often a symbolic link to the actual library file. -
This post is deleted!
-
@anil_arise Yeah, you're right. Missed the last sentence.