эта ошибка вылезает когда я пытаюсь задекларировать в заголовочном файле
QMessageBox *mbox;
а вот сам
mbox:QMessageBox* mbox = new QMessageBox
(QMessageBox::setWindowTitle("&Database Info"),
QMessageBox::setIconPixmap("Icon1.jpg"),
QMessageBox::setInformativeText("Database Info"),
QMessageBox::setText("This database of impact craters was initially"\
"created as part of the Lunar Exploration Summer Intern Program at the Lunar"\
"and Planetary Institute in 2008 (updated in May 2011). The foundation for"\
"this work is a database compilation by Jonathan McDowell <a>"\
"(
http://host.planet4589.org/astro/lunar/Craters)<a>, which was found to be"\
"the most complete of those available. The database was expanded by adding"\
"information about ages of chosen craters (from Wilhelms, 1987, and Wilhelms"\
"& Byrne, 2009) as well as calculating several physical characteristics of"\
"the craters (e.g., ejecta blanket thickness, volume of crater, volume of"\
"melt, excavation depth) based on published scaling equations. Thus,"),
QMessageBox::setInformativeText("only"\
"the crater coordinates, diameter, measured depth, measured central peak"\
"height, and stratigraphic age were determined from images and/or maps"),
QMessageBox::setText("while the rest of the columns give theoretically expected values."),
);
int n = mbox->exec();
delete mbox;