热门

最新

红包

立Flag

投票

同城

我的

发布
danteliujie
danteliujie
5 年前
truedanteliujie

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

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
立即登录