Conditionally disable warnings with qmake/gcc?

后端 未结 5 1133
予麋鹿
予麋鹿 2021-01-02 22:20

I am involved with a software project written in Qt and built with qmake and gcc on Linux. We have to link to a third-party library that is of fairly low quality and spews

5条回答
  •  心在旅途
    2021-01-02 22:55

    What if you include your library using -isystem.

    In the project file e.g.:

    QMAKE_CXXFLAGS += -isystem /usr/local/boost_1_44_0
    

提交回复
热议问题