cmakelists.txt中配置openg环境出现: undefined reference to symbol 'glLightfv'解决方法:在cmakelists.txt添加find_package(Qt5OpenGL) find_package(OpenGL)