找回密码
 立即注册
收起左侧

webengine的例子编译报错

3
回复
8464
查看
[复制链接]
累计签到:3 天
连续签到:1 天
来源: 2016-4-4 23:20:20 显示全部楼层 |阅读模式
2Qter豆
在QT Creater 上看到的例子 demobrowser

编译报这个错,请问是什么原因,谢谢了。
Could not find qmake configuration file default.Error while parsing file D:\Qt\Examples\Qt-5.6\qtwebengine\webenginewidgets\demobrowser\demobrowser.pro. Giving up.
Project ERROR: Unknown module(s) in QT: webenginewidgets

回复

使用道具 举报

累计签到:956 天
连续签到:1 天
2016-4-5 09:35:42 显示全部楼层
没有加载webengine模块,,,
参与人数 1人气 +1 收起 理由
malotus + 1 说具体点更好啊。我是初学者

查看全部评分总评分 : 人气 +1

回复

使用道具 举报

累计签到:3 天
连续签到:1 天
2016-4-5 10:08:07 显示全部楼层
怎么操作,大神再赐教
回复

使用道具 举报

累计签到:956 天
连续签到:1 天
2016-4-6 08:53:21 显示全部楼层
Detailed Description

To include the definitions of the module's classes, use the following directive:

#include <QtWebEngineWidgets>
To link against the module, add this line to your qmake .pro file:

QT += webenginewidgets
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

公告
可以关注我们的微信公众号yafeilinux_friends获取最新动态,或者加入QQ会员群进行交流:190741849、186601429(已满) 我知道了