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
Post a Comment