INCLUDEPATH in qmake project file doesn't work

前端 未结 12 2092
梦如初夏
梦如初夏 2020-12-06 09:53

I\'ve got a problem with include in a qmake project. In my .pro file I\'ve got:

INCLUDEPATH += \"C:\\OpenCV\\build\\include\"

and in my cpp

12条回答
  •  清歌不尽
    2020-12-06 10:28

    You should use double backslashes when in windows for qt creator with msvc. like this: INCLUDEPATH += C:\\libcurl\\libcurl-vc-x64-release-dll-ipv6-sspi-winssl\\include

    this will fix the problem.

提交回复
热议问题