installation - How to globaly add library path to QT creator? -



installation - How to globaly add library path to QT creator? -

i have qt5 installed on external usb hard drive. in pro file, initially, have no -l library paths when compile automaticly places

-l/media/usbexternaldrive/designtools/qt5.3/5.3/gcc_64/lib

when compiles. need have search -l/usr/lib , not have add together libs += -l/usr/lib .pro file every project. have looked @ options unable find place insert library search path whole qt creator programme project in place. ideas on how this?

so here found out , seems of fixed this. don't think

/usr/lib

was beingness searched linker. don't know why. may because had qt5 installed on external hard drive connected usb 3.0 port. after manually adding

-l/usr/lib

to .pro file able compile fine , find

libgl.so

. trying recreate problem when remove

-l/usr/lib

from .pro file can still compile. can create projects , linker searches , find library fine. not sure why works does. assume has more in create file scheme understand.

qt installation

Comments

Popular posts from this blog

c# - ASP.NET MVC Sequence contains no matching element -

java - Parsing XML, skip certain tags -

rest - How to invalidate user session on inactivity in a stateless server? -