How do I include muparser library in my Qt project? -


i made muparser.pri had following content,

macx|win32|equals(build_muparser, "true")|!packagesexist(muparser){     message("using bundled muparser")         muparser_dir = src/rel/muparser         dependpath += $$muparser_dir/include \                               $$muparser_dir/src        includepath += $$muparser_dir/include        gen_lib_dir = ../../generated/lib        libs += -l$$gen_lib_dir -lmuparser        pre_targetdeps += $$gen_lib_dir/libmuparser.a }else{     message("using external muparser")       config += link_pkgconfig       pkgconfig += muparser } 

i, then, added

include(./muparser.pri) 

in application's make file.

this gave me error ":-1: error: no rule make target '../../generated/lib/libmuparser.a', needed 'debug/akaar1.exe'. stop."

what did wrong? how else supposed include library in project?

in .pro file can do:

libs += -l*path library* -l*library name: foo libfoo.a* 

Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -