You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
USTC_CGr\Homeworks\1_MiniDraw\documents\下的项目编译后报错未发现Widgets目录下的头文件,错误信息如下fatal error C1083: 无法打开包括文件: “QtWidgets/QMainWindow”: No such file or directory
USTC_CGr\Homeworks\1_MiniDraw\documents\
下的项目编译后报错未发现Widgets目录下的头文件,错误信息如下fatal error C1083: 无法打开包括文件: “QtWidgets/QMainWindow”: No such file or directory
对比编译成功的hello项目并查询
Ubpa_AddTarget
的定义,发现USTC_CG\Homeworks\1_MiniDraw\documents\example\src\example\CMakeLists.txt
有误Ubpa_AddTarget(MODE "EXE" QT ON LIBS "Qt5::Widgets")
中的LIBS
应改为LIB
修改后编译通过
The text was updated successfully, but these errors were encountered: