Solved Unable to find .so file in project folder to add it as external library
-
While trying to add external library for my Qt project i am unable to see the particular .so file in options for selecting, But i have copied the particular .so library file in my project folder. Can anyone suggest me what could be the issue.
-
Seems like that the nameFilters for Linux libraries is "lib*.so;lib*.a".
So the dialog will only show those files with a "lib" prefix by default. -
@Senthilkumar-karthikeyan said in Unable to find .so file in project folder to add it as external library:
in options for selecting
What do you mean? "Add Library" dialog?
Please explain better. -
Yes in add library dialog while choosing browse button to select the .so library file i could not find my .so file though it is there in project folder
-
@Senthilkumar-karthikeyan Are you on Windows or MacOS or Linux?
What is the exact file name of your lib? -
@jsulm i am using Linux RHEL os, That is a third party library to read tdms file. TDMSLib.so is the file name.
-
@Senthilkumar-karthikeyan Then it should just work. Are you sure you're looking in the correct directory?
-
@jsulm yes i am looking in the correct directory. For testing i add another .so file in the same location i am able to see that file but i am unable to see TDMSLib.so file alone.
-
@Senthilkumar-karthikeyan said in Unable to find .so file in project folder to add it as external library:
Check its access rights - does your user have at least read access?
-
@jsulm yes access rights is read and write.
-
@Senthilkumar-karthikeyan Maybe that lib is not compatible? Like 32bit vs. 64bit?
-
@jsulm i tried the library in both 32 bit and 64 bit machine i found the issue in both.
-
Seems like that the nameFilters for Linux libraries is "lib*.so;lib*.a".
So the dialog will only show those files with a "lib" prefix by default. -
@Bonnie Thank you very much what you said is right