Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图在 mainwindow.cpp 中包含 QtSvg,但是当我编译它时说无法打开包含文件:QtSvg。我已经在我的 *.pro 文件中添加了这个(QT += svg)。我可以知道可能是什么问题吗?
“pro”文件更改后,需要启动qmake。之后就可以编译应用程序了。