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) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -