- 
UID:146243 
 
- 
- 注册时间2013-09-26
 
- 最后登录2019-05-21
 
- 在线时间27小时
 
 
 
- 
- 发帖9
 
- 搜Ta的帖子
 
- 精华0
 
- 金钱80
 - 威望18
 - 贡献值0
 - 好评度8
 
 
 
- 
访问TA的空间加好友用道具
 
 
 
 
 
 
  
 
 | 
 
 
请求帮助,在Qt 5.3的情况下,使用QHBoxLayout 编译错误,错误代码是:constructor 'Widget::Widget(QWidget*)':error: cannot allocate an object of abstract type 'QHBoxLayout'
 - Widget::Widget(QWidget *parent)
 -     : QWidget(parent)
 - {
 -     QHBoxLayout* layout = new QHBoxLayout;
 -     setLayout(layout);
 - }
 
 代码很简单 不知道为什么 
 
 
 |