在Qt designer 里面,我在mainwidnow上添加一个Webview
编译就出错了。
提示如下
E:/QT_learn/ComputerAssistant/ComputerAssistant/function.cpp:56: undefined reference to `_imp___ZN8QWebViewC1EP7QWidget'
E:/QT_learn/ComputerAssistant/ComputerAssistant/function.cpp:56: undefined reference to `_imp___ZN8QWebView6setUrlERK4QUrl'
:-1: error: collect2: ld returned 1 exit status
只要把Webview删除掉就没事了,不知道为什么不行。大家帮帮忙。网上根本搜不出同类问题