setting libs for different targets
Solved
General and Desktop
-
Hi All,
I have a project which has two targets, one for an intel x86 linux desktop and one for an arm based embedded linux.
There are two libs which I want to use, ncurses and tinfo.
The question is that, how can I set the different path of these libs in my .pro file, when I change target in qt creator?Manually I make it like this:
unix:!macx: LIBS += -L/home/zamek/embedded/wandboard/rootfs/current/lib/arm-linux-gnueabihf -lncurses -ltinfo
#unix:!macx: LIBS += -lncurses -ltinfo
thx,
Zamek -
Hi,
You could use the
linux-arm*
scope for that path. -
-
You're welcome !
Since you have it working now, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)