How do I use the Boost libraries in a qmake project?

前端 未结 2 1859
说谎
说谎 2021-01-31 06:21

Some days ago I compiled Boost ver. 1.53.0 for VS2012. It works fine, compiles fine. Now I want to use Boost with Qt Creator. In the .pro file I\'ve included

2条回答
  •  既然无缘
    2021-01-31 07:09

    win32 {
        INCLUDEPATH += C:/Users/User/Downloads/dev/boost_1_61_0
        LIBS += "-LC:/dev/Boost/lib/" \
        "-Llibboost_filesystem-mgw53-mt-d-1_61.a", "-Llibboost_system-mgw53-mt-d-1_61.a", "-Llibboost_serialization-mgw53-mt-d-1_61.a" -LLIBS
    
    }
    

提交回复
热议问题