Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Unable to find .so file in project folder to add it as external library
Forum Updated to NodeBB v4.3 + New Features

Unable to find .so file in project folder to add it as external library

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 3 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Senthilkumar karthikeyan
    wrote on last edited by
    #1

    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.

    jsulmJ 1 Reply Last reply
    0
    • B Offline
      B Offline
      Bonnie
      wrote on last edited by Bonnie
      #12

      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.

      S 1 Reply Last reply
      3
      • S Senthilkumar karthikeyan

        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.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #2

        @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.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Senthilkumar karthikeyan
          wrote on last edited by
          #3

          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

          jsulmJ 1 Reply Last reply
          0
          • S Senthilkumar karthikeyan

            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

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #4

            @Senthilkumar-karthikeyan Are you on Windows or MacOS or Linux?
            What is the exact file name of your lib?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            S 1 Reply Last reply
            0
            • jsulmJ jsulm

              @Senthilkumar-karthikeyan Are you on Windows or MacOS or Linux?
              What is the exact file name of your lib?

              S Offline
              S Offline
              Senthilkumar karthikeyan
              wrote on last edited by
              #5

              @jsulm i am using Linux RHEL os, That is a third party library to read tdms file. TDMSLib.so is the file name.

              jsulmJ 1 Reply Last reply
              0
              • S Senthilkumar karthikeyan

                @jsulm i am using Linux RHEL os, That is a third party library to read tdms file. TDMSLib.so is the file name.

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #6

                @Senthilkumar-karthikeyan Then it should just work. Are you sure you're looking in the correct directory?

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                S 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @Senthilkumar-karthikeyan Then it should just work. Are you sure you're looking in the correct directory?

                  S Offline
                  S Offline
                  Senthilkumar karthikeyan
                  wrote on last edited by
                  #7

                  @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.

                  jsulmJ 1 Reply Last reply
                  0
                  • S Senthilkumar karthikeyan

                    @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.

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #8

                    @Senthilkumar-karthikeyan said in Unable to find .so file in project folder to add it as external library:

                    TDMSLib.so

                    Check its access rights - does your user have at least read access?

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    S 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @Senthilkumar-karthikeyan said in Unable to find .so file in project folder to add it as external library:

                      TDMSLib.so

                      Check its access rights - does your user have at least read access?

                      S Offline
                      S Offline
                      Senthilkumar karthikeyan
                      wrote on last edited by
                      #9

                      @jsulm yes access rights is read and write.

                      jsulmJ 1 Reply Last reply
                      0
                      • S Senthilkumar karthikeyan

                        @jsulm yes access rights is read and write.

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #10

                        @Senthilkumar-karthikeyan Maybe that lib is not compatible? Like 32bit vs. 64bit?

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        S 1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          @Senthilkumar-karthikeyan Maybe that lib is not compatible? Like 32bit vs. 64bit?

                          S Offline
                          S Offline
                          Senthilkumar karthikeyan
                          wrote on last edited by
                          #11

                          @jsulm i tried the library in both 32 bit and 64 bit machine i found the issue in both.

                          1 Reply Last reply
                          0
                          • B Offline
                            B Offline
                            Bonnie
                            wrote on last edited by Bonnie
                            #12

                            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.

                            S 1 Reply Last reply
                            3
                            • B Bonnie

                              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.

                              S Offline
                              S Offline
                              Senthilkumar karthikeyan
                              wrote on last edited by
                              #13

                              @Bonnie Thank you very much what you said is right

                              1 Reply Last reply
                              0

                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups
                              • Search
                              • Get Qt Extensions
                              • Unsolved