c++ - Ubuntu Qt link boost log -


i try link boost 1.55 log library qt *.pro file.

includepath += $$system(echo ${boost_include_dir})   libs += -l$$system(echo ${boost_lib_dir})  libs += -lboost_system -lboost_filesystem -lboost_thread -lboost_log 

i reference error boost log , because didn't define

-dboost_log_dyn_link 

can tell me how define inside *.pro file?

in cmake file can use: add_definitions(-dboost_log_dyn_link)

what corresponding command in qmake?

use defines:

defines += boost_log_dyn_link 

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -