Important: Please read the Qt Code of Conduct -

QWebView not recognized as type

  • Hello everyone, I did some searches to find a solution to my problem but have found none. My issue is, as the title states, that QWebView is not recognized as a type.

    I added "webkit" (without the quotation marks) to the project file and tried including either QWebView and QtWebKit, though not concurrently. Now, I can use QWebPages but not QWebViews. When I try to include QWebView I get an error stating "no such file."

    I am currently using Qt 5.0 from the installer. Thanks for any help.

  • Never mind, I found the answer through searching for related topics in the forum. I just had to include "webkitwidgets," not "webkit."

Log in to reply