Qt creator Adding external library (still: Cannot open include file: 'GL/glew.h')

前端 未结 4 605
借酒劲吻你
借酒劲吻你 2020-12-30 10:26

I followed the instruction:

  1. In the Projects pane, open the project file (.pro).
  2. Right-click in the code editor to open the context menu and select Add
4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-30 11:00

    1. Open .pro file with Editor
    2. Add directory of library in INCLUDEPATH += section

     Append ` \` at the end of library path 
    
    1. Go to Build > Run qmake

    1. Check if library has been included .

提交回复
热议问题