this code is correct, but It will not run ?
Hello,this code is correct, but it do not run. why?
Code:
#include <QtWidgets>
#include <QtGui>
int main(int argc, char* argv[])
{
&dlg);
btn->setCheckable(true);
lay->addWidget(btn);
dlg.setExtension(ext);
QObject::connect(btn,
SIGNAL(toggled
(bool)),
&dlg, SLOT(showExtension(bool)));
dlg.exec();
return app.exec();
}
the error is:
cannot open output file debug\untitled121.exe: Permission denied
collect2.exe: error: ld returned 1 exit status
Re: this cod is correct, but it do not run?
Close the running application before building it again.