QPaintDevice, strange error

Mystical Groovy djzet1 at otenet.gr
Tue Dec 4 22:24:27 GMT 2007


Good evening everyone.

Heres my error,

Im writing C++ using KDE 3.5.7 and KDevelop 3.4.1

my qt application is compiling ok, but when i try to run it
i get the strange message after i construct a qdialog for using with a 
button

"QDialog *Dialog1 = new QDialog(0,"popup", FALSE);
void DialogWidget::button1_clicked()
{
Dialog1->show();
}
"

this is the message im getting:
"QPaintDevice: Must construct a QApplication before a QPaintDevice"

Thank you for your time.





More information about the KDevelop mailing list