Project ERROR: Unknown module(s) in QT: webkitwidgets

后端 未结 6 1011
长发绾君心
长发绾君心 2020-12-04 20:41

I am porting code from qt4 to qt5. I added the following line to my .pro file, as suggested:

QT += webkitwidgets

However, when

6条回答
  •  误落风尘
    2020-12-04 21:32

    You need to install the webkitwidgets library.

    On Ubuntu, try this in a terminal:

    sudo apt-get install libqt5webkit5-dev
    

提交回复
热议问题