您好,请看下面这个问题,是关于QT connect函数的用法

代码如下,connect(pushbuttonSet,SIGNAL(clicked()),chatform,SLOT(show()));//用关联实现窗口的弹出
//pushubuttonSet是按钮名称,chatform是要弹出的窗口的类
出现错误:expected constructor, destructor, or type conversion before '(' token
按照你的方法改正之后会出现这个问题
错误:'pushbuttonSet' was not declared in this scope

撒科打诨
浏览 202回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP