Unsolved how to give the multiple lib paths in qt.config file
-
hii all,
how to give the multiple lib paths in qt.config file
thx -
@Rajashekara-V I guess you separate the different folders using : on Linux/Mac and ; on Windows?
-
HI
I wonder if that is supported.
At least the https://doc.qt.io/qt-5/qlibraryinfo.html
provides no way to get a list of locations.So im not sure Qt will get it right if you add multiple but
please try as @jsulm suggests and see if it gets it :) -
hii @jsulm
i have two saparate library are located at different place on windows system ,i want to give to libs paths in qt.conf files .
how can i give the two lib paths ?i have lib one located at C:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x86 ,
second one located at D:/local/Qt_5.12.2_VC15T/lib
for example :=Libraries = ?
-
@Rajashekara-V As I said: try to use the separator.
Libraries = C:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x86;D:/local/Qt_5.12.2_VC15T/lib
I'm wondering why you need these paths actually? Why don't you do a proper deployment of your app instead?
-
@Rajashekara-V said in how to give the multiple lib paths in qt.config file:
i have lib one located at C:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x86 ,
second one located at D:/local/Qt_5.12.2_VC15T/libThese are the paths for
.lib
files, they should be used in linking, not forqt.conf
which is used byQLibraryInfo
in runtime... -
Hii @jsulm I tried but ";" semicolon separate not working , qt kit is look the libs path of some other deferent dir.
-
hii @Bonnie ,
i create the qt.conf file and in this file ,i wrote Libraries variable and adding the two libs path ,i want look the qt kit given two different libs path while compile time small program . -
@Rajashekara-V
Again, windows sdk lib path is not supposed to be in anyqt.conf
. I don't know why are you trying to do that.
In Qt creator, a MSVC kit should get the vc&windows lib paths from enviroment variables after its compiler's initialization, not fromqt.conf
.