qt - qmake doesn't search library path -
i have .pro file in link libraries using:
libs += -l$${outdir} \ -la \ -lb \ -lc \ i have developed 3 libraries a, b, c , fourth library trying build, call d. libd.so needs link others. since putting under bin directorty, added -l$${outdir} there bin folder finding libraries. outdir variable set equal bin dir , sure correct directory. print message. error libd.so can't find libb.so. confused here, finds other , c, why can't find b? under same directory , adding library path using -l$${outdir}, so. problem?
by way, if delete -l$${outdir} , instead add directory directly ld_library_path, qtcreator projects tab , build configurations, finds libraries correctly.
remove \ after -lc
libs += -l$${outdir} \ -la \ -lb \ -lc
Comments
Post a Comment