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. can we add folder of libraries to qt creator? add library only add one library, i have folder with 100 libraries
Forum Updated to NodeBB v4.3 + New Features

can we add folder of libraries to qt creator? add library only add one library, i have folder with 100 libraries

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 578 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.
  • M Offline
    M Offline
    Majdi
    wrote on last edited by Majdi
    #1

    can we add folder of libraries to qt creator? add library only add one library, i have folder with 100 libraries. for example point cloud libraries pcl, and also vtk libraries

    JonBJ 1 Reply Last reply
    0
    • M Majdi

      can we add folder of libraries to qt creator? add library only add one library, i have folder with 100 libraries. for example point cloud libraries pcl, and also vtk libraries

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Majdi
      If you really have a folder containing 100 libraries (surprises me), Qt Creator only saves the .pro file as its state, so why not add them into the file instead, using whatever to get a list of all the ones you want?

      M 1 Reply Last reply
      0
      • JonBJ JonB

        @Majdi
        If you really have a folder containing 100 libraries (surprises me), Qt Creator only saves the .pro file as its state, so why not add them into the file instead, using whatever to get a list of all the ones you want?

        M Offline
        M Offline
        Majdi
        wrote on last edited by
        #3

        @JonB
        thank you for your reply
        how can add them to file

        JonBJ A 2 Replies Last reply
        0
        • M Majdi

          @JonB
          thank you for your reply
          how can add them to file

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @Majdi
          Get the names you want and use a text editor to edit the .pro file and paste in?

          1 Reply Last reply
          0
          • M Majdi

            @JonB
            thank you for your reply
            how can add them to file

            A Offline
            A Offline
            anil_arise
            wrote on last edited by anil_arise
            #5

            @Majdi in .pro file add like this

            win32:CONFIG(release, debug|release): LIBS += -L path_to/External_Libraries/ -lLib1 . . . . . -lLib100
            else:win32:CONFIG(debug, debug|release): LIBS += -L path_to/External_Libraries/ -lLib1 . . . . . -lLib100
            else:unix: LIBS += -L path_to/External_Libraries/ -lLib1 . . . . . -lLib100

            if all 100 libraries are at same location
            else you need to add each single line for each different located libraries.

            this screenshot is using of pcl and vtk libraries on linux based and added in .pro file
            Screenshot_2020-03-04_15-14-00.png

            M 1 Reply Last reply
            1
            • A anil_arise

              @Majdi in .pro file add like this

              win32:CONFIG(release, debug|release): LIBS += -L path_to/External_Libraries/ -lLib1 . . . . . -lLib100
              else:win32:CONFIG(debug, debug|release): LIBS += -L path_to/External_Libraries/ -lLib1 . . . . . -lLib100
              else:unix: LIBS += -L path_to/External_Libraries/ -lLib1 . . . . . -lLib100

              if all 100 libraries are at same location
              else you need to add each single line for each different located libraries.

              this screenshot is using of pcl and vtk libraries on linux based and added in .pro file
              Screenshot_2020-03-04_15-14-00.png

              M Offline
              M Offline
              Majdi
              wrote on last edited by
              #6

              @anil_arise
              thank you very much

              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