Unsolved can we add folder of libraries to qt creator? add library only add one library, i have folder with 100 libraries
-
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
-
@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? -
@JonB
thank you for your reply
how can add them to file -
@Majdi
Get the names you want and use a text editor to edit the.pro
file and paste in? -
@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 . . . . . -lLib100if 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
-
@anil_arise
thank you very much