Windows上编译OBS时遇到问题
Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:
Qt5WidgetsConfig.cmake
qt5widgets-config.cmake
Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
"Qt5Widgets_DIR" to a directory containing one of the above files. If
"Qt5Widgets" provides a separate development package or SDK, be sure it has
been installed.
原因:我是在windows环境变量里设置的QTDIR,结果脚本解析没通过
解决方法:在CMake的编译变量中设定QTDIR